1 #============LICENSE_START========================================================
2 # ================================================================================
3 # Copyright (c) 2021 ZTE Corporation Intellectual Property. All rights reserved.
4 # ================================================================================
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.
16 # ============LICENSE_END=========================================================
18 #################################################################
19 # Global configuration defaults.
20 #################################################################
22 nodePortPrefixExt: 302
24 msbServiceName: msb-iag
27 #################################################################
28 # Application configuration defaults.
29 #################################################################
31 image: onap/holmes/engine-management:10.0.5
32 consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.0.0
34 #################################################################
36 #################################################################
38 nameOverride: holmes-engine-mgmt-cert-initializer
39 aafDeployFqi: deployer@people.osaaf.org
40 aafDeployPass: demo123456!
41 # aafDeployCredsExternalSecret: some secret
42 fqdn: holmes-engine-mgmt
43 fqi: holmes-engine-mgmt@holmes-engine-mgmt.onap.org
44 fqi_namespace: org.onap.holmes-engine-mgmt
45 public_fqdn: holmes-engine-mgmt.onap.org
49 credsPath: /opt/app/osaaf/local
51 echo "*** changing them into shell safe ones"
52 export KEYSTORE_PASSWORD=$(tr -cd '[:alnum:]' < /dev/urandom | fold -w64 | head -n1)
53 export TRUSTSORE_PASSWORD=$(tr -cd '[:alnum:]' < /dev/urandom | fold -w64 | head -n1)
54 cd {{ .Values.credsPath }}
55 keytool -storepasswd -new "${KEYSTORE_PASSWORD}" \
56 -storepass "${cadi_keystore_password_p12}" \
57 -keystore {{ .Values.fqi_namespace }}.p12
58 keytool -storepasswd -new "${TRUSTSORE_PASSWORD}" \
59 -storepass "${cadi_truststore_password}" \
60 -keystore {{ .Values.fqi_namespace }}.trust.jks
61 echo "*** save the generated passwords"
62 echo "KEYSTORE_PASSWORD=${KEYSTORE_PASSWORD}" > mycreds.prop
63 echo "TRUSTSORE_PASSWORD=${TRUSTSORE_PASSWORD}" >> mycreds.prop
64 echo "*** change ownership of certificates to targeted user"
67 #################################################################
69 #################################################################
73 externalSecret: '{{ tpl (default "" .Values.config.pgConfig.dbUserCredsExternalSecret) . }}'
74 login: '{{ .Values.config.pgConfig.dbUser }}'
75 password: '{{ .Values.config.pgConfig.dbUserPassword }}'
77 # application configuration
79 logstashServiceName: log-ls
81 # Addresses of other ONAP entities
92 # dbUserCredsExternalSecret
96 name: holmes-engine-mgmt
101 # probe configuration parameters
103 initialDelaySeconds: 10
105 path: /api/holmes-engine-mgmt/v1/healthcheck
111 initialDelaySeconds: 30
113 path: /api/holmes-engine-mgmt/v1/healthcheck
117 # Segregation for Different environment (Small and Large)
135 #Pods Service Account
137 nameOverride: holmes-engine-mgmt