diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2021-05-11 16:10:20 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-05-11 16:10:20 +0000 |
commit | 580328b0b20218706ea0748088510e7e24ddacda (patch) | |
tree | 24c154e891ad8dc0b9a1b5d82228d3c217271da4 /kubernetes/common | |
parent | ff4d7e578224ca533f3cfda71220000a2a0f4dbf (diff) | |
parent | 7062518d303da3de71d3f424bea5d2a87a5fc516 (diff) |
Merge "[DCAEGEN2] Add pem support in CMPv2 for dcaegen2-services"
Diffstat (limited to 'kubernetes/common')
-rw-r--r-- | kubernetes/common/certManagerCertificate/templates/_certificate.tpl | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/kubernetes/common/certManagerCertificate/templates/_certificate.tpl b/kubernetes/common/certManagerCertificate/templates/_certificate.tpl index 6fc667429e..2b9461e50e 100644 --- a/kubernetes/common/certManagerCertificate/templates/_certificate.tpl +++ b/kubernetes/common/certManagerCertificate/templates/_certificate.tpl @@ -219,8 +219,14 @@ spec: sources: - secret: name: {{ $certificatesSecretName }} - {{- if $certificate.keystore }} items: + - key: tls.key + path: key.pem + - key: tls.crt + path: cert.pem + - key: ca.crt + path: cacert.pem + {{- if $certificate.keystore }} {{- range $outputType := $certificate.keystore.outputType }} - key: keystore.{{ $outputType }} path: keystore.{{ $outputType }} @@ -278,8 +284,14 @@ spec: sources: - secret: name: {{ $certificatesSecretName }} - {{- if $certificate.keystore }} items: + - key: tls.key + path: key.pem + - key: tls.crt + path: cert.pem + - key: ca.crt + path: cacert.pem + {{- if $certificate.keystore }} {{- range $outputType := $certificate.keystore.outputType }} - key: keystore.{{ $outputType }} path: keystore.{{ $outputType }} |