fix tests

This commit is contained in:
jerger 2022-07-05 21:53:27 +02:00
parent 859230cfb3
commit b82b8d662e

View file

@ -53,8 +53,10 @@
:kind "Certificate"
:metadata {:name "shynet-cert", :namespace "default"}
:spec
{:secretName "shynet-secret"
{:secretName "shynet-cert"
:commonName "test.com"
:duration "2160h",
:renewBefore "360h",
:dnsNames ["test.com"]
:issuerRef {:name "staging", :kind "ClusterIssuer"}}}
(cut/generate-certificate {:fqdn "test.com" :issuer :staging}))))
@ -70,7 +72,7 @@
:cert-manager.io/cluster-issuer
"staging"}}
:spec
{:tls [{:hosts ["test.com"], :secretName "shynet-secret"}]
{:tls [{:hosts ["test.com"], :secretName "shynet-cert"}]
:rules
[{:host "test.com"
:http