ingress now works

This commit is contained in:
jem 2021-05-21 12:12:20 +02:00
parent f1cdd85b0e
commit ca8a7b2a11

View file

@ -27,8 +27,8 @@
:nginx.ingress.kubernetes.io/proxy-read-timeout "300"} :nginx.ingress.kubernetes.io/proxy-read-timeout "300"}
:namespace "default"} :namespace "default"}
:spec :spec
{:tls ({:hosts ("test.de"), :secretName "keycloak-secret"}) {:tls '({:hosts ["test.de"] :secretName "keycloak-secret"})
:rules ({:host "test.de", :http {:paths ({:backend {:serviceName "keycloak", :servicePort 8080}})}})}} :rules '({:host "test.de", :http {:paths '({:backend {:serviceName "keycloak", :servicePort 8080}})}})}}
(cut/generate-ingress {:fqdn "test.de"})))) (cut/generate-ingress {:fqdn "test.de"}))))
(deftest should-generate-ingress-yaml-with-prod-issuer (deftest should-generate-ingress-yaml-with-prod-issuer
@ -46,7 +46,7 @@
:nginx.ingress.kubernetes.io/proxy-read-timeout "300"} :nginx.ingress.kubernetes.io/proxy-read-timeout "300"}
:namespace "default"} :namespace "default"}
:spec :spec
{:tls ({:hosts ("test.de"), :secretName "keycloak-secret"}) {:tls [{:hosts ["test.de"], :secretName "keycloak-secret"}]
:rules ({:host "test.de", :http {:paths ({:backend {:serviceName "keycloak", :servicePort 8080}})}})}} :rules '({:host "test.de", :http {:paths '({:backend {:serviceName "keycloak", :servicePort 8080}})}})}}
(cut/generate-ingress {:fqdn "test.de" (cut/generate-ingress {:fqdn "test.de"
:issuer :prod})))) :issuer :prod}))))