Sylvain Desbureaux | d82050c | 2020-03-17 10:43:40 +0100 | [diff] [blame] | 1 | {{/* |
Krzysztof Opasiak | 020cdb9 | 2020-05-01 01:46:37 +0200 | [diff] [blame] | 2 | # Copyright © 2020 Samsung Electronics |
Sylvain Desbureaux | d82050c | 2020-03-17 10:43:40 +0100 | [diff] [blame] | 3 | # |
| 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 Desbureaux | d82050c | 2020-03-17 10:43:40 +0100 | [diff] [blame] | 17 | apiVersion: v1 |
| 18 | kind: ConfigMap |
Krzysztof Opasiak | 020cdb9 | 2020-05-01 01:46:37 +0200 | [diff] [blame] | 19 | {{- $suffix := "add-config" }} |
Sylvain Desbureaux | d82050c | 2020-03-17 10:43:40 +0100 | [diff] [blame] | 20 | metadata: {{- include "common.resourceMetadata" (dict "suffix" $suffix "dot" . )| nindent 2 }} |
| 21 | data: |
Sylvain Desbureaux | b834159 | 2021-02-23 15:54:00 +0100 | [diff] [blame^] | 22 | {{ tpl (.Files.Glob "resources/*").AsConfig . | indent 2 }} |
| 23 | {{ if .Values.aaf_add_config }} |
Krzysztof Opasiak | 020cdb9 | 2020-05-01 01:46:37 +0200 | [diff] [blame] | 24 | aaf-add-config.sh: | |
Sylvain Desbureaux | 911e094 | 2020-10-26 17:49:05 +0100 | [diff] [blame] | 25 | {{ tpl .Values.aaf_add_config . | indent 4 | trim }} |
Krzysztof Opasiak | 95a5f84 | 2020-05-06 23:27:18 +0200 | [diff] [blame] | 26 | {{- end }} |