Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

controller: reset field managers for v2beta1 #850

Closed
wants to merge 1 commit into from

Conversation

hiddeco
Copy link
Member

@hiddeco hiddeco commented Dec 14, 2023

@hiddeco hiddeco force-pushed the reset-field-managers branch 2 times, most recently from 008b887 to 9a03dcd Compare December 14, 2023 15:32
Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks @hiddeco I've tested this on Kubernetes 1.29.0 and after the upgrade a force reconcile is no longer needed.

The requirement is to bump the apiVersion and to add an annotation or change an existing field in spec e.g. interval to force the Kubernetes API to move the HelmRelease field managers to v2beta2.

Example:

apiVersion: helm.toolkit.fluxcd.io/v2beta2 # <- bump from v2beta1
kind: HelmRelease
metadata:
  annotations:
    fluxcd.io/upgradeTo: "v2beta2" # <- add annotation 

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flux v2.2 requires an upgrade of HelmReleases before utilising new features
2 participants