ingress now works
This commit is contained in:
parent
f1cdd85b0e
commit
ca8a7b2a11
1 changed files with 4 additions and 4 deletions
|
@ -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}))))
|
Loading…
Reference in a new issue