Skip to content

Commit

Permalink
Flyway needs old host
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-parker committed Aug 12, 2024
1 parent 191df69 commit 5814072
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions kubernetes/loculus/templates/ena-submission-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,6 @@ spec:
memory: 256Mi
command: ['flyway', 'migrate']
env:
{{- if .Values.runDevelopmentMainDatabase }}
- name: FLYWAY_USER
value: "postgres"
- name: FLYWAY_PASSWORD
value: "unsecure"
- name: FLYWAY_URL
value: "http://127.0.0.1"
{{- else}}
- name: FLYWAY_URL
valueFrom:
secretKeyRef:
Expand All @@ -55,7 +47,6 @@ spec:
secretKeyRef:
name: database
key: password
{{- end}}
containers:
- name: ena-submission
image: "ghcr.io/loculus-project/ena-submission:{{ $dockerTag }}"
Expand All @@ -78,7 +69,7 @@ spec:
- name: DB_PASSWORD
value: "unsecure"
- name: DB_HOST
value: "http://127.0.0.1"
value: "http://localhost"
{{- else}}
- name: DB_HOST
valueFrom:
Expand Down Expand Up @@ -171,7 +162,7 @@ spec:
- name: DB_PASSWORD
value: "unsecure"
- name: DB_HOST
value: "http://127.0.0.1"
value: "http://localhost"
{{- else}}
- name: DB_HOST
valueFrom:
Expand Down

0 comments on commit 5814072

Please sign in to comment.