Created
June 6, 2023 17:20
-
-
Save lodotek/25b73da132f806cd76f832d160871d41 to your computer and use it in GitHub Desktop.
sealed-secrets.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{- range $key, $value := .Values.sealedSecrets }} | |
apiVersion: bitnami.com/v1alpha1 | |
kind: SealedSecret | |
metadata: | |
name: {{ $key }} | |
namespace: {{ $.Release.Namespace }} | |
spec: | |
encryptedData: | |
{{ $value | toYaml | indent 4 }} | |
template: | |
metadata: | |
creationTimestamp: null | |
name: {{ $key }} | |
namespace: {{ $.Release.Namespace }} | |
type: Opaque | |
--- | |
{{- end }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment