From d2ee4f0f13c13bf61e173e46b788b44f324af27c Mon Sep 17 00:00:00 2001 From: Deni Bertovic Date: Mon, 17 Jun 2019 15:21:59 +0200 Subject: [PATCH] Temporary switch to new k8s secrets name This is needed to we can easily migrate to the new db with the recent pantry changes. If something goes wrong we can simply revert to the old secret (and hence the old db). Once the upgrade is done (and verified) we can update the old secret and update the name in this commit (back to it's original name) --- etc/helm/templates/cron_deployment.yaml | 2 +- etc/helm/templates/deployment.yaml | 2 +- etc/helm/templates/hoogle_deployment.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/helm/templates/cron_deployment.yaml b/etc/helm/templates/cron_deployment.yaml index a718698..64e05bc 100644 --- a/etc/helm/templates/cron_deployment.yaml +++ b/etc/helm/templates/cron_deployment.yaml @@ -28,7 +28,7 @@ spec: - name: PGSTRING valueFrom: secretKeyRef: - name: {{ .Values.name }} + name: {{ .Values.name }}-upgrade key: PGCONN command: - bash diff --git a/etc/helm/templates/deployment.yaml b/etc/helm/templates/deployment.yaml index 1040729..7a0fcbe 100644 --- a/etc/helm/templates/deployment.yaml +++ b/etc/helm/templates/deployment.yaml @@ -28,7 +28,7 @@ spec: - name: PGSTRING valueFrom: secretKeyRef: - name: {{ .Values.name }} + name: {{ .Values.name }}-upgrade key: PGCONN readinessProbe: httpGet: diff --git a/etc/helm/templates/hoogle_deployment.yaml b/etc/helm/templates/hoogle_deployment.yaml index f4ce220..89cd780 100644 --- a/etc/helm/templates/hoogle_deployment.yaml +++ b/etc/helm/templates/hoogle_deployment.yaml @@ -28,7 +28,7 @@ spec: - name: PGSTRING valueFrom: secretKeyRef: - name: {{ .Values.name }} + name: {{ .Values.name }}-upgrade key: PGCONN readinessProbe: httpGet: