From 44dfc714c19eda7465417da43e3c7de49d6be012 Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Wed, 23 Dec 2020 16:16:35 +0100 Subject: [PATCH] Fix connection string params --- base/kc-deployment.yaml | 7 +++---- base/kustomization.yaml | 6 +----- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/base/kc-deployment.yaml b/base/kc-deployment.yaml index 63417b9..b685dd6 100644 --- a/base/kc-deployment.yaml +++ b/base/kc-deployment.yaml @@ -3,7 +3,7 @@ kind: Deployment metadata: name: kc spec: - replicas: 1 + replicas: 3 strategy: type: RollingUpdate rollingUpdate: @@ -24,8 +24,7 @@ spec: - name: keycloak image: yolean/keycloakx args: - # Development with 1 replicas - - --cluster=local + - -Djgroups.dns.query=jgroups-dns-ping env: - name: KC_DB_USERNAME value: keycloak @@ -39,7 +38,7 @@ spec: - name: KC_DB_URL_DATABASE value: keycloak - name: KC_DB_URL_PROPERTIES - value: characterEncoding=UTF-8 + value: "?characterEncoding=UTF-8" ports: - name: http containerPort: 8080 diff --git a/base/kustomization.yaml b/base/kustomization.yaml index 3c1f895..3499c4e 100644 --- a/base/kustomization.yaml +++ b/base/kustomization.yaml @@ -1,11 +1,7 @@ namespace: keycloakxdev bases: -#- ../base-mysql +- ../base-secret - ../conf resources: - jgroups-dns-ping-service.yaml - kc-deployment.yaml -secretGenerator: -- name: keycloak - literals: - - sqlpassword=EXAMPLE