1 # ============LICENSE_START=======================================================
2 # Copyright (C) 2018 Ericsson. All rights reserved.
3 # Modifications Copyright (C) 2019-2021 AT&T Intellectual Property.
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.
17 # SPDX-License-Identifier: Apache-2.0
18 # ============LICENSE_END=========================================================
20 #################################################################
21 # Global configuration defaults.
22 #################################################################
28 #################################################################
30 #################################################################
32 - uid: restserver-creds
34 externalSecret: '{{ tpl (default "" .Values.restServer.credsExternalSecret) . }}'
35 login: '{{ .Values.restServer.user }}'
36 password: '{{ .Values.restServer.password }}'
37 - uid: truststore-pass
39 externalSecret: '{{ tpl (default "" .Values.certStores.trustStorePasswordExternalSecret) . }}'
40 password: '{{ .Values.certStores.trustStorePassword }}'
41 passwordPolicy: required
44 externalSecret: '{{ tpl (default "" .Values.certStores.keyStorePasswordExternalSecret) . }}'
45 password: '{{ .Values.certStores.keyStorePassword }}'
46 passwordPolicy: required
48 #################################################################
49 # Application configuration defaults.
50 #################################################################
52 image: onap/policy-apex-pdp:2.6.1
55 # flag to enable debugging - application support required
58 # application configuration
66 keyStorePassword: Pol1cy_0nap
67 trustStorePassword: Pol1cy_0nap
70 nameOverride: policy-apex-pdp-cert-initializer
71 aafDeployFqi: deployer@people.osaaf.org
72 aafDeployPass: demo123456!
74 fqi: policy@policy.onap.org
75 public_fqdn: policy.onap.org
78 credsPath: /opt/app/osaaf/local
83 echo "export KEYSTORE='{{ .Values.credsPath }}/org.onap.policy.p12'" >> {{ .Values.credsPath }}/.ci;
84 echo "export KEYSTORE_PASSWORD='${cadi_keystore_password_p12}'" >> {{ .Values.credsPath }}/.ci;
85 chown -R {{ .Values.uid }}:{{ .Values.gid }} $(dirname {{ .Values.credsPath }});
87 # default number of instances
94 # probe configuration parameters
96 initialDelaySeconds: 20
98 # necessary to disable liveness probe when setting breakpoints
99 # in debugger so K8s doesn't restart unresponsive container
103 initialDelaySeconds: 20
108 name: policy-apex-pdp
109 portName: policy-apex-pdp
117 # Resource Limit flavor -By Default using small
118 # Segregation for Different environment (Small and Large)
137 #Pods Service Account
139 nameOverride: policy-apex-pdp