1 # Copyright (C) 2021 Pantheon.tech, Orange, Bell Canada.
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 #################################################################
17 #################################################################
20 name: &pgRootPassSecretName '{{ include "common.release" . }}-cps-pg-root-pass'
22 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgRootPasswordExternalSecret) .) (hasSuffix "cps-pg-root-pass" .Values.postgres.config.pgRootPasswordExternalSecret) }}'
23 password: '{{ .Values.postgres.config.pgRootpassword }}'
26 name: &pgUserCredsSecretName '{{ include "common.release" . }}-cps-pg-user-creds'
28 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "cps-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
29 login: '{{ .Values.postgres.config.pgUserName }}'
30 password: '{{ .Values.postgres.config.pgUserPassword }}'
31 passwordPolicy: generate
34 externalSecret: '{{ tpl (default "" .Values.config.appUserExternalSecret) . }}'
35 login: '{{ .Values.config.appUserName }}'
36 password: '{{ .Values.config.appUserPassword }}'
37 passwordPolicy: generate
39 #################################################################
40 # Global configuration defaults.
41 #################################################################
43 # bitnami image doesn't support well single quote in password
44 passwordStrengthOverride: basic
48 baseurl: "simpledemo.onap.org"
50 image: onap/cps-and-nf-proxy:1.0.1
51 containerPort: &svc_port 8080
61 # flag to enable debugging - application support required
65 # Resource Limit flavor -By Default using small
67 # default number of instances
69 # Segregation for Different environment (Small and Large)
86 # probe configuration parameters
88 initialDelaySeconds: 20
90 # necessary to disable liveness probe when setting breakpoints
91 # in debugger so K8s doesn't restart unresponsive container
97 initialDelaySeconds: 15
119 #################################################################
120 # Application configuration defaults.
121 #################################################################
125 # Set it for pre loading xnfdata, else set to null
126 liquibaseLabels: xnf-data-preload
128 # REST API basic authentication credentials (passsword is generated if not provided)
136 #################################################################
137 # Postgres overriding defaults in the postgres
138 #################################################################
140 nameOverride: &postgresName cps-postgres
143 name2: cps-pg-primary
144 name3: cps-pg-replica
147 primary: cps-pg-primary
148 replica: cps-pg-replica
150 mountSubPath: cps/data
155 pgUserExternalSecret: *pgUserCredsSecretName
156 pgRootPasswordExternalSecret: *pgRootPassSecretName