From 6343bb6360779428416aa57a5433a7b983abdbe9 Mon Sep 17 00:00:00 2001 From: Cornelius Roemer Date: Wed, 4 Dec 2024 11:22:07 +0100 Subject: [PATCH] chore(kubernetes): migrate away from deprecated env variable names (#3355) Based on the following log warnings: ``` 2024-12-03 18:56:06,497 WARN [org.keycloak.services] (main) KC-SERVICES0110: Environment variable 'KEYCLOAK_ADMIN' is deprecated, use 'KC_BOOTSTRAP_ADMIN_USERNAME' instead 2024-12-03 18:56:06,497 WARN [org.keycloak.services] (main) KC-SERVICES0110: Environment variable 'KEYCLOAK_ADMIN_PASSWORD' is deprecated, use 'KC_BOOTSTRAP_ADMIN_PASSWORD' instead ``` --- kubernetes/loculus/templates/keycloak-deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kubernetes/loculus/templates/keycloak-deployment.yaml b/kubernetes/loculus/templates/keycloak-deployment.yaml index dd0671233..b927e8897 100644 --- a/kubernetes/loculus/templates/keycloak-deployment.yaml +++ b/kubernetes/loculus/templates/keycloak-deployment.yaml @@ -73,9 +73,9 @@ spec: secretKeyRef: name: keycloak-database key: password - - name: KEYCLOAK_ADMIN + - name: KC_BOOTSTRAP_ADMIN_USERNAME value: "admin" - - name: KEYCLOAK_ADMIN_PASSWORD + - name: KC_BOOTSTRAP_ADMIN_PASSWORD valueFrom: secretKeyRef: name: keycloak-admin