mittwald / kubernetes-secret-generator

Kubernetes controller for automatically generating and updating secrets
Apache License 2.0
329 stars 56 forks source link

Secrets out of sync #93

Closed xeruf closed 6 months ago

xeruf commented 6 months ago

Describe the bug As you can see in the screenshot, I modified a StringSecret a while back to include an extra field, and the change is present on the cluster. Nonetheless, the generated secret is still missing that field. I am baffled as to what is going on here. image

To Reproduce The secret is defined here: https://open.greenhost.net/xeruf/stackspout/-/blob/main/apps/do/vikunja-secrets/vikunja-variables.yaml?ref_type=heads

Expected behavior The secret is updated.

Environment:

xeruf commented 6 months ago

Ah, the secret was an old one not owned by the generator, nevermind :)

xeruf commented 6 months ago

Just needed https://open.greenhost.net/stackspin/stackspin/-/blob/main/flux2/core/base/migration-scripts/adopt-secrets-script-configmap.yaml ^^