Sylvain Desbureaux | 9e2ca9d | 2021-01-11 08:15:10 +0000 | [diff] [blame] | 1 | {{/* |
| 2 | # ============LICENSE_START==================================================== |
| 3 | # org.onap.aaf |
| 4 | # =========================================================================== |
| 5 | # Copyright (c) 2020 AT&T Intellectual Property. All rights reserved. |
| 6 | # =========================================================================== |
| 7 | # |
| 8 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 9 | # you may not use this file except in compliance with the License. |
| 10 | # You may obtain a copy of the License at |
| 11 | # |
| 12 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | # |
| 14 | # Unless required by applicable law or agreed to in writing, software |
| 15 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | # See the License for the specific language governing permissions and |
| 18 | # limitations under the License. |
| 19 | */}} |
| 20 | |
| 21 | apiVersion: v1 |
| 22 | kind: ConfigMap |
| 23 | metadata: |
| 24 | name: {{ include "common.fullname" . }}-cass-init-dats |
| 25 | namespace: {{ include "common.namespace" . }} |
| 26 | labels: |
| 27 | app: {{ include "common.name" . }} |
| 28 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 29 | release: {{ include "common.release" . }} |
| 30 | heritage: {{ .Release.Service }} |
| 31 | data: |
| 32 | {{ tpl (.Files.Glob "resources/cass-init-dats/*").AsConfig . | indent 2 }} |
| 33 | --- |
| 34 | apiVersion: v1 |
| 35 | kind: ConfigMap |
| 36 | metadata: |
| 37 | name: {{ include "common.fullname" . }}-cass-init-data |
| 38 | namespace: {{ include "common.namespace" . }} |
| 39 | labels: |
| 40 | app: {{ include "common.name" . }} |
| 41 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 42 | release: {{ include "common.release" . }} |
| 43 | heritage: {{ .Release.Service }} |
| 44 | data: |
| 45 | {{ tpl (.Files.Glob "resources/cass-init-data/*").AsConfig . | indent 2 }} |