本頁面由機器翻譯。閱讀英文原文。

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.

出處

官方由本目錄認可為官方發布者的簽署身分所簽署。
內容摘要
sha256:3c70fd3da367f3dea9428591b3989274aac3c9ceba2cf5d1da9c6a35c94e2f60
發布時間
2026-11-10T10:16:09Z
簽署身分
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

簽章

  • 官方application/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

此版本的參照

oci://hub.aggrega.ai/featurerecipe/helm/random-password-external-secrets:1.0.0
目標
—
實作
core/random-password:1.0.0

提供

此配方為使用端連接的確定性指標範本。

名稱範本
name{{ .locals.secret_name }}
key{{ .values.key }}

Workload

未宣告任何工作負載範本。

Locals

名稱範本
secret_name{{ default (printf "%s-%s" (optional .context "rendered_name" .context.instance_id) (.attachment_name | replace "_" "-")) .values.name }}

值對應

未宣告任何值對應。

關係

與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。

使用

  • 實作實作契約相容

    core/random-password:1.0.0

    所有必要的輸出都已滿足,且每個提供的輸出都在契約中列名。

被使用於

目錄中沒有任何項目相依於此實體。

FeatureRecipe 概念參考

Aggrega 目錄:元件、功能、配方,以及負責渲染它們的外掛程式的開放索引。

以共用的 Aggrega 設計系統建置。

隱私權