Update configmap and test

This commit is contained in:
patdyn 2024-08-29 12:08:11 +02:00
parent 30a93b11f7
commit 9206d9f8ad
2 changed files with 4 additions and 5 deletions

View file

@ -8,11 +8,10 @@ data:
KC_HTTPS_CERTIFICATE_KEY_FILE: /etc/certs/tls.key
KC_HOSTNAME: FQDN
KC_HOSTNAME_ADMIN: ADMIN_FQDN
KC_PROXY: edge
KC_DB: postgres
KC_DB_URL_HOST: postgresql-service
KC_DB_URL_PORT: "5432"
# TODO Do we need to enable http, as we are behind ingress?
# KC_HTTP_ENABLED: true
# We need to enable http, as we are behind an ingress
KC_HTTP_ENABLED: "true"
# TODO Maybe also enable load shedding
# KC_HTTP_MAX_QUEUED_REQUESTS: 2000

View file

@ -31,10 +31,10 @@
:KC_HTTPS_CERTIFICATE_KEY_FILE "/etc/certs/tls.key",
:KC_HOSTNAME "test.de" ,
:KC_HOSTNAME_ADMIN "control.test.de",
:KC_PROXY "edge",
:KC_DB "postgres",
:KC_DB_URL_HOST "postgresql-service",
:KC_DB_URL_PORT "5432"}}
:KC_DB_URL_PORT "5432",
:KC_HTTP_ENABLED "true"}}
(cut/generate-configmap {:namespace "keycloak" :fqdn "test.de"}))))
(deftest should-generate-deployment