blob: 31ba543c0e356cb68ce8d82c38edad3f922c1399 [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
vaibhav_16dec8de39a72018-01-17 12:22:52 +000016apiVersion: v1
17kind: Secret
18metadata:
mayankg2703ced85142018-03-20 05:42:53 +000019 name: {{ include "common.fullname" . }}-secret
20 namespace: {{ include "common.namespace" . }}
21 labels:
22 app: {{ include "common.name" . }}
23 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
24 release: {{ .Release.Name }}
25 heritage: {{ .Release.Service }}
mayankg2703ced85142018-03-20 05:42:53 +000026type: Opaque
jhh01096592019-09-04 07:47:25 -050027data:
28{{- range $path, $bytes := .Files.Glob "resources/secrets/*" }}
29 {{ base $path }}: {{ tpl ($.Files.Get $path) $ | b64enc | quote }}
30{{- end }}