FeatureRecipe
k8s-external-secret
Generates a Kubernetes ExternalSecret resource from a co-located Helm chart, so a secret-store operator running in the cluster fetches the credential and reconciles it into a Secret. origin — from values or infra, whichever carries it — is read as the key to fetch from the store, so the rendered output carries the locator rather than the credential value. The ExternalSecret reads from a ClusterSecretStore named platform-secret-store and refreshes hourly. The reconciled Secret uses the deterministic name pattern {rendered_name}-{attachment_name}: the host component's rendered name, which the helm provider spells in the characters a Kubernetes name allows, then the slot name with underscores normalized to hyphens, so the name is a valid RFC-1123 label wherever the host reports a rendered name. On a host that reports none, the host part is the component's identity, and the name is a valid label only where that identity is one. The published provides point a consumer at that Secret and the data key within it. Reach for this realization where the External Secrets Operator runs in the cluster with a ClusterSecretStore named platform-secret-store, and the credential should be fetched from that store rather than written into the rendered output. Reach for k8s-existing-secret where the Secret already exists in the target namespace, and for k8s-secret-from-parameter where neither holds and the material may sit in the rendered output, as it may for evaluation.
ที่มา
- ไดเจสต์
ของ เนื้อหา - sha256:a36d6c75d0de4d062c2687c95b7af1dc8665624064445ddf013953f3edfea249
- เผย
แพร่ - 2026-11-10T10:15:43Z
- ตัว
ตน ผู้ ลง ลาย เซ็น - 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:74039af7132073d89bec37fa3973a55572a9903b42d25f7064d8ac06b693ce50
เอกสารอ้างอิงในเวอร์ชันนี้
oci://hub.aggrega.ai/featurerecipe/helm/k8s-external-secret:1.0.0- เป้า
หมาย - —
- อิมพลีเมนต์
- core/referenced-secret:1.0.0
Provides
เทมเพลต
| ชื่อ | เทมเพลต |
|---|---|
| name | {{ optional .context "rendered_name" .context.instance_id }}-{{ .attachment_name | replace "_" "-" }} |
| key | {{ .values.key }} |
Workload
ไม่มี
Locals
ไม่มี locals ที่
การแมป values
ไม่มี
ความสัมพันธ์
เส้น
Uses
- อิมพลีเมนต์อิมพลีเมนต์สัญญา
เข้า กัน ได้ core/referenced-secret:1.0.0
เอาต์พุต
ที่ จำเป็น ครบ ถ้วน แล้ว และ เอาต์พุต ที่ ให้ มา ทุก รายการ มีชื่อ อยู่ ใน สัญญา
ใช้โดย
ไม่มี