FeatureRecipe
dotenv-secret-set
Compose realization of core/referenced-secret-set, for local development. It delivers every entry — from values or infra, whichever carries them — on the consuming component's inject pipe, one environment variable per entry, named as the entry's key and carrying its value, and a compose Recipe that delivers its attachments' variables writes each into the emitted docker-compose file as the service's environment value, exactly as authored. A literal value therefore lands in the file as the credential itself. A value written as a Compose variable reference, such as ${GITHUB_TOKEN}, lands as that reference instead, and Docker Compose substitutes it when the stack starts — from the shell environment, a file named with --env-file, or a .env file in the project directory — and substitutes an empty string, with a warning, for a variable it cannot resolve and that names no default. The compiler neither reads nor writes a .env file and emits no env_file entry; whoever starts the stack maintains the .env file. Docker Compose has no secret resource for a consumer to reference, so this realization emits none, and the name it publishes is empty: a consumer reads the entries from its inject pipe rather than from a resource. Reach for it under Docker Compose; reach for helm/k8s-secret-set on Kubernetes, where the entries are held in a Secret the consumer references by name.
Nguồn gốc
- Digest nội dung
- sha256:928a6f9993b67918d43d3837b40caa5be10e440db03c4d2e3effa0bc5f749209
- Đã xuất bản
- 2026-11-15T08:09:01Z
- 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:3d53b71f89246871ad107da453b25f7db4811e5ab7982f4fafa89bded7c1fc7b
Tham chiếu ở phiên bản này
oci://hub.aggrega.ai/featurerecipe/compose/dotenv-secret-set:1.0.0- Đích
- —
- Triển khai
- core/referenced-secret-set: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 |
Ánh xạ tiêm
{{- range (optional .values "entries" (optional .infra "entries" (list))) }}
{{ .key | toJson }}: {{ .value | toJson }}
{{- end }}
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 khaihợp đồng tương thích
core/referenced-secret-set:1.0.0
Tất cả đầu ra bắt buộc đều được đáp ứng và mọi đầu ra được cung cấp đều được nêu tên trong hợp đồng.
Được sử dụng bởi
Không có gì trong danh mục phụ thuộc vào thực thể này.