-
Notifications
You must be signed in to change notification settings - Fork 306
No option to override the chart name in the helm release #310
Comments
I'm experiencing this same issue. When running |
Hey @andrewschmidt-a and @joe-bethke! Unfortunately this isn't a scenario we support today. However, as a workaround, you can consider using separate charts for each service, but still retain the ability to deploy them together by defining a "parent chart". In your "parent chart", you can define a |
Hi @DrEsteban, thanks for responding on this. Regarding the workaround you suggest, in our case it turns out we actually already utilize a "parent chart" (let's call it the So, taking your suggested workaround as inspiration, I am re-configuring my Do you know if this approach has any hope of working? I am trying it and am running into problems, and it might be because I have no way in the |
@kyleestes Unfortunately I'm not sure that type of strategy will work :( The root of the issue is that we derive/identify releases based on the Chart.yaml's That said, we've logged an internal issue to look at ways we can better support this scenario; perhaps with some sort of "nameOverride" field in the |
@DrEsteban thanks for the response, it is as I suspected. I appreciate you all looking into this issue. A suggestion for the property you might add to Is there any way I could assist or accelerate implementing this field? If there is an open-source repository to which I can contribute, I'd be happy to do so. Right now, our use of Dev Spaces is largely on hold because of this, short of taking our common Helm chart, copy-pasting it 8 times (that is how many services we have), and then setting |
@kyleestes Great suggestions! I've copied those comments to our internal bug. Thanks so much for the offer, but unfortunately our product code isn't open source. We will be sure to take the fact that you're blocked into account, though, when prioritizing. |
@kyleestes and all, one last suggestion to hopefully unblock you from taking advantage of Dev Spaces: We have preview functionality we refer to as "Connect" that may allow you to workaround this incompatibility with your Helm chart structure. Unlike our traditional scenario, where your chart is deployed with our tooling and builds/runs directly on the cluster, this functionality "connects" your dev machine as a "Pod" in the cluster - proxying inbound and outbound calls and allowing you to build/run your application code natively on your dev machine. There are various options for how to connect, but all of them should allow you to workaround your current issue. Please let us know if you have any questions or run into any issues with this approach! |
Sounds good, thanks for taking this into consideration! |
Describe the bug
A clear and concise description of what the bug is.
When using multiple services that share the same chart directory (common method of deployment) the release names when you execute azds up will be the same.
To Reproduce
Steps to follow to reproduce this issue.
Expected behavior
A clear and concise description of what you expected to happen.
I would expect that the release names would be unique
Logs
Attach logs from the following directory:
For Windows: %TEMP%/Azure Dev Spaces
For OSX/Linux: $TMPDIR/Azure Dev Spaces
Using dev space 'andrew' with target 'crsliot-aks-dev'
Synchronizing files...37s
Installing Helm chart...
Release "azds-200cac-andrew-mmm-iot-service" has been upgraded.
LAST DEPLOYED: Mon Apr 6 19:10:59 2020
NAMESPACE: andrew
STATUS: DEPLOYED
RESOURCES:
Environment Details
Client used (CLI/VS Code/Visual Studio):
Client's version:
Operating System:
Azure Dev Spaces CLI
1.0.20190514.3
API v3.2
Additional context
Add any other outputs from the clients or context you would like to share.
The text was updated successfully, but these errors were encountered: