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 #################################################################
22 #################################################################
24 - uid: restserver-creds
26 externalSecret: '{{ tpl (default "" .Values.restServer.credsExternalSecret) . }}'
27 login: '{{ .Values.restServer.user }}'
28 password: '{{ .Values.restServer.password }}'
29 passwordPolicy: required
30 - uid: apiparameters-creds
32 externalSecret: '{{ tpl (default "" .Values.apiParameters.credsExternalSecret) . }}'
33 login: '{{ .Values.apiParameters.user }}'
34 password: '{{ .Values.apiParameters.password }}'
35 passwordPolicy: required
36 - uid: papparameters-creds
38 externalSecret: '{{ tpl (default "" .Values.papParameters.credsExternalSecret) . }}'
39 login: '{{ .Values.papParameters.user }}'
40 password: '{{ .Values.papParameters.password }}'
41 passwordPolicy: required
44 externalSecret: '{{ tpl (default "" .Values.sdcBe.credsExternalSecret) . }}'
45 login: '{{ .Values.sdcBe.user }}'
46 password: '{{ .Values.sdcBe.password }}'
47 passwordPolicy: required
48 - uid: keystore-password
50 externalSecret: '{{ tpl (default "" .Values.certStores.keyStorePasswordExternalSecret) . }}'
51 password: '{{ .Values.certStores.keyStorePassword }}'
52 passwordPolicy: required
53 - uid: truststore-password
55 externalSecret: '{{ tpl (default "" .Values.certStores.trustStorePasswordExternalSecret) . }}'
56 password: '{{ .Values.certStores.trustStorePassword }}'
57 passwordPolicy: required
59 #################################################################
60 # Global configuration defaults.
61 #################################################################
66 #################################################################
67 # Application configuration defaults.
68 #################################################################
70 image: onap/policy-distribution:2.8.1
73 # flag to enable debugging - application support required
76 # application configuration
89 password: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
91 keyStorePassword: Pol1cy_0nap
92 trustStorePassword: Pol1cy_0nap
95 nameOverride: policy-distribution-cert-initializer
96 aafDeployFqi: deployer@people.osaaf.org
97 aafDeployPass: demo123456!
99 fqi: policy@policy.onap.org
100 public_fqdn: policy.onap.org
102 cadi_longitude: "0.0"
103 credsPath: /opt/app/osaaf/local
104 app_ns: org.osaaf.aaf
108 echo "export KEYSTORE='{{ .Values.credsPath }}/org.onap.policy.p12'" >> {{ .Values.credsPath }}/.ci;
109 echo "export KEYSTORE_PASSWD='${cadi_keystore_password_p12}'" >> {{ .Values.credsPath }}/.ci;
110 chown -R {{ .Values.uid }}:{{ .Values.gid }} $(dirname {{ .Values.credsPath }});
112 # default number of instances
119 # probe configuration parameters
121 initialDelaySeconds: 20
123 # necessary to disable liveness probe when setting breakpoints
124 # in debugger so K8s doesn't restart unresponsive container
128 initialDelaySeconds: 20
133 name: policy-distribution
159 #Pods Service Account
161 nameOverride: policy-distribution
167 # Override the labels based on the Prometheus config parameter: serviceMonitorSelector.
168 # The default operator for prometheus enforces the below label.
172 port: policy-distribution
177 externalSecretNameSuffix: policy-distribution-restserver-creds
178 externalSecretUserKey: login
179 externalSecretPasswordKey: password
181 app: '{{ include "common.name" . }}'
182 chart: '{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}'
183 release: '{{ include "common.release" . }}'
184 heritage: '{{ .Release.Service }}'