1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications © 2023 Deutsche Telekom
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 #################################################################
17 # Global configuration defaults.
18 #################################################################
24 name: &pgRootPassSecretName '{{ include "common.release" . }}-vnfsdk-pg-root-pass'
26 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgRootPasswordExternalSecret) .) (hasSuffix "vnfsdk-pg-root-pass" .Values.postgres.config.pgRootPasswordExternalSecret) }}'
27 password: '{{ .Values.postgres.config.pgRootpassword }}'
30 name: &pgUserCredsSecretName '{{ include "common.release" . }}-vnfsdk-pg-user-creds'
32 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "vnfsdk-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
33 login: '{{ .Values.postgres.config.pgUserName }}'
34 password: '{{ .Values.postgres.config.pgUserPassword }}'
35 passwordPolicy: generate
37 #################################################################
38 # Application configuration defaults.
39 #################################################################
41 image: onap/vnfsdk/refrepo:1.6.3
44 # application configuration override for postgres
46 nameOverride: vnfsdk-postgres
56 mountSubPath: vnfsdk/data
61 pgUserExternalSecret: *pgUserCredsSecretName
62 pgRootPasswordExternalSecret: *pgRootPassSecretName
64 # flag to enable debugging - application support required
71 # Resource Limit flavor -By Default using small
73 # Segregation for Different environment (Small and Large)
91 # probe configuration parameters
93 initialDelaySeconds: 10
95 # necessary to disable liveness probe when setting breakpoints
96 # in debugger so K8s doesn't restart unresponsive container
100 initialDelaySeconds: 60
115 - baseaddr: "vnfsdk-refrepo-api"
123 - '{{ .Values.postgres.nameOverride }}'
125 wait_for_job_container:
127 - '{{ include "common.name" . }}-job'