Skip to content

Commit

Permalink
feat(config): allow dev standin dbs to be semi-persistent through val…
Browse files Browse the repository at this point in the history
…ues.yaml (#3255)
  • Loading branch information
corneliusroemer authored Nov 20, 2024
1 parent a6b3bb7 commit 99d2386
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ spec:
value: "keycloak"
- name: POSTGRES_HOST_AUTH_METHOD
value: "trust"
{{ if not .Values.developmentDatabasePersistence }}
- name: LOCULUS_VERSION
value: {{ $dockerTag }}
{{- end }}
{{- end }}
2 changes: 2 additions & 0 deletions kubernetes/loculus/templates/loculus-database-standin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ spec:
value: "loculus"
- name: POSTGRES_HOST_AUTH_METHOD
value: "trust"
{{ if not .Values.developmentDatabasePersistence }}
- name: LOCULUS_VERSION
value: {{ $dockerTag }}
{{- end }}
{{- end }}
1 change: 1 addition & 0 deletions kubernetes/loculus/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1530,6 +1530,7 @@ secrets:
password: "dummy"
runDevelopmentKeycloakDatabase: true
runDevelopmentMainDatabase: true
developmentDatabasePersistence: false
enforceHTTPS: true
registrationTermsMessage: >
You must agree to the <a href="http://main.loculus.org/terms">terms of use</a>.
Expand Down

0 comments on commit 99d2386

Please sign in to comment.