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

[module-manager] helm can't detect configuration drift on startup #518

Open
miklezzzz opened this issue Nov 1, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@miklezzzz
Copy link
Contributor

miklezzzz commented Nov 1, 2024

Expected behavior (what you expected to happen):

Actual behavior (what actually happened):
When modulerun is called, the operator compares two checksums, one - for all manifests of the module produced by helm render, another - for all manifests stored in the current helm release of the module in the cluster. If checksums are different, helm upgrade is performed. This way, it can't detect if any changes to the module's resource in the cluster were applied manually (kubectl edit).

Steps to reproduce:
create a module
update the module's resource (deployment, etc) in the cluster with kubectl edit
restart operator and check if the resource configuration was reverted to the previous config

Environment:

  • Addon-operator version:
  • Helm version:
  • Kubernetes version:
  • Installation type (kubectl apply, helm chart, etc.):

Anything else we should know?:

Additional information for debugging (if necessary):

Hook script

Logs

@miklezzzz miklezzzz added the bug Something isn't working label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant