hashicorp / vault-secrets-operator

The Vault Secrets Operator (VSO) allows Pods to consume Vault secrets natively from Kubernetes Secrets.
https://hashicorp.com
Other
471 stars 102 forks source link

managing rolloutRestartTargets with dynamic/changing names #965

Open ninjaDave333 opened 2 weeks ago

ninjaDave333 commented 2 weeks ago

Is your feature request related to a problem? Please describe. each time we update a deployment or configmap its name is being updated, we add the update number to its name, for example:

rolloutRestartTargets:
  - kind: Deployment
    name: mydeploy-00014-deployment

this is making it impossible to add these deployments to the "rolloutRestartTargets"

Describe the solution you'd like i would like to:

Describe alternatives you've considered I understand that reloader can automatically trigger restarts/rollouts by watching labels.

Additional context i would like to keep using the official Hashicorp operator, and cannot change my convention of deployment names.

thanks.