From 1eaa602699a4097915b951325d4816baf07e8ed5 Mon Sep 17 00:00:00 2001 From: mbelfares Date: Sun, 7 Jun 2026 16:01:12 +0200 Subject: [PATCH] keycloak --- .github/workflows/deploy.yml | 4 +++- helm/keycloak/values.yaml | 29 ++++++++++++++++------------- 2 files changed, 19 insertions(+), 14 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 65302d1..a3d598e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -45,8 +45,10 @@ jobs: - name: Deploy Keycloak if: ${{ inputs.service == 'all' || inputs.service == 'keycloak' }} run: | + helm repo add codecentric https://codecentric.github.io/helm-charts + helm repo update helm upgrade --install keycloak codecentric/keycloakx \ --namespace keycloak \ --create-namespace \ --values helm/keycloak/values.yaml \ - --wait + diff --git a/helm/keycloak/values.yaml b/helm/keycloak/values.yaml index 9413abb..758156f 100644 --- a/helm/keycloak/values.yaml +++ b/helm/keycloak/values.yaml @@ -1,17 +1,20 @@ -image: - repository: quay.io/keycloak/keycloak - tag: "26.3.3" +command: + - "/opt/keycloak/bin/kc.sh" + - "start-dev" -auth: - adminUser: admin - adminPassword: changeme - -postgresql: - enabled: true - auth: - username: keycloak - password: keycloak - database: keycloak +extraEnv: + - name: KEYCLOAK_ADMIN + value: admin + - name: KEYCLOAK_ADMIN_PASSWORD + value: changeme + - name: KC_HTTP_ENABLED + value: "true" + - name: KC_HOSTNAME_STRICT + value: "false" + - name: KC_PROXY + value: edge + - name: KC_DB + value: dev-file ingress: enabled: true