From 85eb5c8541be6ef5a7b75da5498d22ffbedfa05c Mon Sep 17 00:00:00 2001 From: jerger Date: Tue, 5 Jul 2022 21:50:07 +0200 Subject: [PATCH] fix tests --- src/test/cljc/dda/c4k_nextcloud/nextcloud_test.cljc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/test/cljc/dda/c4k_nextcloud/nextcloud_test.cljc b/src/test/cljc/dda/c4k_nextcloud/nextcloud_test.cljc index d55abae..88e3376 100644 --- a/src/test/cljc/dda/c4k_nextcloud/nextcloud_test.cljc +++ b/src/test/cljc/dda/c4k_nextcloud/nextcloud_test.cljc @@ -20,8 +20,10 @@ :kind "Certificate" :metadata {:name "cloud-cert", :namespace "default"} :spec - {:secretName "cloud-secret" - :commonName "xx" + {:secretName "cloud-cert" + :duration "2160h" + :renewBefore "360h", + :commonName "xx", :dnsNames ["xx"] :issuerRef {:name "prod", :kind "ClusterIssuer"}}} @@ -42,7 +44,7 @@ :ingress.kubernetes.io/proxy-read-timeout "300"} :namespace "default"} :spec - {:tls [{:hosts ["xx"], :secretName "cloud-secret"}] + {:tls [{:hosts ["xx"], :secretName "cloud-cert"}] :rules [{:host "xx" :http