1 #============LICENSE_START========================================================
2 #=================================================================================
3 # Copyright (c) 2019-2020 AT&T Intellectual Property. All rights reserved.
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.
16 # ============LICENSE_END=========================================================
18 #################################################################
19 # Global configuration defaults.
20 #################################################################
23 nodePortPrefixExt: 304
28 #################################################################
30 #################################################################
33 name: &rootPassSecretName '{{ include "common.release" . }}-dcaemod-db-root-pass'
35 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgRootPasswordExternalSecret) .) (hasSuffix "dcaemod-db-root-pass" .Values.postgres.config.pgRootPasswordExternalSecret)}}'
36 password: '{{ .Values.postgres.config.pgRootPassword }}'
37 - uid: db-primary-pass
38 name: &primaryPassSecretName '{{ include "common.release" . }}-dcaemod-db-primary-pass'
40 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgPrimaryPasswordExternalSecret) .) (hasSuffix "dcaemod-db-primary-pass" .Values.postgres.config.pgPrimaryPasswordExternalSecret)}}'
41 password: '{{ .Values.postgres.config.pgPrimaryPassword }}'
45 name: dcaemod-onboarding-api
52 - baseaddr: "onboarding"
53 name: dcaemod-onboarding-api
58 # probe configuration parameters
60 initialDelaySeconds: 60
62 # necessary to disable liveness probe when setting breakpoints
63 # in debugger so K8s doesn't restart unresponsive container
68 initialDelaySeconds: 60
71 # Should have a proper readiness endpoint or script
73 # postgres values--overriding defaults in the postgres subchart
75 nameOverride: dcaemod-db
77 name: dcaemod-postgres
78 name2: dcaemod-pg-primary
79 name3: dcaemod-pg-replica
80 suffix: svc.cluster.local
83 primary: dcaemod-pg-primary
84 replica: dcaemod-pg-replica
86 pgPrimaryPasswordExternalSecret: *primaryPassSecretName
87 pgRootPasswordExternalSecret: *rootPassSecretName
89 mountSubPath: dcaemod/data
90 mountInitPath: dcaemod
93 image: onap/org.onap.dcaegen2.platform.mod.onboardingapi:2.12.3
95 # Resource Limit flavor -By Default using small
97 # Segregation for Different environment (Small and Large)