From 2eb6857acce646942e0651668b4f12514cbc2429 Mon Sep 17 00:00:00 2001 From: Theo Sanderson Date: Thu, 2 May 2024 13:46:25 +0100 Subject: [PATCH] feat(deployment): actually (?) wipe db with new deployments (#1735) * actually (?) wipe db with new deployments * Update loculus-database-standin.yaml * Update loculus-database-standin.yaml --- kubernetes/loculus/templates/loculus-database-standin.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kubernetes/loculus/templates/loculus-database-standin.yaml b/kubernetes/loculus/templates/loculus-database-standin.yaml index 9ae6b4bf2..09cd59734 100644 --- a/kubernetes/loculus/templates/loculus-database-standin.yaml +++ b/kubernetes/loculus/templates/loculus-database-standin.yaml @@ -1,8 +1,11 @@ +{{- $dockerTag := include "loculus.dockerTag" .Values }} {{- if not .Values.externalDatabaseUrl }} apiVersion: apps/v1 kind: Deployment metadata: name: loculus-database + annotations: + argocd.argoproj.io/sync-options: Replace=true spec: replicas: 1 selector: @@ -29,4 +32,6 @@ spec: value: "loculus" - name: POSTGRES_HOST_AUTH_METHOD value: "trust" + - name: LOCULUS_VERSION + value: {{ $dockerTag }} {{- end }}