From 0e53c9f6efd5508ad4878781cb45f76df65b0a0c Mon Sep 17 00:00:00 2001 From: Jan Malkiewicz Date: Tue, 8 Dec 2020 15:08:01 +0100 Subject: [CMPV2] Add a template for Certificate (cert-manager) This commit introduces a template for requesting a cert-manager certificate. See: https://cert-manager.io. It consist of the following parts: - a template for creating certificate in commons component - a definition of a certifcate object in sdnc component Issue-ID: OOM-2568 Signed-off-by: Jan Malkiewicz Change-Id: If58b8f12eff075d058db5a0fee3b2db5c2c93a17 --- kubernetes/sdnc/templates/certificates.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 kubernetes/sdnc/templates/certificates.yaml (limited to 'kubernetes/sdnc/templates/certificates.yaml') diff --git a/kubernetes/sdnc/templates/certificates.yaml b/kubernetes/sdnc/templates/certificates.yaml new file mode 100644 index 0000000000..dda16176a5 --- /dev/null +++ b/kubernetes/sdnc/templates/certificates.yaml @@ -0,0 +1,19 @@ +{{/* +# Copyright © 2020 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 .Values.global.CMPv2CertManagerIntegration }} +{{ include "common.certificate" . }} +{{ end }} -- cgit 1.2.3-korg