From ca8a7b2a11aeea3fc6b1c1f8a43dda166df90db4 Mon Sep 17 00:00:00 2001 From: jem Date: Fri, 21 May 2021 12:12:20 +0200 Subject: [PATCH] ingress now works --- src/test/cljc/dda/k8s_keycloak/core_test.cljc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/cljc/dda/k8s_keycloak/core_test.cljc b/src/test/cljc/dda/k8s_keycloak/core_test.cljc index 18199c3..bc00a54 100644 --- a/src/test/cljc/dda/k8s_keycloak/core_test.cljc +++ b/src/test/cljc/dda/k8s_keycloak/core_test.cljc @@ -27,8 +27,8 @@ :nginx.ingress.kubernetes.io/proxy-read-timeout "300"} :namespace "default"} :spec - {:tls ({:hosts ("test.de"), :secretName "keycloak-secret"}) - :rules ({:host "test.de", :http {:paths ({:backend {:serviceName "keycloak", :servicePort 8080}})}})}} + {:tls '({:hosts ["test.de"] :secretName "keycloak-secret"}) + :rules '({:host "test.de", :http {:paths '({:backend {:serviceName "keycloak", :servicePort 8080}})}})}} (cut/generate-ingress {:fqdn "test.de"})))) (deftest should-generate-ingress-yaml-with-prod-issuer @@ -46,7 +46,7 @@ :nginx.ingress.kubernetes.io/proxy-read-timeout "300"} :namespace "default"} :spec - {:tls ({:hosts ("test.de"), :secretName "keycloak-secret"}) - :rules ({:host "test.de", :http {:paths ({:backend {:serviceName "keycloak", :servicePort 8080}})}})}} + {:tls [{:hosts ["test.de"], :secretName "keycloak-secret"}] + :rules '({:host "test.de", :http {:paths '({:backend {:serviceName "keycloak", :servicePort 8080}})}})}} (cut/generate-ingress {:fqdn "test.de" :issuer :prod})))) \ No newline at end of file