1 # ============LICENSE_START=======================================================
2 # Copyright (C) 2019 Nordix Foundation.
3 # Modifications Copyright (C) 2019-2020 AT&T Intellectual Property.
4 # Modifications Copyright (C) 2020 Bell Canada.
5 # ================================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
18 # SPDX-License-Identifier: Apache-2.0
19 # ============LICENSE_END=========================================================
21 #################################################################
22 # Global configuration defaults.
23 #################################################################
25 nodePortPrefixExt: 304
27 envsubstImage: dibi/envsubst
29 readinessImage: onap/oom/readiness:3.0.1
31 #################################################################
33 #################################################################
37 externalSecret: '{{ tpl (default "" .Values.db.credsExternalSecret) . }}'
38 login: '{{ .Values.db.user }}'
39 password: '{{ .Values.db.password }}'
40 passwordPolicy: required
41 - uid: restserver-secret
43 externalSecret: '{{ tpl (default "" .Values.restServer.credsExternalSecret) . }}'
44 login: '{{ .Values.restServer.user }}'
45 password: '{{ .Values.restServer.password }}'
46 passwordPolicy: required
49 externalSecret: '{{ tpl (default "" .Values.healthCheckRestClient.api.credsExternalSecret) . }}'
50 login: '{{ .Values.healthCheckRestClient.api.user }}'
51 password: '{{ .Values.healthCheckRestClient.api.password }}'
52 passwordPolicy: required
53 - uid: distribution-secret
55 externalSecret: '{{ tpl (default "" .Values.healthCheckRestClient.distribution.credsExternalSecret) . }}'
56 login: '{{ .Values.healthCheckRestClient.distribution.user }}'
57 password: '{{ .Values.healthCheckRestClient.distribution.password }}'
58 passwordPolicy: required
59 - uid: keystore-password
61 externalSecret: '{{ tpl (default "" .Values.certStores.keyStorePasswordExternalSecret) . }}'
62 password: '{{ .Values.certStores.keyStorePassword }}'
63 passwordPolicy: required
64 - uid: truststore-password
66 externalSecret: '{{ tpl (default "" .Values.certStores.trustStorePasswordExternalSecret) . }}'
67 password: '{{ .Values.certStores.trustStorePassword }}'
68 passwordPolicy: required
71 keyStorePassword: Pol1cy_0nap
72 trustStorePassword: Pol1cy_0nap
75 nameOverride: policy-pap-cert-initializer
76 aafDeployFqi: deployer@people.osaaf.org
77 aafDeployPass: demo123456!
79 fqi: policy@policy.onap.org
80 public_fqdn: policy.onap.org
83 credsPath: /opt/app/osaaf/local
88 /opt/app/aaf_config/bin/agent.sh;
89 export $(/opt/app/aaf_config/bin/agent.sh local showpass
90 {{ .Values.fqi }} {{ .Values.fqdn }} | grep "^cadi_keystore_password_p12");
91 echo "export KEYSTORE='{{ .Values.credsPath }}/org.onap.policy.p12'" > {{ .Values.credsPath }}/.ci;
92 echo "export KEYSTORE_PASSWD='${cadi_keystore_password_p12}'" >> {{ .Values.credsPath }}/.ci;
93 chown -R {{ .Values.uid }}:{{ .Values.gid }} $(dirname {{ .Values.credsPath }});
96 #################################################################
97 # Application configuration defaults.
98 #################################################################
100 repository: nexus3.onap.org:10001
101 image: onap/policy-pap:2.3.3
104 # flag to enable debugging - application support required
107 # application configuration
111 password: policy_user
120 healthCheckRestClient:
128 # default number of instances
135 # probe configuration parameters
137 initialDelaySeconds: 20
139 # necessary to disable liveness probe when setting breakpoints
140 # in debugger so K8s doesn't restart unresponsive container
145 initialDelaySeconds: 20