Skip to content

Commit

Permalink
feat(deployment): actually (?) wipe db with new deployments (#1735)
Browse files Browse the repository at this point in the history
* actually (?) wipe db with new deployments

* Update loculus-database-standin.yaml

* Update loculus-database-standin.yaml
  • Loading branch information
theosanderson authored May 2, 2024
1 parent b3971ef commit 2eb6857
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions kubernetes/loculus/templates/loculus-database-standin.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -29,4 +32,6 @@ spec:
value: "loculus"
- name: POSTGRES_HOST_AUTH_METHOD
value: "trust"
- name: LOCULUS_VERSION
value: {{ $dockerTag }}
{{- end }}

0 comments on commit 2eb6857

Please sign in to comment.