Skip to content

Commit

Permalink
update keycloak deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Awambeng committed Dec 11, 2024
1 parent 6ca26d2 commit ea23d01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 0 additions & 3 deletions keycloak-chart/files/.env
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,3 @@ KC_DB_HOST="datev-rds.c9ocg0umkn0m.eu-central-1.rds.amazonaws.com"
# KC_DB_OPTS="--db postgres --db-url jdbc:postgresql://${KC_DB_HOST}:${KC_DB_EXPOSED_PORT}/${KC_DB_NAME} --db-username ${KC_DB_USERNAME} --db-password ${KC_DB_PASSWORD}"
# For production
# KC_DB_OPTS="--db postgres --db-url jdbc:postgresql://${KC_DB_HOST}:${KC_DB_EXPOSED_PORT}/${KC_DB_NAME} --db-username ${KC_DB_USERNAME} --db-password ${KC_DB_PASSWORD}"

# Keycloak admin password
KC_BOOTSTRAP_ADMIN_PASSWORD=admin22
5 changes: 5 additions & 0 deletions keycloak-chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ spec:
ports:
- containerPort: {{ .Values.keycloak.service.port }}
env:
- name: KC_DB_PASSWORD
valueFrom:
secretKeyRef:
name: {{ .Values.keycloak.secrets }}
key: KC_DB_PASSWORD
- name: KC_BOOTSTRAP_ADMIN_PASSWORD
valueFrom:
secretKeyRef:
Expand Down

0 comments on commit ea23d01

Please sign in to comment.