blob: 1e9254abef99aa10000d05f7eb09d7db88392331 [file] [log] [blame]
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +01001{{/*
Krzysztof Opasiak020cdb92020-05-01 01:46:37 +02002# Copyright © 2020 Samsung Electronics
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +01003#
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*/}}
16
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +010017apiVersion: v1
18kind: ConfigMap
Krzysztof Opasiak020cdb92020-05-01 01:46:37 +020019{{- $suffix := "add-config" }}
Sylvain Desbureauxd82050c2020-03-17 10:43:40 +010020metadata: {{- include "common.resourceMetadata" (dict "suffix" $suffix "dot" . )| nindent 2 }}
21data:
Sylvain Desbureauxb8341592021-02-23 15:54:00 +010022{{ tpl (.Files.Glob "resources/*").AsConfig . | indent 2 }}
23{{ if .Values.aaf_add_config }}
Krzysztof Opasiak020cdb92020-05-01 01:46:37 +020024 aaf-add-config.sh: |
Sylvain Desbureaux911e0942020-10-26 17:49:05 +010025 {{ tpl .Values.aaf_add_config . | indent 4 | trim }}
Krzysztof Opasiak95a5f842020-05-06 23:27:18 +020026{{- end }}