Jakub Latusek | 67f4e8d | 2020-10-21 13:36:29 +0200 | [diff] [blame] | 1 | {{/* |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 2 | # Copyright © 2017 Amdocs, Bell Canada |
Durgpal | 7ad4069 | 2018-08-03 07:28:36 +0000 | [diff] [blame] | 3 | # Modifications Copyright © 2018 AT&T |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 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. |
Jakub Latusek | 67f4e8d | 2020-10-21 13:36:29 +0200 | [diff] [blame] | 16 | */}} |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 17 | apiVersion: v1 |
Dominic Lunanuova | 1ba2b25 | 2018-04-30 19:01:31 +0000 | [diff] [blame] | 18 | kind: ConfigMap |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 19 | metadata: |
Dominic Lunanuova | 1ba2b25 | 2018-04-30 19:01:31 +0000 | [diff] [blame] | 20 | name: {{ include "common.fullname" . }}-msgrtrapi-prop-configmap |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 21 | namespace: {{ include "common.namespace" . }} |
Prateekinlinux | 30dcfe2 | 2018-09-14 02:47:04 +0000 | [diff] [blame] | 22 | labels: |
| 23 | app: {{ include "common.name" . }} |
| 24 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
Krzysztof Opasiak | 137d7cc | 2020-01-24 23:49:11 +0100 | [diff] [blame] | 25 | release: {{ include "common.release" . }} |
Prateekinlinux | 30dcfe2 | 2018-09-14 02:47:04 +0000 | [diff] [blame] | 26 | heritage: {{ .Release.Service }} |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 27 | data: |
Dominic Lunanuova | 1ba2b25 | 2018-04-30 19:01:31 +0000 | [diff] [blame] | 28 | {{ tpl (.Files.Glob "resources/config/dmaap/MsgRtrApi.properties").AsConfig . | indent 2 }} |
| 29 | --- |
| 30 | apiVersion: v1 |
| 31 | kind: ConfigMap |
| 32 | metadata: |
su622b | fdce659 | 2019-08-08 00:28:29 -0400 | [diff] [blame] | 33 | name: {{ include "common.fullname" . }}-logback-xml-configmap |
| 34 | namespace: {{ include "common.namespace" . }} |
| 35 | labels: |
| 36 | app: {{ include "common.name" . }} |
| 37 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
Krzysztof Opasiak | 137d7cc | 2020-01-24 23:49:11 +0100 | [diff] [blame] | 38 | release: {{ include "common.release" . }} |
su622b | fdce659 | 2019-08-08 00:28:29 -0400 | [diff] [blame] | 39 | heritage: {{ .Release.Service }} |
| 40 | data: |
| 41 | {{ tpl (.Files.Glob "resources/config/dmaap/logback.xml").AsConfig . | indent 2 }} |
| 42 | --- |
Sylvain Desbureaux | e5b6ffc | 2021-02-10 12:11:53 +0100 | [diff] [blame] | 43 | apiVersion: v1 |
| 44 | kind: ConfigMap |
| 45 | metadata: |
| 46 | name: {{ include "common.fullname" . }}-etc |
| 47 | namespace: {{ include "common.namespace" . }} |
| 48 | labels: |
| 49 | app: {{ include "common.name" . }} |
| 50 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 51 | release: {{ include "common.release" . }} |
| 52 | heritage: {{ .Release.Service }} |
| 53 | data: |
| 54 | {{ tpl (.Files.Glob "resources/config/etc/*").AsConfig . | indent 2 }} |
| 55 | --- |
dglFromAtt | 671f59b | 2019-03-13 15:50:40 +0000 | [diff] [blame] | 56 | apiVersion: v1 |
| 57 | kind: ConfigMap |
| 58 | metadata: |
| 59 | name: {{ include "common.fullname" . }}-dbc-mrclusters |
| 60 | namespace: {{ include "common.namespace" . }} |
| 61 | labels: |
| 62 | app: {{ include "common.name" . }} |
| 63 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
Krzysztof Opasiak | 137d7cc | 2020-01-24 23:49:11 +0100 | [diff] [blame] | 64 | release: {{ include "common.release" . }} |
dglFromAtt | 671f59b | 2019-03-13 15:50:40 +0000 | [diff] [blame] | 65 | heritage: {{ .Release.Service }} |
| 66 | data: |
| 67 | {{ tpl (.Files.Glob "resources/mr_clusters/*.json").AsConfig . | indent 2 }} |
| 68 | --- |
| 69 | apiVersion: v1 |
| 70 | kind: ConfigMap |
| 71 | metadata: |
| 72 | name: {{ include "common.fullname" . }}-dbc-topics |
| 73 | namespace: {{ include "common.namespace" . }} |
| 74 | labels: |
| 75 | app: {{ include "common.name" . }} |
| 76 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
Krzysztof Opasiak | 137d7cc | 2020-01-24 23:49:11 +0100 | [diff] [blame] | 77 | release: {{ include "common.release" . }} |
dglFromAtt | 671f59b | 2019-03-13 15:50:40 +0000 | [diff] [blame] | 78 | heritage: {{ .Release.Service }} |
| 79 | data: |
| 80 | {{ tpl (.Files.Glob "resources/topics/*.json").AsConfig . | indent 2 }} |
su622b | a386565 | 2020-03-25 17:26:51 -0400 | [diff] [blame] | 81 | --- |
Sylvain Desbureaux | e5b6ffc | 2021-02-10 12:11:53 +0100 | [diff] [blame] | 82 | apiVersion: v1 |
| 83 | kind: ConfigMap |
| 84 | metadata: |
| 85 | name: {{ include "common.fullname" . }}-sys-props |
| 86 | namespace: {{ include "common.namespace" . }} |
| 87 | labels: |
| 88 | app: {{ include "common.name" . }} |
| 89 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 90 | release: {{ include "common.release" . }} |
| 91 | heritage: {{ .Release.Service }} |
| 92 | data: |
| 93 | {{ tpl (.Files.Glob "resources/config/dmaap/sys-props.properties").AsConfig . | indent 2 }} |
| 94 | --- |
su622b | a386565 | 2020-03-25 17:26:51 -0400 | [diff] [blame] | 95 | {{- if .Values.prometheus.jmx.enabled }} |
| 96 | apiVersion: v1 |
| 97 | kind: ConfigMap |
| 98 | metadata: |
| 99 | name: {{ include "common.fullname" . }}-prometheus-configmap |
| 100 | namespace: {{ include "common.namespace" . }} |
| 101 | labels: |
| 102 | app: {{ include "common.name" . }} |
| 103 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 104 | release: {{ include "common.release" . }} |
| 105 | heritage: {{ .Release.Service }} |
| 106 | data: |
| 107 | {{ tpl (.Files.Glob "resources/config/dmaap/jmx-mrservice-prometheus.yml").AsConfig . | indent 2 }} |
| 108 | --- |
| 109 | {{ end }} |