1 # ============LICENSE_START=======================================================
2 # Copyright (C) 2021-2022 Nordix Foundation.
3 # Modifications Copyright (C) 2022 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 #################################################################
23 global: # global defaults
25 centralizedLoggingEnabled: true
29 #################################################################
31 #################################################################
33 - uid: keystore-password
35 externalSecret: '{{ tpl (default "" .Values.certStores.keyStorePasswordExternalSecret) . }}'
36 password: '{{ .Values.certStores.keyStorePassword }}'
37 passwordPolicy: required
38 - uid: truststore-password
40 externalSecret: '{{ tpl (default "" .Values.certStores.trustStorePasswordExternalSecret) . }}'
41 password: '{{ .Values.certStores.trustStorePassword }}'
42 passwordPolicy: required
45 keyStorePassword: Pol1cy_0nap
46 trustStorePassword: Pol1cy_0nap
48 #################################################################
50 #################################################################
52 nameOverride: policy-gui-cert-initializer
53 aafDeployFqi: deployer@people.osaaf.org
54 aafDeployPass: demo123456!
56 fqi: policy@policy.onap.org
57 public_fqdn: policy.onap.org
60 credsPath: /opt/app/osaaf/local
65 echo "export KEYSTORE='{{ .Values.credsPath }}/org.onap.policy.p12'" > {{ .Values.credsPath }}/.ci;
66 echo "export TRUSTSTORE='{{ .Values.credsPath }}/org.onap.policy.trust.jks'" >> {{ .Values.credsPath }}/.ci;
67 echo "export KEYSTORE_PASSWD='${cadi_keystore_password_p12}'" >> {{ .Values.credsPath }}/.ci;
68 echo "export TRUSTSTORE_PASSWD='${cadi_truststore_password}'" >> {{ .Values.credsPath }}/.ci;
69 chown -R {{ .Values.uid }}:{{ .Values.gid }} $(dirname {{ .Values.credsPath }});
77 image: onap/policy-gui:2.2.4
80 # flag to enable debugging - application support required
85 path: /var/log/onap/policy/gui
87 #################################################################
88 # Application configuration defaults.
89 #################################################################
92 logstashServiceName: log-ls
94 dataRootDir: /dockerdata-nfs
96 # default number of instances
103 # probe configuration parameters
105 initialDelaySeconds: 120
108 # necessary to disable liveness probe when setting breakpoints
109 # in debugger so K8s doesn't restart unresponsive container
113 initialDelaySeconds: 10
124 # see https://wiki.onap.org/display/DW/OOM+NodePort+List
129 - baseaddr: "policygui.api"
136 # We usually recommend not to specify default resources and to leave this as a conscious
137 # choice for the user. This also increases chances charts run on environments with little
138 # resources, such as Minikube. If you do want to specify resources, uncomment the following
139 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
142 # Configure resource requests and limits
143 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
144 # Minimum memory for development is 2 CPU cores and 4GB memory
145 # Minimum memory for production is 4 CPU cores and 8GB memory
163 #Pods Service Account
165 nameOverride: policy-gui