🔧(helmfile) personalize keycloak configuration

The keycloak configuration used in dev environment is too generic and we
can have a conflict with other project that are using the same ingress
domain. Also the namespace was missing in the keycloak extra ConfigMap
leading to creating it in the default namespace.
This commit is contained in:
Manuel Raynaud
2025-04-15 12:02:57 +02:00
committed by Anthony LC
parent b58c991c81
commit df173c3ce6
2 changed files with 8 additions and 7 deletions

View File

@@ -26,7 +26,7 @@ releases:
- name: KEYCLOAK_EXTRA_ARGS
value: "--import-realm"
- name: KC_HOSTNAME_URL
value: https://keycloak.127.0.0.1.nip.io
value: https://docs-keycloak.127.0.0.1.nip.io
- extraVolumes:
- name: import
configMap:
@@ -40,12 +40,13 @@ releases:
- proxy: edge
- ingress:
enabled: true
hostname: keycloak.127.0.0.1.nip.io
hostname: docs-keycloak.127.0.0.1.nip.io
- extraDeploy:
- apiVersion: v1
kind: ConfigMap
metadata:
name: docs-keycloak
namespace: {{ .Namespace }}
data:
impress.json: |
{{ readFile "../../docker/auth/realm.json" | replace "http://localhost:3200" "https://impress.127.0.0.1.nip.io" | indent 14 }}