blob: 7fb84b5ddcfbefa79e41b8ead68acb2b317bb8f9 [file] [log] [blame]
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00001# Copyright © 2017 Amdocs, Bell Canada
jhh01096592019-09-04 07:47:25 -05002# Modifications Copyright © 2018-2019 AT&T
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00003#
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.
15
Krzysztof Opasiak68b1c922020-03-26 23:59:36 +010016{{ include "common.secret" . }}
17---
vaibhav_16dec8de39a72018-01-17 12:22:52 +000018apiVersion: v1
19kind: Secret
20metadata:
mayankg2703ced85142018-03-20 05:42:53 +000021 name: {{ include "common.fullname" . }}-secret
22 namespace: {{ include "common.namespace" . }}
23 labels:
24 app: {{ include "common.name" . }}
25 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
Krzysztof Opasiak137d7cc2020-01-24 23:49:11 +010026 release: {{ include "common.release" . }}
mayankg2703ced85142018-03-20 05:42:53 +000027 heritage: {{ .Release.Service }}
mayankg2703ced85142018-03-20 05:42:53 +000028type: Opaque
jhh01096592019-09-04 07:47:25 -050029data:
30{{- range $path, $bytes := .Files.Glob "resources/secrets/*" }}
31 {{ base $path }}: {{ tpl ($.Files.Get $path) $ | b64enc | quote }}
32{{- end }}