{{- if .Values.features.monitoring.enabled }}
apiVersion: v1
kind: Secret
type: Opaque
metadata:
  name: scdf-grafana-secret
  labels:
    app: scdf-grafana-secret
data:
  admin-user: {{ .Values.grafana.admin.defaultUsername }}
  admin-password: {{ .Values.grafana.admin.defaultPassword }}
{{- end }}
