github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/deploy/helm/templates/secret.yaml (about)

     1  apiVersion: v1
     2  kind: Secret
     3  metadata:
     4    name: {{ include "kubeblocks.fullname" . }}-secret
     5    labels:
     6      {{- include "kubeblocks.labels" . | nindent 4 }}
     7  type: Opaque
     8  stringData:
     9    {{- if .Values.dataProtection.encryptionKey }}
    10    dataProtectionEncryptionKey: {{ .Values.dataProtection.encryptionKey }}
    11    {{- else }}
    12    dataProtectionEncryptionKey: {{ include "kubeblocks.fullname" . }}-dp-aes256
    13    {{- end }}