blob: 75a5e22d40e8ccd1db7e29d469835a74c87137b7 [file] [log] [blame]
Jakub Latusek67f4e8d2020-10-21 13:36:29 +02001{{/*
pramodad6382f2018-03-28 22:32:00 +00002# Copyright © 2017 Amdocs, Bell Canada
Durgpal7ad40692018-08-03 07:28:36 +00003# Modifications Copyright © 2018 AT&T
pramodad6382f2018-03-28 22:32:00 +00004#
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 Latusek67f4e8d2020-10-21 13:36:29 +020016*/}}
pramodad6382f2018-03-28 22:32:00 +000017apiVersion: v1
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +000018kind: ConfigMap
pramodad6382f2018-03-28 22:32:00 +000019metadata:
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +000020 name: {{ include "common.fullname" . }}-msgrtrapi-prop-configmap
pramodad6382f2018-03-28 22:32:00 +000021 namespace: {{ include "common.namespace" . }}
Prateekinlinux30dcfe22018-09-14 02:47:04 +000022 labels:
23 app: {{ include "common.name" . }}
24 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
Krzysztof Opasiak137d7cc2020-01-24 23:49:11 +010025 release: {{ include "common.release" . }}
Prateekinlinux30dcfe22018-09-14 02:47:04 +000026 heritage: {{ .Release.Service }}
pramodad6382f2018-03-28 22:32:00 +000027data:
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +000028{{ tpl (.Files.Glob "resources/config/dmaap/MsgRtrApi.properties").AsConfig . | indent 2 }}
29---
30apiVersion: v1
31kind: ConfigMap
32metadata:
su622bfdce6592019-08-08 00:28:29 -040033 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 Opasiak137d7cc2020-01-24 23:49:11 +010038 release: {{ include "common.release" . }}
su622bfdce6592019-08-08 00:28:29 -040039 heritage: {{ .Release.Service }}
40data:
41{{ tpl (.Files.Glob "resources/config/dmaap/logback.xml").AsConfig . | indent 2 }}
42---
Sylvain Desbureauxe5b6ffc2021-02-10 12:11:53 +010043apiVersion: v1
44kind: ConfigMap
45metadata:
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 }}
53data:
54{{ tpl (.Files.Glob "resources/config/etc/*").AsConfig . | indent 2 }}
55---
dglFromAtt671f59b2019-03-13 15:50:40 +000056apiVersion: v1
57kind: ConfigMap
58metadata:
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 Opasiak137d7cc2020-01-24 23:49:11 +010064 release: {{ include "common.release" . }}
dglFromAtt671f59b2019-03-13 15:50:40 +000065 heritage: {{ .Release.Service }}
66data:
67{{ tpl (.Files.Glob "resources/mr_clusters/*.json").AsConfig . | indent 2 }}
68---
69apiVersion: v1
70kind: ConfigMap
71metadata:
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 Opasiak137d7cc2020-01-24 23:49:11 +010077 release: {{ include "common.release" . }}
dglFromAtt671f59b2019-03-13 15:50:40 +000078 heritage: {{ .Release.Service }}
79data:
80{{ tpl (.Files.Glob "resources/topics/*.json").AsConfig . | indent 2 }}
su622ba3865652020-03-25 17:26:51 -040081---
Sylvain Desbureauxe5b6ffc2021-02-10 12:11:53 +010082apiVersion: v1
83kind: ConfigMap
84metadata:
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 }}
92data:
93{{ tpl (.Files.Glob "resources/config/dmaap/sys-props.properties").AsConfig . | indent 2 }}
94---
su622ba3865652020-03-25 17:26:51 -040095{{- if .Values.prometheus.jmx.enabled }}
96apiVersion: v1
97kind: ConfigMap
98metadata:
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 }}
106data:
107{{ tpl (.Files.Glob "resources/config/dmaap/jmx-mrservice-prometheus.yml").AsConfig . | indent 2 }}
108---
109{{ end }}