Remove deprecated field from cert
This commit is contained in:
parent
d5c605a8fb
commit
e310281e71
3 changed files with 2 additions and 5 deletions
|
@ -74,7 +74,6 @@
|
||||||
(assoc-in [:metadata :name] cert-name)
|
(assoc-in [:metadata :name] cert-name)
|
||||||
(assoc-in [:metadata :labels :app.kubernetes.part-of] app-name)
|
(assoc-in [:metadata :labels :app.kubernetes.part-of] app-name)
|
||||||
(assoc-in [:spec :secretName] cert-name)
|
(assoc-in [:spec :secretName] cert-name)
|
||||||
(assoc-in [:spec :commonName] (first fqdns))
|
|
||||||
(assoc-in [:spec :dnsNames] fqdns)
|
(assoc-in [:spec :dnsNames] fqdns)
|
||||||
(assoc-in [:spec :issuerRef :name] letsencrypt-issuer))))
|
(assoc-in [:spec :issuerRef :name] letsencrypt-issuer))))
|
||||||
|
|
|
@ -7,7 +7,6 @@ metadata:
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
secretName: c4k-common-cert
|
secretName: c4k-common-cert
|
||||||
commonName: FQDN
|
|
||||||
duration: 2160h # 90d
|
duration: 2160h # 90d
|
||||||
renewBefore: 360h # 15d
|
renewBefore: 360h # 15d
|
||||||
dnsNames:
|
dnsNames:
|
||||||
|
|
|
@ -109,7 +109,6 @@
|
||||||
},
|
},
|
||||||
:spec
|
:spec
|
||||||
{:secretName "test-io-cert",
|
{:secretName "test-io-cert",
|
||||||
:commonName "test.de",
|
|
||||||
:duration "2160h",
|
:duration "2160h",
|
||||||
:renewBefore "360h",
|
:renewBefore "360h",
|
||||||
:dnsNames ["test.de" "test.org" "www.test.de" "www.test.org"],
|
:dnsNames ["test.de" "test.org" "www.test.de" "www.test.org"],
|
||||||
|
|
Loading…
Reference in a new issue