
{{- if .Values.security.enabled -}}
apiVersion: v1
kind: Secret
metadata:
  name: grafana
  labels:
    app: grafana
type: Opaque
data:
  username: {{ .Values.security.adminUser | b64enc | quote }}
  password: {{ .Values.security.adminPassword | b64enc | quote }}
{{- end -}}
