1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2021 ZTE
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 #################################################################
21 consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.0.0
22 #Service Names of the postgres db to connect to.
23 #Override it to dbc-pg if localCluster is enabled.
25 #This flag allows SO to instantiate its own mariadb-galera cluster
26 #When changing it to "true", also set "globalCluster: false"
27 #as the dependency check will not work otherwise (Chart.yaml)
32 name2: &postgres tcp-pgset-primary
33 name3: tcp-pgset-replica
38 name: &pgRootPassSecretName '{{ include "common.release" . }}-holmes-pg-root-pass'
40 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgRootPasswordExternalSecret) .) (hasSuffix "holmes-pg-root-pass" .Values.postgres.config.pgRootPasswordExternalSecret) }}'
41 password: '{{ .Values.postgres.config.pgRootPassword }}'
43 name: &pgUserCredsSecretName '{{ include "common.release" . }}-holmes-pg-user-creds'
45 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "holmes-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
46 login: '{{ .Values.postgres.config.pgUserName }}'
47 password: '{{ .Values.postgres.config.pgUserPassword }}'
48 passwordPolicy: generate
50 #################################################################
51 # Application configuration defaults.
52 #################################################################
53 pullPolicy: IfNotPresent
56 logstashServiceName: log-ls
59 # application configuration override for postgres
61 nameOverride: holmes-pg
64 name2: &dbHost holmes-postgres-primary
65 name3: holmes-postgres-replica
68 primary: holmes-postgres-primary
69 replica: holmes-postgres-replica
72 pgDatabase: &dbName holmes
73 pgUserExternalSecret: *pgUserCredsSecretName
74 pgRootPasswordExternalSecret: *pgRootPassSecretName
75 pgPort: &dbPort "5432"
77 mountSubPath: holmes/data
81 nameOverride: holmes-postgres-init
86 pgUserExternalSecret: *pgUserCredsSecretName
87 # pgPrimaryPassword: password
88 # pgUserPassword: password
89 # pgRootPassword: password
98 dbUserCredsExternalSecret: *pgUserCredsSecretName
107 dbUserCredsExternalSecret: *pgUserCredsSecretName
109 # Resource Limit flavor -By Default using small