FeatureRecipe
k8s-secret-from-value
Helm realization of core/secret-value that a consuming Recipe can read by reference. It renders one Kubernetes Secret holding the value and publishes the Secret's name and data key, so a Recipe reading the slot as a secretKeyRef points at it, and it also delivers the value into the component's inject pipe, as env-secret does, so a Recipe reading the pipe receives it as a variable. The value is written into the emitted Secret, and a Recipe reading the pipe writes it into its own manifest as well, so the material sits in the rendered output: for evaluation and local work, not for a production credential. The Secret is emitted for every attachment, whether or not its host reads it by reference. An origin holding a Docker Compose variable reference of the form ${…} halts the build, since Kubernetes substitutes none; set the real value through the Release instead. Reach for this realization where a host reads the credential by reference, or where one Manifest maps core/secret-value for hosts of both kinds. Reach for env-secret where every host reads the inject pipe and no Secret is wanted, and for core/referenced-secret where the Secret already exists or a secret-store operator fetches the credential.
Nguồn gốc
- Digest nội dung
- sha256:8fcb89d374e89df5bb1cc5fcdc45669b4eb4778fed45e5be9922d112d6302121
- Đã xuất bản
- 2026-11-10T10:15:43Z
- Danh tính ký
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Chữ ký
- Chính thứcapplication/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:cedc2bedfd0533feff99d5aaa12520d7fbaf2c7c7d0ec466231d019129be531c
Tham chiếu ở phiên bản này
oci://hub.aggrega.ai/featurerecipe/helm/k8s-secret-from-value:1.0.0- Đích
- —
- Triển khai
- core/secret-value:1.0.0
Cung cấp
Các mẫu con trỏ xác định mà công thức này nối cho bên tiêu thụ.
| Tên | Mẫu |
|---|---|
| name | {{ optional .context "rendered_name" .context.instance_id }}-{{ .attachment_name | replace "_" "-" }} |
| key | {{ .values.key }} |
Ánh xạ tiêm
env:
{{ .values.key }}: {{ optional .values "origin" (optional .infra "origin" "") | toJson }}
Workload
Chưa khai báo mẫu khối lượng công việc nào.
Giá trị cục bộ
Chưa khai báo giá trị cục bộ nào.
Ánh xạ values
Chưa khai báo ánh xạ values nào.
Quan hệ
Các cạnh có kiểu đi tới và đi từ các thực thể đã xuất bản khác. Một tham chiếu không có đích đã xuất bản được hiển thị là một cạnh bị đứt thay vì một liên kết.
Sử dụng
- triển khaitriển khai
core/secret-value:1.0.0
Được sử dụng bởi
Không có gì trong danh mục phụ thuộc vào thực thể này.