Halaman ini diterjemahkan oleh mesin. Baca versi asli dalam bahasa Inggris.

FeatureRecipe

random-password-kubernetes-secret-generator

Helm realization of core/random-password through the kubernetes-secret-generator controller. It renders, from a co-located Helm chart, a StringSecret, which the controller reconciles into a Secret of the same name holding a generated password; the rendered output names the StringSecret and carries no value. The name is 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 controller generates a field only while it is empty and the StringSecret does not ask for regeneration, so a password shared by a running database and its clients does not change under them. The controller produces exactly values.length characters by encoding random bytes: with values.symbols off the encoding is hexadecimal, so the password holds digits and the letters a to f only; with it on the encoding is the controller's default, base64, which adds upper-case letters and the characters + and /. The kubernetes-secret-generator controller must be running in the cluster; the catalog does not install it. The build halts unless the Release affirms it with infra.control_plane_present. Reach for this realization where that controller runs in the cluster, and for random-password-external-secrets where the External Secrets Operator runs instead — it is installed by core/security/external-secrets.

Asal-usul

ResmiDitandatangani oleh identitas penandatangan yang diakui katalog ini sebagai penerbit resmi.
Digest konten
sha256:edfb607011bc8a858051ef5ebe98d159032eace5531cca8962d824f543fcfda0
Dipublikasikan
2026-11-10T10:16:11Z
Identitas penandatangan
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Tanda tangan

  • Resmiapplication/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:e79f2258defc285880a857b4bc488d6ba3f86e9214f2cf8ebf848347aac79108

Referensi pada versi ini

oci://hub.aggrega.ai/featurerecipe/helm/random-password-kubernetes-secret-generator:1.0.0
Target
—
Mengimplementasikan
core/random-password:1.0.0

Menyediakan

Templat pointer deterministik yang dihubungkan resep ini untuk konsumen.

NamaTemplat
name{{ .locals.secret_name }}
key{{ .values.key }}

Workload

Tidak ada templat beban kerja yang dideklarasikan.

Nilai lokal

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

Pemetaan values

Tidak ada pemetaan values yang dideklarasikan.

Relasi

Sisi bertipe ke dan dari entitas lain yang dipublikasikan. Referensi tanpa target yang dipublikasikan ditampilkan sebagai sisi yang terputus, bukan sebagai tautan.

Menggunakan

  • mengimplementasikanmengimplementasikankontrak kompatibel

    core/random-password:1.0.0

    Semua keluaran wajib terpenuhi dan setiap keluaran yang disediakan disebutkan dalam kontrak.

Digunakan oleh

Tidak ada apa pun di katalog yang bergantung pada entitas ini.

Referensi konsep FeatureRecipe →

Katalog Aggrega — indeks terbuka berisi komponen, fitur, resep, dan plugin yang merendernya.

Dibangun dengan sistem desain Aggrega yang digunakan bersama.

Privasi