1 # Copyright (C) 2021 Pantheon.tech, Orange
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
33 #################################################################
34 # Global configuration defaults.
35 #################################################################
37 # bitnami image doesn't support well single quote in password
38 passwordStrengthOverride: basic
42 baseurl: "simpledemo.onap.org"
44 image: onap/cps-and-nf-proxy:1.0.0
45 containerPort: &svc_port 8080
48 # Set it for pre loading xnfdata, else set to null
49 liquibaseLabels: xnf-data-preload
59 # flag to enable debugging - application support required
63 # Resource Limit flavor -By Default using small
65 # default number of instances
67 # Segregation for Different environment (Small and Large)
84 # probe configuration parameters
86 initialDelaySeconds: 20
88 # necessary to disable liveness probe when setting breakpoints
89 # in debugger so K8s doesn't restart unresponsive container
95 initialDelaySeconds: 15
117 #################################################################
118 # Application configuration defaults.
119 #################################################################
123 #################################################################
124 # Postgres overriding defaults in the postgres
125 #################################################################
127 nameOverride: &postgresName cps-postgres
130 name2: cps-pg-primary
131 name3: cps-pg-replica
134 primary: cps-pg-primary
135 replica: cps-pg-replica
137 mountSubPath: cps/data
142 pgUserExternalSecret: *pgUserCredsSecretName
143 pgRootPasswordExternalSecret: *pgRootPassSecretName