1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T
3 # Modifications Copyright © 2021-2022 Nordix Foundation
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
9 # http://www.apache.org/licenses/LICENSE-2.0
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.
17 #################################################################
18 # Global configuration defaults.
19 #################################################################
25 portName: tcp-zk-tunnel
30 image: scholzj/zoo-entrance:latest
32 #################################################################
34 #################################################################
36 nameOverride: dmaap-mr-cert-initializer
37 aafDeployFqi: deployer@people.osaaf.org
38 aafDeployPass: demo123456!
39 # aafDeployCredsExternalSecret: some secret
41 fqi: dmaapmr@mr.dmaap.onap.org
42 public_fqdn: mr.dmaap.onap.org
43 cadi_longitude: "-122.26147"
44 cadi_latitude: "37.78187"
46 credsPath: /opt/app/osaaf/local
47 appMountPath: /appl/dmaapMR1/bundleconfig/etc/sysprops
48 fqi_namespace: org.onap.dmaap.mr
50 cd {{ .Values.credsPath }}
51 echo "*** change jks password into shell safe one"
52 export KEYSTORE_PASSWD=$(tr -cd '[:alnum:]' < /dev/urandom | fold -w64 | head -n1)
53 keytool -storepasswd -new "${KEYSTORE_PASSWD}" \
54 -storepass "${cadi_keystore_password_jks}" \
55 -keystore {{ .Values.fqi_namespace }}.jks
56 echo "*** set key password as same password as jks keystore password"
57 keytool -keypasswd -new "${KEYSTORE_PASSWD}" \
58 -keystore {{ .Values.fqi_namespace }}.jks \
59 -keypass "${cadi_keystore_password_jks}" \
60 -storepass "${KEYSTORE_PASSWD}" -alias {{ .Values.fqi }}
61 echo "*** store the passwords"
62 echo "KEYSTORE_PASSWORD=${KEYSTORE_PASSWD}" > mycreds.prop
63 echo "KEYSTORE_PASSWORD_P12=${cadi_keystore_password_p12}" >> mycreds.prop
64 echo "TRUSTSTORE_PASSWORD=${cadi_truststore_password}" >> mycreds.prop
65 echo "*** give ownership of files to the user"
68 #################################################################
69 # Application configuration defaults.
70 #################################################################
72 image: onap/dmaap/dmaap-mr:1.4.3
76 - uid: mr-kafka-admin-secret
77 externalSecret: '{{ tpl (default "" .Values.config.jaasConfExternalSecret) . }}'
80 - name: sasl.jaas.config
81 value: '{{ .Values.config.someConfig }}'
84 # flag to enable debugging - application support required
87 # application configuration
91 # default number of instances
98 # probe configuration parameters
100 initialDelaySeconds: 10
105 # necessary to disable liveness probe when setting breakpoints
106 # in debugger so K8s doesn't restart unresponsive container
111 initialDelaySeconds: 10
119 initialDelaySeconds: 10
129 both_tls_and_plain: true
146 image: solsson/kafka-prometheus-jmx-exporter@sha256
147 imageTag: 6f82e2b0464f50da8104acd7363fb9b995001ddff77d248379f8788e78946143
154 - baseaddr: "dmaap-mr-api"
155 name: "message-router"
162 # Resource Limit flavor -By Default using small
164 # Segregation for Different environment (Small and Large)
182 #Pods Service Account
184 nameOverride: message-router