pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
Durgpal | 7ad4069 | 2018-08-03 07:28:36 +0000 | [diff] [blame] | 2 | # Modifications Copyright © 2018 AT&T |
pramod | ad6382f | 2018-03-28 22:32:00 +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. |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 15 | apiVersion: v1 |
Dominic Lunanuova | 1ba2b25 | 2018-04-30 19:01:31 +0000 | [diff] [blame] | 16 | kind: ConfigMap |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 17 | metadata: |
Dominic Lunanuova | 1ba2b25 | 2018-04-30 19:01:31 +0000 | [diff] [blame] | 18 | name: {{ include "common.fullname" . }}-msgrtrapi-prop-configmap |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 19 | namespace: {{ include "common.namespace" . }} |
Prateekinlinux | 30dcfe2 | 2018-09-14 02:47:04 +0000 | [diff] [blame] | 20 | labels: |
| 21 | app: {{ include "common.name" . }} |
| 22 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
Krzysztof Opasiak | 137d7cc | 2020-01-24 23:49:11 +0100 | [diff] [blame] | 23 | release: {{ include "common.release" . }} |
Prateekinlinux | 30dcfe2 | 2018-09-14 02:47:04 +0000 | [diff] [blame] | 24 | heritage: {{ .Release.Service }} |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 25 | data: |
Dominic Lunanuova | 1ba2b25 | 2018-04-30 19:01:31 +0000 | [diff] [blame] | 26 | {{ tpl (.Files.Glob "resources/config/dmaap/MsgRtrApi.properties").AsConfig . | indent 2 }} |
| 27 | --- |
| 28 | apiVersion: v1 |
| 29 | kind: ConfigMap |
| 30 | metadata: |
| 31 | name: {{ include "common.fullname" . }}-cadi-prop-configmap |
| 32 | namespace: {{ include "common.namespace" . }} |
Prateekinlinux | 30dcfe2 | 2018-09-14 02:47:04 +0000 | [diff] [blame] | 33 | labels: |
| 34 | app: {{ include "common.name" . }} |
| 35 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
Krzysztof Opasiak | 137d7cc | 2020-01-24 23:49:11 +0100 | [diff] [blame] | 36 | release: {{ include "common.release" . }} |
Prateekinlinux | 30dcfe2 | 2018-09-14 02:47:04 +0000 | [diff] [blame] | 37 | heritage: {{ .Release.Service }} |
Dominic Lunanuova | 1ba2b25 | 2018-04-30 19:01:31 +0000 | [diff] [blame] | 38 | data: |
| 39 | {{ tpl (.Files.Glob "resources/config/dmaap/cadi.properties").AsConfig . | indent 2 }} |
dglFromAtt | 671f59b | 2019-03-13 15:50:40 +0000 | [diff] [blame] | 40 | --- |
su622b | fdce659 | 2019-08-08 00:28:29 -0400 | [diff] [blame] | 41 | |
| 42 | apiVersion: v1 |
| 43 | kind: ConfigMap |
| 44 | metadata: |
| 45 | name: {{ include "common.fullname" . }}-logback-xml-configmap |
| 46 | namespace: {{ include "common.namespace" . }} |
| 47 | labels: |
| 48 | app: {{ include "common.name" . }} |
| 49 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
Krzysztof Opasiak | 137d7cc | 2020-01-24 23:49:11 +0100 | [diff] [blame] | 50 | release: {{ include "common.release" . }} |
su622b | fdce659 | 2019-08-08 00:28:29 -0400 | [diff] [blame] | 51 | heritage: {{ .Release.Service }} |
| 52 | data: |
| 53 | {{ tpl (.Files.Glob "resources/config/dmaap/logback.xml").AsConfig . | indent 2 }} |
| 54 | --- |
| 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 | --- |
| 82 | {{- if .Values.prometheus.jmx.enabled }} |
| 83 | apiVersion: v1 |
| 84 | kind: ConfigMap |
| 85 | metadata: |
| 86 | name: {{ include "common.fullname" . }}-prometheus-configmap |
| 87 | namespace: {{ include "common.namespace" . }} |
| 88 | labels: |
| 89 | app: {{ include "common.name" . }} |
| 90 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
| 91 | release: {{ include "common.release" . }} |
| 92 | heritage: {{ .Release.Service }} |
| 93 | data: |
| 94 | {{ tpl (.Files.Glob "resources/config/dmaap/jmx-mrservice-prometheus.yml").AsConfig . | indent 2 }} |
| 95 | --- |
| 96 | {{ end }} |
| 97 | |
dglFromAtt | 671f59b | 2019-03-13 15:50:40 +0000 | [diff] [blame] | 98 | |