blob: 7aa31769f47e9272248d8231c1a0f9ea82fb5a40 [file] [log] [blame]
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00001# Copyright © 2017 Amdocs, Bell Canada
Durgpal7ad40692018-08-03 07:28:36 +00002# Modifications Copyright © 2018 AT&T
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00003#
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.
15
pramodad6382f2018-03-28 22:32:00 +000016#################################################################
17# Global configuration defaults.
18#################################################################
19global:
20 nodePortPrefix: 302
Jerome Douceraind18576b2018-03-17 14:21:42 -040021
Sylvain Desbureauxe5b6ffc2021-02-10 12:11:53 +010022
23#################################################################
24# AAF part
25#################################################################
26certInitializer:
27 nameOverride: dmaap-mr-cert-initializer
28 aafDeployFqi: deployer@people.osaaf.org
29 aafDeployPass: demo123456!
30 # aafDeployCredsExternalSecret: some secret
31 fqdn: dmaap-mr
32 fqi: dmaapmr@mr.dmaap.onap.org
33 public_fqdn: mr.dmaap.onap.org
34 cadi_longitude: "-122.26147"
35 cadi_latitude: "37.78187"
36 app_ns: org.osaaf.aaf
37 credsPath: /opt/app/osaaf/local
38 appMountPath: /appl/dmaapMR1/bundleconfig/etc/sysprops
39 fqi_namespace: org.onap.dmaap.mr
40 aaf_add_config: |
41 cd {{ .Values.credsPath }}
42 echo "*** change jks password into shell safe one"
43 export KEYSTORE_PASSWD=$(tr -cd '[:alnum:]' < /dev/urandom | fold -w64 | head -n1)
44 keytool -storepasswd -new "${KEYSTORE_PASSWD}" \
45 -storepass "${cadi_keystore_password_jks}" \
46 -keystore {{ .Values.fqi_namespace }}.jks
47 echo "*** set key password as same password as jks keystore password"
48 keytool -keypasswd -new "${KEYSTORE_PASSWD}" \
49 -keystore {{ .Values.fqi_namespace }}.jks \
50 -keypass "${cadi_keystore_password_jks}" \
51 -storepass "${KEYSTORE_PASSWD}" -alias {{ .Values.fqi }}
52 echo "*** store the passwords"
53 echo "KEYSTORE_PASSWORD=${KEYSTORE_PASSWD}" > mycreds.prop
54 echo "KEYSTORE_PASSWORD_P12=${cadi_keystore_password_p12}" >> mycreds.prop
55 echo "TRUSTSTORE_PASSWORD=${cadi_truststore_password}" >> mycreds.prop
56 echo "*** give ownership of files to the user"
57 chown -R 1000 .
58
pramodad6382f2018-03-28 22:32:00 +000059#################################################################
60# Application configuration defaults.
61#################################################################
62# application image
efiacorfde53362021-07-22 14:19:38 +010063image: onap/dmaap/dmaap-mr:1.3.0
pramodad6382f2018-03-28 22:32:00 +000064pullPolicy: Always
65
pramodad6382f2018-03-28 22:32:00 +000066kafka:
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +000067 name: message-router-kafka
68 port: 9092
pramodad6382f2018-03-28 22:32:00 +000069zookeeper:
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +000070 name: message-router-zookeeper
71 port: 2181
pramodad6382f2018-03-28 22:32:00 +000072
73# flag to enable debugging - application support required
74debugEnabled: false
75
76# application configuration
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +000077config: {}
pramodad6382f2018-03-28 22:32:00 +000078
79# default number of instances
80replicaCount: 1
81
82nodeSelector: {}
83
84affinity: {}
85
86# probe configuration parameters
87liveness:
Sylvain Desbureaux8fade992021-12-06 11:33:11 +010088 initialDelaySeconds: 10
pramodad6382f2018-03-28 22:32:00 +000089 periodSeconds: 10
su622b8b763cd2019-10-14 15:37:37 -040090 timeoutSeconds: 1
Sylvain Desbureaux8fade992021-12-06 11:33:11 +010091 successThreshold: 1
92 failureThreshold: 3
pramodad6382f2018-03-28 22:32:00 +000093 # necessary to disable liveness probe when setting breakpoints
94 # in debugger so K8s doesn't restart unresponsive container
Sylvain Desbureauxbe728882020-03-06 08:58:23 +010095 port: api
pramodad6382f2018-03-28 22:32:00 +000096 enabled: true
97
98readiness:
Sylvain Desbureaux8fade992021-12-06 11:33:11 +010099 initialDelaySeconds: 10
pramodad6382f2018-03-28 22:32:00 +0000100 periodSeconds: 10
su622b8b763cd2019-10-14 15:37:37 -0400101 timeoutSeconds: 1
Sylvain Desbureaux8fade992021-12-06 11:33:11 +0100102 successThreshold: 1
103 failureThreshold: 3
104 port: api
105
106startup:
107 initialDelaySeconds: 10
108 periodSeconds: 10
109 timeoutSeconds: 1
110 successThreshold: 1
111 failureThreshold: 70
Sylvain Desbureauxbe728882020-03-06 08:58:23 +0100112 port: api
pramodad6382f2018-03-28 22:32:00 +0000113
114service:
115 type: NodePort
116 name: message-router
Sylvain Desbureauxbe728882020-03-06 08:58:23 +0100117 both_tls_and_plain: true
118 msb:
gummara72e6de2020-03-12 11:15:56 +0000119 - port: 3904
120 url: "/"
121 version: "v1"
122 protocol: "REST"
123 visualRange: "1"
Sylvain Desbureauxbe728882020-03-06 08:58:23 +0100124 ports:
125 - name: api
126 port: 3905
127 plain_port: 3904
128 port_protocol: http
129 nodePort: 26
pramodad6382f2018-03-28 22:32:00 +0000130
su622ba3865652020-03-25 17:26:51 -0400131prometheus:
132 jmx:
133 enabled: false
134 image: solsson/kafka-prometheus-jmx-exporter@sha256
135 imageTag: 6f82e2b0464f50da8104acd7363fb9b995001ddff77d248379f8788e78946143
su622ba3865652020-03-25 17:26:51 -0400136 port: 5556
137 targetPort: 5555
138
pramodad6382f2018-03-28 22:32:00 +0000139ingress:
140 enabled: false
Lucjan Bryndza05649652020-04-29 08:52:33 +0000141 service:
142 - baseaddr: "mr.api"
143 name: "message-router"
144 port: 3905
145 config:
Sylvain Desbureaux12b18332020-05-06 15:21:31 +0200146 ssl: "redirect"
Lucjan Bryndza05649652020-04-29 08:52:33 +0000147
pramodad6382f2018-03-28 22:32:00 +0000148
Prateekinlinux9f5dc042018-09-20 14:08:54 +0000149# Resource Limit flavor -By Default using small
150flavor: small
151# Segregation for Different environment (Small and Large)
152resources:
153 small:
154 limits:
155 cpu: 2000m
156 memory: 4Gi
157 requests:
158 cpu: 500m
159 memory: 1Gi
160 large:
161 limits:
162 cpu: 4000m
163 memory: 8Gi
164 requests:
165 cpu: 1000m
166 memory: 2Gi
167 unlimited: {}
farida azmy13388ba2021-03-17 11:33:28 +0200168
169#Pods Service Account
170serviceAccount:
171 nameOverride: message-router
172 roles:
173 - read