bitnami/sealed-secrets

pod restart required to detect a new/updated secret with label 'sealedsecrets.bitnami.com/sealed-secrets-key: active'

Aperta

#1819 aperta il 16 ott 2025

 (1 commento) (0 reazioni) (0 assegnatari)Go (771 fork)auto 404
enhancementhelp wanted

Metriche repository

Star
 (9222 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Which component: controller

Is your feature request related to a problem? Please describe. If I create/update a key/secret for sealed secrets to use, with the appropriate label (see above), sealed secrets should pick up on that new key. Instead, I have to delete the sealed-secrets pod before it will notice the secret.

Imagine the secret is being created via an external-secret so it may not exist when the sealed-secrets pod is started. At some point, the external-secret may be updated, and sealed-secrets will not notice the secret has been updated.

Describe the solution you'd like sealed secrets could have a controller thread which watches for changes to secrets and handles loading/updating them as appropriate

Describe alternatives you've considered

  • using reloader/skater to delete the sealed-secrets pod to force a reload
  • i used an initContainer to wait for the secret to appear, before starting allowing the pod to load ... this was good but didn't handle the use case where the secret was updated

Additional context we shouldn't have to rely on a third-party solution

Guida contributor