From 04f08ef0d910482c1a4ddb7abcf2ac74df3ad58a Mon Sep 17 00:00:00 2001 From: jem Date: Fri, 28 May 2021 20:34:29 +0200 Subject: [PATCH] symetric coding config --- doc/Development.md | 2 +- src/main/clj/dda/k8s_keycloak/base64.clj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/Development.md b/doc/Development.md index 581c2b6..d318a4d 100644 --- a/doc/Development.md +++ b/doc/Development.md @@ -106,5 +106,5 @@ kubectl get pods ``` java -jar target/uberjar/k8s-keycloak-standalone.jar valid-config.edn valid-auth.edn | kubeconform --kubernetes-version 1.19.0 --strict --skip Certificate - -java -jar target/uberjar/k8s-keycloak-standalone.jar valid-config.edn valid-auth.edn | kubectl apply -f - +java -jar target/uberjar/k8s-keycloak-standalone.jar valid-config.edn my-auth.edn | kubectl apply -f - ``` diff --git a/src/main/clj/dda/k8s_keycloak/base64.clj b/src/main/clj/dda/k8s_keycloak/base64.clj index a5de51a..84f8a08 100644 --- a/src/main/clj/dda/k8s_keycloak/base64.clj +++ b/src/main/clj/dda/k8s_keycloak/base64.clj @@ -5,7 +5,7 @@ [string] (.encodeToString (Base64/getEncoder) - (.getBytes string))) + (.getBytes string "UTF-8"))) (defn decode [string]