aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/dcaegen2-services/components/dcae-hv-ves-collector/templates/certificates.yaml
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2021-05-10 20:08:44 +0000
committerGerrit Code Review <gerrit@onap.org>2021-05-10 20:08:44 +0000
commit7782c3e8da81539a348a5fd18c44dcc6a1983dc3 (patch)
tree89c50adbb4204f2df449fcee2346a9b20b06f800 /kubernetes/dcaegen2-services/components/dcae-hv-ves-collector/templates/certificates.yaml
parent3e773c05f34e96547adc9ddde6fc40df19227dec (diff)
parent9b00b56b7787992a15df2a11006828ca5a8f7046 (diff)
Merge "[DCAEGEN2] Add CMPv2 support to dcaegen2-services"
Diffstat (limited to 'kubernetes/dcaegen2-services/components/dcae-hv-ves-collector/templates/certificates.yaml')
-rw-r--r--kubernetes/dcaegen2-services/components/dcae-hv-ves-collector/templates/certificates.yaml19
1 files changed, 19 insertions, 0 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
new file mode 100644
index 0000000000..0db2138a4f
--- /dev/null
+++ b/kubernetes/dcaegen2-services/components/dcae-hv-ves-collector/templates/certificates.yaml
@@ -0,0 +1,19 @@
+{{/*
+# Copyright © 2021 Nokia
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+*/}}
+
+{{ if and .Values.certDirectory .Values.global.cmpv2Enabled .Values.global.CMPv2CertManagerIntegration }}
+{{ include "certManagerCertificate.certificate" . }}
+{{ end }}