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 |
| 17 | kind: ConfigMap |
| 18 | metadata: |
Ramesh Parthasarathy | 3cd3fb1 | 2018-09-05 01:47:29 +0000 | [diff] [blame] | 19 | name: {{ include "common.fullname" . }}-configmap |
Mike Elliott | d32d36e | 2018-02-12 15:54:03 -0500 | [diff] [blame] | 20 | namespace: {{ include "common.namespace" . }} |
vaibhavjayas | 2f9a6d2 | 2018-09-19 13:41:29 +0000 | [diff] [blame] | 21 | labels: |
| 22 | app: {{ include "common.name" . }} |
| 23 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
Krzysztof Opasiak | 137d7cc | 2020-01-24 23:49:11 +0100 | [diff] [blame] | 24 | release: {{ include "common.release" . }} |
vaibhavjayas | 2f9a6d2 | 2018-09-19 13:41:29 +0000 | [diff] [blame] | 25 | heritage: {{ .Release.Service }} |
Andreas Geissler | ad61ccf | 2023-02-23 09:17:36 +0100 | [diff] [blame] | 26 | data: |
| 27 | LOG_PATH: {{ index .Values.logPath }} |
| 28 | APP: {{ index .Values.app }} |
| 29 | ACTIVE_PROFILE: "basic" |
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 }} |