Skip to content

Commit 0f3c0a3

Browse files
committed
feat: add one-shot provisioning for keycloak-users ExternalSecret
When externalSecrets.oneShot is true, the keycloak-users ExternalSecret becomes an ArgoCD Sync hook with BeforeHookCreation and 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) — keycloak-users is a regular ExternalSecret with no hook annotations. The Secret and ExternalSecret simply persist. The rh-keycloak wrapper chart in layered-zero-trust enables it via rhbk.externalSecrets.oneShot. Also fixes NATURAL_LANGUAGE linter errors: postgresql -> PostgreSQL in values.yaml comments and README.md.gotmpl. Bump chart version to 0.0.9. Signed-off-by: Min Zhang <minzhang@redhat.com>
1 parent c49dc58 commit 0f3c0a3

5 files changed

Lines changed: 519 additions & 396 deletions

File tree

Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ keywords:
44
- pattern
55
name: rhbk
66
type: application
7-
version: 0.0.8
7+
version: 0.0.9
88
home: https://github.com/validatedpatterns/rhbk-chart
99
maintainers:
1010
- name: Validated Patterns Team

0 commit comments

Comments
 (0)