feat: add optional basic auth for metrics endpoint

This commit is contained in:
Julian Tölle 2020-12-06 03:03:33 +01:00
parent a6097204c7
commit 879c6a62e2
7 changed files with 92 additions and 3 deletions

View file

@ -8,3 +8,8 @@ type: Opaque
data:
spotify-client-secret: {{ .Values.spotify.clientSecret | b64enc | quote }}
jwt-secret: {{ .Values.auth.jwtSecret | b64enc | quote }}
{{- if .Values.prometheus.basicAuth.enabled }}
prometheus-basic-auth-username: {{ .Values.prometheus.basicAuth.username | b64enc | quote }}
prometheus-basic-auth-password: {{ .Values.prometheus.basicAuth.password | b64enc | quote }}
{{- end }}