blob: 4ede9a15fdfb2d9bad6c3632ba4bc1e1b8d7d301 [file] [log] [blame]
GuangrongFucc1316b2021-02-03 17:29:08 +08001# Copyright © 2017 Amdocs, Bell Canada
2# Modifications Copyright © 2021 ZTE
3#
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
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
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.
15
16#################################################################
17# Global configuration defaults.
18#################################################################
19global:
20 nodePortPrefix: 302
21 consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.0.0
Abdelmuhaimen Seaudia0af4242021-10-11 11:56:08 +020022 #Service Names of the postgres db to connect to.
23 #Override it to dbc-pg if localCluster is enabled.
24 postgres:
Andreas Geisslerf51bbef2023-03-31 12:07:23 +020025 #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)
Abdelmuhaimen Seaudia0af4242021-10-11 11:56:08 +020028 localCluster: false
Andreas Geisslerf51bbef2023-03-31 12:07:23 +020029 globalCluster: true
Abdelmuhaimen Seaudia0af4242021-10-11 11:56:08 +020030 service:
31 name: pgset
32 name2: &postgres tcp-pgset-primary
33 name3: tcp-pgset-replica
34 container:
35 name: postgres
GuangrongFucc1316b2021-02-03 17:29:08 +080036secrets:
37- uid: pg-root-pass
38 name: &pgRootPassSecretName '{{ include "common.release" . }}-holmes-pg-root-pass'
39 type: password
40 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgRootPasswordExternalSecret) .) (hasSuffix "holmes-pg-root-pass" .Values.postgres.config.pgRootPasswordExternalSecret) }}'
41 password: '{{ .Values.postgres.config.pgRootPassword }}'
42- uid: pg-user-creds
43 name: &pgUserCredsSecretName '{{ include "common.release" . }}-holmes-pg-user-creds'
44 type: basicAuth
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
49
GuangrongFucc1316b2021-02-03 17:29:08 +080050#################################################################
51# Application configuration defaults.
52#################################################################
53pullPolicy: IfNotPresent
54
55config:
56 logstashServiceName: log-ls
57 logstashPort: 5044
58
59# application configuration override for postgres
60postgres:
61 nameOverride: holmes-pg
62 service:
63 name: holmes-postgres
64 name2: &dbHost holmes-postgres-primary
65 name3: holmes-postgres-replica
66 container:
67 name:
68 primary: holmes-postgres-primary
69 replica: holmes-postgres-replica
70 config:
71 pgUserName: holmes
72 pgDatabase: &dbName holmes
73 pgUserExternalSecret: *pgUserCredsSecretName
74 pgRootPasswordExternalSecret: *pgRootPassSecretName
75 pgPort: &dbPort "5432"
76 persistence:
77 mountSubPath: holmes/data
78 mountInitPath: holmes
79
Abdelmuhaimen Seaudia0af4242021-10-11 11:56:08 +020080postgres-init:
81 nameOverride: holmes-postgres-init
82 config:
83 pgUserName: holmes
84 pgDatabase: *dbName
85 pgDataPath: data
86 pgUserExternalSecret: *pgUserCredsSecretName
87 # pgPrimaryPassword: password
88 # pgUserPassword: password
89 # pgRootPassword: password
vladimir turokd8044182023-07-27 16:28:36 +020090 serviceAccount:
91 nameOverride: holmes-postgres-init
Abdelmuhaimen Seaudia0af4242021-10-11 11:56:08 +020092
GuangrongFucc1316b2021-02-03 17:29:08 +080093holmes-engine-mgmt:
94 config:
95 pgConfig:
96 dbName: *dbName
Abdelmuhaimen Seaudia0af4242021-10-11 11:56:08 +020097 # dbHost: *dbHost
98 dbHost: *postgres
GuangrongFucc1316b2021-02-03 17:29:08 +080099 dbPort: *dbPort
100 dbUserCredsExternalSecret: *pgUserCredsSecretName
101
102holmes-rule-mgmt:
103 config:
104 pgConfig:
105 dbName: *dbName
Abdelmuhaimen Seaudia0af4242021-10-11 11:56:08 +0200106 # dbHost: *dbHost
107 dbHost: *postgres
GuangrongFucc1316b2021-02-03 17:29:08 +0800108 dbPort: *dbPort
109 dbUserCredsExternalSecret: *pgUserCredsSecretName
110
111# Resource Limit flavor -By Default using small
112flavor: small