Fix indentation

This commit is contained in:
bom 2023-01-20 15:15:17 +01:00
parent 0882afd5d1
commit 079f9be04a

View file

@ -40,10 +40,10 @@
(defn-spec generate-secret cp/map-or-seq? (defn-spec generate-secret cp/map-or-seq?
[auth auth?] [auth auth?]
(let [{:keys [keycloak-admin-user keycloak-admin-password]} auth] (let [{:keys [keycloak-admin-user keycloak-admin-password]} auth]
(-> (->
(yaml/load-as-edn "keycloak/secret.yaml") (yaml/load-as-edn "keycloak/secret.yaml")
(cm/replace-key-value :keycloak-user (b64/encode keycloak-admin-user)) (cm/replace-key-value :keycloak-user (b64/encode keycloak-admin-user))
(cm/replace-key-value :keycloak-password (b64/encode keycloak-admin-password))))) (cm/replace-key-value :keycloak-password (b64/encode keycloak-admin-password)))))
(defn-spec generate-service cp/map-or-seq? [] (defn-spec generate-service cp/map-or-seq? []
(yaml/load-as-edn "keycloak/service.yaml")) (yaml/load-as-edn "keycloak/service.yaml"))