FeatureRecipe
k8s-existing-secret
Points a workload at a Kubernetes Secret that already exists in the namespace it runs in. origin — from values or infra, whichever carries it — is read as that Secret's name and values.key as the data key inside it, and both are published exactly as written, as the locator a consuming workload references with a secretKeyRef or a chart reads through its existing-secret setting, so an operator can name the Secret in the Release. It renders no resource of its own, so the credential material never passes through an authored file or a rendered artifact: whoever deploys creates the Secret, and a workload referencing a Secret that does not exist fails to start rather than starting with a default. Because the name is published as written, it must already be a valid Kubernetes object name. Reach for this realization where the Secret already exists in the target namespace — created by hand, by a pipeline, or by a tool outside the Release. Reach for k8s-external-secret where a secret-store operator runs in the cluster and should fetch the credential from its store, and for k8s-secret-from-parameter where neither holds and the material may sit in the rendered output, as it may for evaluation.
เวอร์ชัน
ที่มา
- ไดเจสต์
ของ เนื้อหา - sha256:8a0d4d1a2aed9136cfbab473349ac426259177f73eb0ca9ff35e585000eae15e
- เผย
แพร่ - 2026-11-10T10:15:42Z
- ตัว
ตน ผู้ ลง ลาย เซ็น - 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:abf951a42bd8b2b47851c1aa4d6345267dbbba542df08e7ec1e1046c9b36bc9e
เอกสารอ้างอิงในเวอร์ชันนี้
oci://hub.aggrega.ai/featurerecipe/helm/k8s-existing-secret:1.0.0- เป้า
หมาย - —
- อิมพลีเมนต์
- core/referenced-secret:1.0.0
Provides
เทมเพลต
| ชื่อ | เทมเพลต |
|---|---|
| name | {{ optional .values "origin" (optional .infra "origin" "") }} |
| key | {{ .values.key }} |
Workload
ไม่มี
Locals
ไม่มี locals ที่
การแมป values
ไม่มี
ความสัมพันธ์
เส้น
Uses
- อิมพลีเมนต์อิมพลีเมนต์สัญญา
เข้า กัน ได้ core/referenced-secret:1.0.0
เอาต์พุต
ที่ จำเป็น ครบ ถ้วน แล้ว และ เอาต์พุต ที่ ให้ มา ทุก รายการ มีชื่อ อยู่ ใน สัญญา
ใช้โดย
ไม่มี