From 552ca1b6c4e3e231f5b119fb5f02b5f20a03b2b4 Mon Sep 17 00:00:00 2001 From: patdyn Date: Wed, 28 Aug 2024 16:35:02 +0200 Subject: [PATCH] Add keys to spec and to ingress generation --- src/main/cljc/dda/c4k_keycloak/keycloak.cljc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/cljc/dda/c4k_keycloak/keycloak.cljc b/src/main/cljc/dda/c4k_keycloak/keycloak.cljc index 0a4b2f8..ed8fcf2 100644 --- a/src/main/cljc/dda/c4k_keycloak/keycloak.cljc +++ b/src/main/cljc/dda/c4k_keycloak/keycloak.cljc @@ -18,7 +18,9 @@ (def config? (s/keys :req-un [::fqdn] :opt-un [::issuer - ::namespace])) + ::namespace + ::max-rate + ::burst-rate])) (def auth? (s/keys :req-un [::keycloak-admin-user ::keycloak-admin-password])) @@ -31,7 +33,7 @@ [config config?] (let [{:keys [fqdn max-rate max-concurrent-requests namespace]} config] (ing/generate-simple-ingress (merge - {:service-name "forgejo-service" + {:service-name "keycloak-service" :service-port 3000 :fqdns [fqdn] :average-rate max-rate