blob: 7a0213f16c5d6a268ba98c509c452980500101a6 [file] [log] [blame]
Sylvain Desbureaux0de302a2020-06-05 15:19:22 +02001{{/*
2# Copyright © 2020 Samsung Electronics, Orange
Kiran Kamineni39648722018-03-21 14:58:11 -07003#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
Sylvain Desbureaux0de302a2020-06-05 15:19:22 +020015*/}}
Kiran Kamineni39648722018-03-21 14:58:11 -070016
Sylvain Desbureaux0de302a2020-06-05 15:19:22 +020017{{ include "common.secretFast" . }}
18---
19{{- if .Values.global.aafEnabled }}
Kiran Kamineni39648722018-03-21 14:58:11 -070020apiVersion: v1
Sylvain Desbureaux0de302a2020-06-05 15:19:22 +020021kind: Secret
Kiran Kamineni39648722018-03-21 14:58:11 -070022metadata:
Sylvain Desbureaux0de302a2020-06-05 15:19:22 +020023 name: {{ include "common.fullname" . }}-int-certs
Kiran Kamineni39648722018-03-21 14:58:11 -070024 namespace: {{ include "common.namespace" . }}
25 labels:
26 app: {{ include "common.name" . }}
27 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
Sylvain Desbureaux0de302a2020-06-05 15:19:22 +020028 release: {{ .Release.Name }}
Kiran Kamineni39648722018-03-21 14:58:11 -070029 heritage: {{ .Release.Service }}
30data:
Sylvain Desbureaux0de302a2020-06-05 15:19:22 +020031{{ tpl (.Files.Glob "resources/certs/*").AsSecrets . | indent 2 }}
32{{- end }}