本頁面由機器翻譯。閱讀英文原文。

FeatureRecipe

k8s-secret-from-parameter

Generates a Kubernetes Secret resource from an authored literal value, rendered from a co-located Helm chart. The generated 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 value is written into the emitted Secret, so the credential material sits in every rendered artifact the build produces. Reach for this realization where no Secret exists yet and no secret-store operator runs in the cluster, and the material may sit in the rendered output — for evaluation and local work, not for a production credential. Reach for k8s-existing-secret where the Secret already exists in the target namespace, and for k8s-external-secret where a secret-store operator runs in the cluster and should fetch the credential from its store.

出處

官方由本目錄認可為官方發布者的簽署身分所簽署。
內容摘要
sha256:dde970db00f2e722abf1b5b8d3b36f48f676c4bb3e3a37775d9a8fe01a77c915
發布時間
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:3f10f44a5955a50e4013bc250095100bbcc79337086f942bf0161144feff2325

此版本的參照

oci://hub.aggrega.ai/featurerecipe/helm/k8s-secret-from-parameter:1.0.0
目標
—
實作
core/referenced-secret:1.0.0

提供

此配方為使用端連接的確定性指標範本。

名稱範本
name{{ optional .context "rendered_name" .context.instance_id }}-{{ .attachment_name | replace "_" "-" }}
key{{ .values.key }}

Workload

未宣告任何工作負載範本。

Locals

未宣告任何 locals。

值對應

未宣告任何值對應。

關係

與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。

使用

  • 實作實作契約相容

    core/referenced-secret:1.0.0

    所有必要的輸出都已滿足,且每個提供的輸出都在契約中列名。

被使用於

目錄中沒有任何項目相依於此實體。

FeatureRecipe 概念參考

Aggrega 目錄:元件、功能、配方,以及負責渲染它們的外掛程式的開放索引。

以共用的 Aggrega 設計系統建置。

隱私權