Skip to content

Instantly share code, notes, and snippets.

@lodotek
Created June 6, 2023 17:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lodotek/25b73da132f806cd76f832d160871d41 to your computer and use it in GitHub Desktop.
Save lodotek/25b73da132f806cd76f832d160871d41 to your computer and use it in GitHub Desktop.
sealed-secrets.yaml
{{- 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