-
Notifications
You must be signed in to change notification settings - Fork 0
Description
We've noticed that any values we update in Vault are not synced by ArgoCD until after a new catalog push. As far as we can tell, there seems to be nothing changing in the actual catalog when a Vault secret is updated (as evidenced by Commodore's refusal to push a no-op catalog update).
Steps to Reproduce the Problem
- Start with a synfected cluster, with the
backup-k8upcomponent configured - Update any
backup-k8upsecret value stored in Vault - Notice that ArgoCD, even with manually forced sync actions, does not pick up the change
- Notice that Commodore sees no changes will refuse to push a catalog update with no changes
- Make a nonsensical change to the cluster catalog (adding a useless env var, for example), which will force ArgoCD to update the
backup-k8upcomponent - After pushing the change, notice that ArgoCD has picked up the changed values from Vault and updated the
syn-backupcomponent deployment accordingly
Actual Behavior
When values are updated in Vault, these updates are not applied until a new catalog is pushed via Commodore. This can be particularly detrimental for services which rely on things like access keys (as the syn-backup component does) which need to be rotated regularly.
Expected Behavior
We would expect ArgoCD to talk directly to Vault to pick up and deploy any changed secret values as soon as they are changed in Vault. The need for a Commodore catalog update before ArgoCD will process these updates hinders actions like easily rotating access keys and API keys.