FeatureRecipe
random-password-external-secrets
Helm realization of core/random-password through the External Secrets Operator. It renders, from a co-located Helm chart, a Password generator and an ExternalSecret that fills a Secret from it, so the operator's controller draws the password inside the cluster and writes it into the Secret; the rendered output names the generator and the Secret and carries no value. The Secret, the generator and the ExternalSecret share one name: values.name where one is supplied, and otherwise {rendered_name}-{attachment_name} — the host component's rendered name, or its identity on a host reporting none, then the attachment name with underscores folded to hyphens — so the derived name is a valid Kubernetes object name wherever its host part is one. The password is written under values.key, and the published provides point a consumer at that Secret and that key. The password is drawn once. The generator produces a new value on every invocation, so the ExternalSecret is set to create the Secret once and never refresh it, and a password shared by a running database and its clients does not change under them. Deleting the Secret draws a new password. The External Secrets Operator must be running in the cluster, with its generator resources installed — core/security/external-secrets installs both — and the build halts unless the Release affirms it with infra.control_plane_present. Reach for this realization where the External Secrets Operator runs in the cluster, and for random-password-kubernetes-secret-generator where the kubernetes-secret-generator controller runs instead.
Provenienza
- Digest del contenuto
- sha256:3c70fd3da367f3dea9428591b3989274aac3c9ceba2cf5d1da9c6a35c94e2f60
- Pubblicato
- 2026-11-10T10:16:09Z
- Identità di firma
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Firma
- Ufficialeapplication/vnd.dev.sigstore.bundle.v0.3+json
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
sha256:4bf12558b36e5b625ead6524846a19891c6f30f615652c7bdd919954e38117e2
Riferimento a questa versione
oci://hub.aggrega.ai/featurerecipe/helm/random-password-external-secrets:1.0.0- Destinazione
- —
- Implementa
- core/random-password:1.0.0
Fornisce
Modelli di puntatori deterministici che questa ricetta collega per i consumatori.
| Nome | Modello |
|---|---|
| name | {{ .locals.secret_name }} |
| key | {{ .values.key }} |
Workload
Nessun modello di workload dichiarato.
Variabili locali
| Nome | Modello |
|---|---|
| secret_name | {{ default (printf "%s-%s" (optional .context "rendered_name" .context.instance_id) (.attachment_name | replace "_" "-")) .values.name }} |
Mappatura dei valori
Nessuna mappatura dei valori dichiarata.
Relazioni
Archi tipizzati da e verso altre entità pubblicate. Un riferimento senza una destinazione pubblicata viene mostrato come arco interrotto anziché come link.
Usa
- implementaimplementacontratto compatibile
core/random-password:1.0.0
Tutti gli output obbligatori sono soddisfatti e ogni output fornito è nominato nel contratto.
Usato da
Nulla nel catalogo dipende da questa entità.