Skip to content

Commit

Permalink
fix(deployment): get keycloak to respect configured db (#1898)
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson authored May 14, 2024
1 parent e1c9d61 commit c7b7775
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions kubernetes/loculus/templates/keycloak-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,33 +47,33 @@ spec:
limits:
memory: "3Gi"
env:
- name: DB_ADDR
- name: KC_DB
value: postgres
- name: KC_DB_URL_HOST
valueFrom:
secretKeyRef:
name: keycloak-database
key: addr
- name: KC_PORT
- name: KC_DB_URL_PORT
valueFrom:
secretKeyRef:
name: keycloak-database
key: port
- name: DB_DATABASE
- name: KC_DB_URL_DATABASE
valueFrom:
secretKeyRef:
name: keycloak-database
key: database
- name: DB_USER
- name: KC_DB_USERNAME
valueFrom:
secretKeyRef:
name: keycloak-database
key: username
- name: DB_PASSWORD
- name: KC_DB_PASSWORD
valueFrom:
secretKeyRef:
name: keycloak-database
key: password
- name: DB_VENDOR
value: "postgres"
- name: KEYCLOAK_ADMIN
value: "admin"
- name: KEYCLOAK_ADMIN_PASSWORD
Expand Down Expand Up @@ -122,4 +122,4 @@ spec:
volumes:
{{ include "loculus.configVolume" (dict "name" "keycloak-config") | nindent 8 }}
- name: theme-volume
emptyDir: {}
emptyDir: {}

0 comments on commit c7b7775

Please sign in to comment.