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

[ Reconciling values that are not mentioned in git] #5021

Open
1 task done
omar-triguii opened this issue Oct 2, 2024 · 3 comments
Open
1 task done

[ Reconciling values that are not mentioned in git] #5021

omar-triguii opened this issue Oct 2, 2024 · 3 comments

Comments

@omar-triguii
Copy link

Describe the bug

In the HelmRelease, I provided values such as the image name and tag but did not specify a security context. I later edited the Deployment manually using the kubectl command to add the security context. However, after reconciling the application, Flux did not recognize the manual change, and the Deployment retained the new security context.
In this case, Flux is only guarding the Git state and not enforcing the desired.

Steps to reproduce

install flux2

Expected behavior

.

Screenshots and recordings

No response

OS / Distro

ubuntu

Flux version

flux: v2.2.3

Flux check

check

Git provider

No response

Container Registry provider

No response

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@stefanprodan
Copy link
Member

@omar-triguii
Copy link
Author

See the docs: https://fluxcd.io/flux/components/helm/helmreleases/#drift-detection

already enabled it, but still the case

@omar-triguii
Copy link
Author

See the docs: https://fluxcd.io/flux/components/helm/helmreleases/#drift-detection

already enabled it, but still the case

this is because the value of securitygroup itself is not defined in helmrelease values

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

No branches or pull requests

2 participants