Jakub Latusek | e2b7dd3 | 2020-10-21 13:36:29 +0200 | [diff] [blame^] | 1 | {{/* |
Donald Hunter | b4b9a05 | 2018-09-17 09:17:27 +0100 | [diff] [blame] | 2 | # ================================================================================ |
| 3 | # Copyright (c) 2018 Cisco Systems. All rights reserved. |
| 4 | # ================================================================================ |
| 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. |
| 16 | # ============LICENSE_END========================================================= |
Jakub Latusek | e2b7dd3 | 2020-10-21 13:36:29 +0200 | [diff] [blame^] | 17 | */}} |
Donald Hunter | b4b9a05 | 2018-09-17 09:17:27 +0100 | [diff] [blame] | 18 | |
| 19 | apiVersion: v1 |
| 20 | kind: ConfigMap |
| 21 | metadata: |
| 22 | name: {{ include "common.fullname" . }}-inputs |
| 23 | namespace: {{ include "common.namespace" . }} |
| 24 | data: |
| 25 | {{ tpl (.Files.Glob "resources/inputs/*").AsConfig . | indent 2 }} |
| 26 | |
| 27 | --- |
| 28 | apiVersion: v1 |
| 29 | kind: ConfigMap |
| 30 | metadata: |
| 31 | name: {{ include "common.fullname" . }}-scripts |
| 32 | namespace: {{ include "common.namespace" . }} |
| 33 | data: |
| 34 | {{ tpl (.Files.Glob "resources/scripts/*").AsConfig . | indent 2 }} |
| 35 | |
| 36 | --- |
| 37 | apiVersion: v1 |
| 38 | kind: ConfigMap |
| 39 | metadata: |
| 40 | name: {{ include "common.fullname" . }}-secrets |
| 41 | namespace: {{ include "common.namespace" . }} |
| 42 | data: |
| 43 | pnda.pem: | |
| 44 | {{ .Values.pnda_secret | indent 4 }} |
| 45 | |