1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T
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
8 # http://www.apache.org/licenses/LICENSE-2.0
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.
16 #################################################################
17 # Global configuration defaults.
18 #################################################################
23 #################################################################
25 #################################################################
27 nameOverride: dmaap-mr-cert-initializer
28 aafDeployFqi: deployer@people.osaaf.org
29 aafDeployPass: demo123456!
30 # aafDeployCredsExternalSecret: some secret
32 fqi: dmaapmr@mr.dmaap.onap.org
33 public_fqdn: mr.dmaap.onap.org
34 cadi_longitude: "-122.26147"
35 cadi_latitude: "37.78187"
37 credsPath: /opt/app/osaaf/local
38 appMountPath: /appl/dmaapMR1/bundleconfig/etc/sysprops
39 fqi_namespace: org.onap.dmaap.mr
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"
59 #################################################################
60 # Application configuration defaults.
61 #################################################################
63 image: onap/dmaap/dmaap-mr:1.1.20
67 name: message-router-kafka
70 name: message-router-zookeeper
73 # flag to enable debugging - application support required
76 # application configuration
79 # default number of instances
86 # probe configuration parameters
88 initialDelaySeconds: 70
91 # necessary to disable liveness probe when setting breakpoints
92 # in debugger so K8s doesn't restart unresponsive container
97 initialDelaySeconds: 70
105 both_tls_and_plain: true
122 image: solsson/kafka-prometheus-jmx-exporter@sha256
123 imageTag: 6f82e2b0464f50da8104acd7363fb9b995001ddff77d248379f8788e78946143
131 name: "message-router"
137 # Resource Limit flavor -By Default using small
139 # Segregation for Different environment (Small and Large)