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.
Proveniência
- Digest do conteúdo
- sha256:3c70fd3da367f3dea9428591b3989274aac3c9ceba2cf5d1da9c6a35c94e2f60
- Publicado
- 2026-11-10T10:16:09Z
- Identidade de assinatura
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Assinatura
- Oficialapplication/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
Referência nesta versão
oci://hub.aggrega.ai/featurerecipe/helm/random-password-external-secrets:1.0.0- Destino
- —
- Implementa
- core/random-password:1.0.0
Fornece
Modelos de ponteiros determinísticos que esta receita liga para os consumidores.
| Nome | Modelo |
|---|---|
| name | {{ .locals.secret_name }} |
| key | {{ .values.key }} |
Workload
Nenhum modelo de carga de trabalho declarado.
Variáveis locais
| Nome | Modelo |
|---|---|
| secret_name | {{ default (printf "%s-%s" (optional .context "rendered_name" .context.instance_id) (.attachment_name | replace "_" "-")) .values.name }} |
Mapeamento de valores
Nenhum mapeamento de valores declarado.
Relações
Arestas tipadas de e para outras entidades publicadas. Uma referência sem destino publicado é apresentada como uma aresta quebrada em vez de uma ligação.
Usa
- implementaimplementacontrato compatível
core/random-password:1.0.0
Todas as saídas obrigatórias são satisfeitas e cada saída fornecida é nomeada no contrato.
Usado por
Nada no catálogo depende desta entidade.