Jakub Latusek | 44f0fdd | 2020-10-21 13:36:29 +0200 | [diff] [blame] | 1 | {{/* |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 2 | # Copyright © 2018 AT&T USA |
vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [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. |
Jakub Latusek | 44f0fdd | 2020-10-21 13:36:29 +0200 | [diff] [blame] | 15 | */}} |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 16 | apiVersion: v1 |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 17 | data: |
| 18 | LOG_PATH: {{ index .Values.logPath }} |
| 19 | APP: {{ index .Values.app }} |
Andreas Geissler | ad61ccf | 2023-02-23 09:17:36 +0100 | [diff] [blame] | 20 | ACTIVE_PROFILE: "basic" |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 21 | kind: ConfigMap |
| 22 | metadata: |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 23 | name: {{ include "common.fullname" . }}-configmap |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 24 | namespace: {{ include "common.namespace" . }} |
vaibhavjayas | 2f9a6d2 | 2018-09-19 13:41:29 +0000 | [diff] [blame] | 25 | labels: |
| 26 | app: {{ include "common.name" . }} |
| 27 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
Krzysztof Opasiak | 137d7cc | 2020-01-24 23:49:11 +0100 | [diff] [blame] | 28 | release: {{ include "common.release" . }} |
vaibhavjayas | 2f9a6d2 | 2018-09-19 13:41:29 +0000 | [diff] [blame] | 29 | heritage: {{ .Release.Service }} |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 30 | --- |
| 31 | apiVersion: v1 |
| 32 | kind: ConfigMap |
| 33 | metadata: |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 34 | name: {{ include "common.fullname" . }}-app-configmap |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 35 | namespace: {{ include "common.namespace" . }} |
vaibhavjayas | 2f9a6d2 | 2018-09-19 13:41:29 +0000 | [diff] [blame] | 36 | labels: |
| 37 | app: {{ include "common.name" . }} |
| 38 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
Krzysztof Opasiak | 137d7cc | 2020-01-24 23:49:11 +0100 | [diff] [blame] | 39 | release: {{ include "common.release" . }} |
vaibhavjayas | 2f9a6d2 | 2018-09-19 13:41:29 +0000 | [diff] [blame] | 40 | heritage: {{ .Release.Service }} |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 41 | data: |
Ramesh Parthasarathy | 1ceefda | 2018-09-14 21:22:43 +0000 | [diff] [blame] | 42 | {{ tpl (.Files.Glob "resources/config/overrides/*").AsConfig . | indent 2 }} |
sunilb | 0a97ab2 | 2020-02-25 10:18:48 +0530 | [diff] [blame] | 43 | --- |
| 44 | apiVersion: v1 |
| 45 | kind: ConfigMap |
| 46 | metadata: |
| 47 | name: {{ include "common.fullname" . }}-log |
| 48 | namespace: {{ include "common.namespace" . }} |
| 49 | data: |
| 50 | {{ tpl (.Files.Glob "resources/config/logback.xml").AsConfig . | indent 2 }} |