From 80ea7c40b734dd85847cbc8c7e65ce0177ea7904 Mon Sep 17 00:00:00 2001 From: "Langhammer, Jens" Date: Fri, 8 Nov 2019 15:00:08 +0100 Subject: [PATCH] helm(minor): fix monitoring username not being in b64 --- helm/passbook/templates/prom-rules.yaml | 3 --- helm/passbook/templates/secret.yaml | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/helm/passbook/templates/prom-rules.yaml b/helm/passbook/templates/prom-rules.yaml index c8743d96b..38c2dfd16 100644 --- a/helm/passbook/templates/prom-rules.yaml +++ b/helm/passbook/templates/prom-rules.yaml @@ -118,7 +118,4 @@ spec: for: 1m labels: severity: testing - annotations: - summary: "Unapplied django migrations on {{$labels.connection}}" - description: "Django detected {{$value}} unapplied migrations on database {{$labels.connection}}" {{- end }} diff --git a/helm/passbook/templates/secret.yaml b/helm/passbook/templates/secret.yaml index f85e3b171..5884635b0 100644 --- a/helm/passbook/templates/secret.yaml +++ b/helm/passbook/templates/secret.yaml @@ -4,7 +4,7 @@ type: Opaque metadata: name: {{ include "passbook.fullname" . }}-secret-key data: - monitoring_username: monitor + monitoring_username: bW9uaXRvcg== # monitor in base64 {{- if .Values.config.secret_key }} secret_key: {{ .Values.config.secret_key | b64enc | quote }} {{- else }}