'Release [] in namespace [] already exists but is not managed by the current context. Applying changes will likely cause conflicts
Is there any way to manage existing helm releases with helmsman which are deployed using helm ? Consider we have a release which is deployed with below command:
helm install my-release repo/chart
Now we want update my-release using helmsman without deleting existing release. Is it possible?
Solution 1:[1]
I had a similar issue and the solution was to set the context via helmsman first and then the apply worked, no need to delete the existing release.
For example:
- This will set the release context for whatever the value of the property context is in the
app.yaml
file
$ cat app.yaml
contex: foo
[...]
$helmsman -f app.yaml --migrate-context
- after this the context will be set to foo in the helm release and you can use helmsman again
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Antonio |