Add keys to spec and to ingress generation

This commit is contained in:
patdyn 2024-08-28 16:35:02 +02:00
parent efad4b46a9
commit 552ca1b6c4

View file

@ -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