-
|
When my helm chart deployment labels are changed, HelmRelease is broken. apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: rammus-vector
namespace: logging-nonprod
spec:
...
upgrade:
force: trueI also find this comment for Kustomize, so, I'm wondering if HelmRelease support recreate resource which is caused by Full error message: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
|
depending on the release and what you might lose I'd just remove the deployment, push, waiting for the resources to clean up and activate the release again this is common also for example when helm charts upgrade themselves or their dependencies to an incompatible version that requires redeployments |
Beta Was this translation helpful? Give feedback.
-
|
It does, which means a different thing than |
Beta Was this translation helpful? Give feedback.
spec.upgrade.forceshould use the Replace strategy according to this doc:Were you able to get this working?It does, which means a different thing than
delete and recreate– replace is patch, which still cannot update immutable fields. (differs fromkubectl replace --forcewhich actually does a delete and recreate when needed)