diff --git a/stable/v3io-keycloak/Chart.yaml b/stable/v3io-keycloak/Chart.yaml index 14ae94941..ef783a315 100644 --- a/stable/v3io-keycloak/Chart.yaml +++ b/stable/v3io-keycloak/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: v3io-keycloak -version: 0.2.1 +version: 0.2.2 appVersion: 20.0.5 description: Keycloak With V3IO MySQL Database maintainers: diff --git a/stable/v3io-keycloak/templates/realms-configmap.yaml b/stable/v3io-keycloak/templates/realms-configmap.yaml index b31f83fca..b163dacbf 100644 --- a/stable/v3io-keycloak/templates/realms-configmap.yaml +++ b/stable/v3io-keycloak/templates/realms-configmap.yaml @@ -1,8 +1,8 @@ -{{- if .Values.keycloak.createRealmsConfigMap -}} +{{- if .Values.keycloak.createRealmsSecret -}} apiVersion: v1 -kind: ConfigMap +kind: Secret metadata: - name: {{ .Values.keycloak.realmsConfigMap }} + name: {{ .Values.keycloak.realmsSecret }} labels: {{ include "v3io-keycloak.labels" . | nindent 4 }} data: diff --git a/stable/v3io-keycloak/values.yaml b/stable/v3io-keycloak/values.yaml index a5952474c..dc35ba8e0 100644 --- a/stable/v3io-keycloak/values.yaml +++ b/stable/v3io-keycloak/values.yaml @@ -31,14 +31,14 @@ keycloak: - name: KEYCLOAK_DATABASE_VENDOR value: mysql - name: KEYCLOAK_EXTRA_ARGS - value: "-Dkeycloak.migration.action=import -Dkeycloak.migration.provider=singleFile -Dkeycloak.migration.file=/realm_config/realms.json" + value: "-Dkeycloak.migration.action=import -Dkeycloak.migration.provider=singleFile -Dkeycloak.migration.strategy=IGNORE_EXISTING -Dkeycloak.migration.file=/realm_config/realms.json" - createRealmsConfigMap: true - realmsConfigMap: v3io-keycloak-realms + createRealmsSecret: true + realmsSecret: v3io-keycloak-realms extraVolumes: | - name: realms - configMap: - name: {{ .Values.realmsConfigMap }} + secret: + secretName: {{ .Values.realmsSecret }} extraVolumeMounts: - name: realms