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, and an empty origin names no Secret, so the build halts on it, naming the component. 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.
Wersja
Pochodzenie
- Skrót zawartości
- sha256:e1f43ae58da887f1fe0cfc063ef92d373b2f0de7f40d862f829fac4c3b046c08
- Opublikowano
- 2026-11-15T08:09:02Z
- Tożsamość podpisująca
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Podpis
- Oficjalnyapplication/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:674fe158bbc03ff2c1fddfb1eab54de77d778335a09e5e204ddaf3dd28f99a7e
Referencja w tej wersji
oci://hub.aggrega.ai/featurerecipe/helm/k8s-existing-secret:1.0.1- Cel
- —
- Implementuje
- core/referenced-secret:1.0.0
Udostępnia
Deterministyczne szablony wskaźników, które ta receptura podłącza dla konsumentów.
| Nazwa | Szablon |
|---|---|
| name | {{ optional .values "origin" (optional .infra "origin" "") }} |
| key | {{ .values.key }} |
Workload
Nie zadeklarowano szablonu obciążenia roboczego.
Zmienne lokalne
Nie zadeklarowano zmiennych lokalnych.
Mapowanie wartości
Nie zadeklarowano mapowania wartości.
Relacje
Typowane krawędzie do innych opublikowanych encji i od nich. Odwołanie bez opublikowanego celu jest renderowane jako przerwana krawędź, a nie jako łącze.
Używa
- implementujeimplementujekontrakt zgodny
core/referenced-secret:1.0.0
Wszystkie wymagane wyjścia są spełnione, a każde udostępniane wyjście jest wymienione w kontrakcie.
Używane przez
Nic w katalogu nie zależy od tej encji.