helm(minor): fix monitoring username not being in b64

This commit is contained in:
Langhammer, Jens 2019-11-08 15:00:08 +01:00
parent 019a0cb14d
commit 80ea7c40b7
2 changed files with 1 additions and 4 deletions

View file

@ -118,7 +118,4 @@ spec:
for: 1m for: 1m
labels: labels:
severity: testing severity: testing
annotations:
summary: "Unapplied django migrations on {{$labels.connection}}"
description: "Django detected {{$value}} unapplied migrations on database {{$labels.connection}}"
{{- end }} {{- end }}

View file

@ -4,7 +4,7 @@ type: Opaque
metadata: metadata:
name: {{ include "passbook.fullname" . }}-secret-key name: {{ include "passbook.fullname" . }}-secret-key
data: data:
monitoring_username: monitor monitoring_username: bW9uaXRvcg== # monitor in base64
{{- if .Values.config.secret_key }} {{- if .Values.config.secret_key }}
secret_key: {{ .Values.config.secret_key | b64enc | quote }} secret_key: {{ .Values.config.secret_key | b64enc | quote }}
{{- else }} {{- else }}