blob: f9869942102a11c9acd72d8c73b6ef69c25b38ef [file] [log] [blame]
Jakub Latusekd71d26c2020-10-21 13:36:29 +02001{{/*
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00002# Copyright © 2017 Amdocs, Bell Canada
jhh01096592019-09-04 07:47:25 -05003# Modifications Copyright © 2018-2019 AT&T
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00004#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
Jakub Latusekd71d26c2020-10-21 13:36:29 +020016*/}}
vaibhav_16dece04b2fe2018-03-22 09:07:12 +000017
Krzysztof Opasiak4372e832020-09-01 19:17:20 +020018{{ include "common.secretFast" . }}
Krzysztof Opasiak68b1c922020-03-26 23:59:36 +010019---
vaibhav_16dec8de39a72018-01-17 12:22:52 +000020apiVersion: v1
21kind: Secret
22metadata:
mayankg2703ced85142018-03-20 05:42:53 +000023 name: {{ include "common.fullname" . }}-secret
24 namespace: {{ include "common.namespace" . }}
25 labels:
26 app: {{ include "common.name" . }}
27 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
Krzysztof Opasiak137d7cc2020-01-24 23:49:11 +010028 release: {{ include "common.release" . }}
mayankg2703ced85142018-03-20 05:42:53 +000029 heritage: {{ .Release.Service }}
mayankg2703ced85142018-03-20 05:42:53 +000030type: Opaque
jhh01096592019-09-04 07:47:25 -050031data:
32{{- range $path, $bytes := .Files.Glob "resources/secrets/*" }}
33 {{ base $path }}: {{ tpl ($.Files.Get $path) $ | b64enc | quote }}
34{{- end }}