apiVersion: v1 kind: Secret metadata: name: yonote-secrets labels: {{- include "common.labels.standard" $ | nindent 4 }} type: Opaque {{- with .Values.global.yonote.config.secret.data }} data: {{- toYaml . | nindent 2 }} {{- end }} {{- with .Values.global.yonote.config.secret.stringData }} stringData: {{- include "common.tplvalues.render" (dict "value" . "context" $) | nindent 2 }} {{- end }}