Commit 3c201dd
committed
feat: add one-shot provisioning for keycloak-users ExternalSecret
When externalSecrets.oneShot is true, the keycloak-users
ExternalSecret switches from HookSucceeded to BeforeHookCreation
delete policy and sets deletionPolicy: Retain. This allows a
PostSync job in the rh-keycloak wrapper chart (layered-zero-trust)
to delete the ExternalSecret with --cascade=orphan so the Secret
survives initial provisioning, then clean up ephemeral Secrets
labeled for deletion.
Defaults to false (oneShot disabled) to preserve the existing
HookSucceeded behavior. The rh-keycloak wrapper chart in
layered-zero-trust enables it via rhbk.externalSecrets.oneShot.
Bump chart version to 0.0.9.
Signed-off-by: Min Zhang <minzhang@redhat.com>1 parent c49dc58 commit 3c201dd
4 files changed
Lines changed: 515 additions & 391 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments