Skip to content

Secret values stored in Vault are not automatically updated by ArgoCD when updated in Vault #64

@cdchris12

Description

@cdchris12

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

  1. Start with a synfected cluster, with the backup-k8up component configured
  2. Update any backup-k8up secret value stored in Vault
  3. Notice that ArgoCD, even with manually forced sync actions, does not pick up the change
  4. Notice that Commodore sees no changes will refuse to push a catalog update with no changes
  5. Make a nonsensical change to the cluster catalog (adding a useless env var, for example), which will force ArgoCD to update the backup-k8up component
  6. After pushing the change, notice that ArgoCD has picked up the changed values from Vault and updated the syn-backup component 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions