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.
Provenance
- Content digest
- sha256:3c70fd3da367f3dea9428591b3989274aac3c9ceba2cf5d1da9c6a35c94e2f60
- Published
- 2026-11-10T10:16:09Z
- Signing identity
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Signature
- Officialapplication/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
Reference at this version
oci://hub.aggrega.ai/featurerecipe/helm/random-password-external-secrets:1.0.0- Target
- —
- Implements
- core/random-password:1.0.0
Provides
Deterministic pointer templates this recipe wires for consumers.
| Name | Template |
|---|---|
| name | {{ .locals.secret_name }} |
| key | {{ .values.key }} |
Workload
No workload template declared.
Locals
| Name | Template |
|---|---|
| secret_name | {{ default (printf "%s-%s" (optional .context "rendered_name" .context.instance_id) (.attachment_name | replace "_" "-")) .values.name }} |
Values mapping
No values mapping declared.
Relationships
Typed edges to and from other published entities. A reference with no published target renders as a broken edge rather than a link.
Uses
- implementsimplementscontract compatible
core/random-password:1.0.0
All required outputs are satisfied and every provided output is named in the contract.
Used by
Nothing in the catalog depends on this entity.