fix tests
This commit is contained in:
parent
859230cfb3
commit
b82b8d662e
1 changed files with 4 additions and 2 deletions
|
@ -53,8 +53,10 @@
|
||||||
:kind "Certificate"
|
:kind "Certificate"
|
||||||
:metadata {:name "shynet-cert", :namespace "default"}
|
:metadata {:name "shynet-cert", :namespace "default"}
|
||||||
:spec
|
:spec
|
||||||
{:secretName "shynet-secret"
|
{:secretName "shynet-cert"
|
||||||
:commonName "test.com"
|
:commonName "test.com"
|
||||||
|
:duration "2160h",
|
||||||
|
:renewBefore "360h",
|
||||||
:dnsNames ["test.com"]
|
:dnsNames ["test.com"]
|
||||||
:issuerRef {:name "staging", :kind "ClusterIssuer"}}}
|
:issuerRef {:name "staging", :kind "ClusterIssuer"}}}
|
||||||
(cut/generate-certificate {:fqdn "test.com" :issuer :staging}))))
|
(cut/generate-certificate {:fqdn "test.com" :issuer :staging}))))
|
||||||
|
@ -70,7 +72,7 @@
|
||||||
:cert-manager.io/cluster-issuer
|
:cert-manager.io/cluster-issuer
|
||||||
"staging"}}
|
"staging"}}
|
||||||
:spec
|
:spec
|
||||||
{:tls [{:hosts ["test.com"], :secretName "shynet-secret"}]
|
{:tls [{:hosts ["test.com"], :secretName "shynet-cert"}]
|
||||||
:rules
|
:rules
|
||||||
[{:host "test.com"
|
[{:host "test.com"
|
||||||
:http
|
:http
|
||||||
|
|
Loading…
Reference in a new issue