diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2021-05-28 19:52:04 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-05-28 19:52:04 +0000 |
commit | 84b962398213641e656e8d1750b83f480f531563 (patch) | |
tree | a084aa3af8166515aeef8103d6714a8270d61df8 /kubernetes/dcaegen2-services/components/dcae-hv-ves-collector | |
parent | 11c87298fa0e735756eacf6384a358b96d50af5c (diff) | |
parent | 7b09503a8bfcf128c021b6072bec24a1cc93317a (diff) |
Merge "[DCAEGEN2] Update CMPv2 certs usage in dcaegen2-services"
Diffstat (limited to 'kubernetes/dcaegen2-services/components/dcae-hv-ves-collector')
-rw-r--r-- | kubernetes/dcaegen2-services/components/dcae-hv-ves-collector/templates/certificates.yaml | 2 | ||||
-rw-r--r-- | kubernetes/dcaegen2-services/components/dcae-hv-ves-collector/values.yaml | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/kubernetes/dcaegen2-services/components/dcae-hv-ves-collector/templates/certificates.yaml b/kubernetes/dcaegen2-services/components/dcae-hv-ves-collector/templates/certificates.yaml index 0db2138a4f..12a05885ca 100644 --- a/kubernetes/dcaegen2-services/components/dcae-hv-ves-collector/templates/certificates.yaml +++ b/kubernetes/dcaegen2-services/components/dcae-hv-ves-collector/templates/certificates.yaml @@ -14,6 +14,6 @@ # limitations under the License. */}} -{{ if and .Values.certDirectory .Values.global.cmpv2Enabled .Values.global.CMPv2CertManagerIntegration }} +{{- if (include "dcaegen2-services-common.shouldUseCmpv2Certificates" .) -}} {{ include "certManagerCertificate.certificate" . }} {{ end }} diff --git a/kubernetes/dcaegen2-services/components/dcae-hv-ves-collector/values.yaml b/kubernetes/dcaegen2-services/components/dcae-hv-ves-collector/values.yaml index bb65f37f73..223789a75f 100644 --- a/kubernetes/dcaegen2-services/components/dcae-hv-ves-collector/values.yaml +++ b/kubernetes/dcaegen2-services/components/dcae-hv-ves-collector/values.yaml @@ -65,8 +65,13 @@ secrets: passwordPolicy: required # CMPv2 certificate -# It is used only when global parameter cmpv2Enabled is true +# It is used only when: +# - certDirectory is set +# - global cmpv2Enabled flag is set to true +# - global CertManagerIntegration flag is set to true +# - flag useCmpv2Certificates is set to true # Disabled by default +useCmpv2Certificates: false certificates: - mountPath: /etc/ves-hv/ssl/external commonName: dcae-hv-ves-collector |