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:0.0.1
45 containerPort: &svc_port 8080
55 # flag to enable debugging - application support required
59 # Resource Limit flavor -By Default using small
61 # default number of instances
63 # Segregation for Different environment (Small and Large)
80 # probe configuration parameters
82 initialDelaySeconds: 20
84 # necessary to disable liveness probe when setting breakpoints
85 # in debugger so K8s doesn't restart unresponsive container
91 initialDelaySeconds: 15
113 #################################################################
114 # Application configuration defaults.
115 #################################################################
119 #################################################################
120 # Postgres overriding defaults in the postgres
121 #################################################################
123 nameOverride: &postgresName cps-postgres
126 name2: cps-pg-primary
127 name3: cps-pg-replica
130 primary: cps-pg-primary
131 replica: cps-pg-replica
133 mountSubPath: cps/data
138 pgUserExternalSecret: *pgUserCredsSecretName
139 pgRootPasswordExternalSecret: *pgRootPassSecretName