blob: 9c69c20096b8e59f6fbbc46778e8a07665ce79fa [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
22
23secrets:
24- uid: pg-root-pass
25 name: &pgRootPassSecretName '{{ include "common.release" . }}-holmes-pg-root-pass'
26 type: password
27 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgRootPasswordExternalSecret) .) (hasSuffix "holmes-pg-root-pass" .Values.postgres.config.pgRootPasswordExternalSecret) }}'
28 password: '{{ .Values.postgres.config.pgRootPassword }}'
29- uid: pg-user-creds
30 name: &pgUserCredsSecretName '{{ include "common.release" . }}-holmes-pg-user-creds'
31 type: basicAuth
32 externalSecret: '{{ ternary "" (tpl (default "" .Values.postgres.config.pgUserExternalSecret) .) (hasSuffix "holmes-pg-user-creds" .Values.postgres.config.pgUserExternalSecret) }}'
33 login: '{{ .Values.postgres.config.pgUserName }}'
34 password: '{{ .Values.postgres.config.pgUserPassword }}'
35 passwordPolicy: generate
36
37
38#################################################################
39# Application configuration defaults.
40#################################################################
41pullPolicy: IfNotPresent
42
43config:
44 logstashServiceName: log-ls
45 logstashPort: 5044
46
47# application configuration override for postgres
48postgres:
49 nameOverride: holmes-pg
50 service:
51 name: holmes-postgres
52 name2: &dbHost holmes-postgres-primary
53 name3: holmes-postgres-replica
54 container:
55 name:
56 primary: holmes-postgres-primary
57 replica: holmes-postgres-replica
58 config:
59 pgUserName: holmes
60 pgDatabase: &dbName holmes
61 pgUserExternalSecret: *pgUserCredsSecretName
62 pgRootPasswordExternalSecret: *pgRootPassSecretName
63 pgPort: &dbPort "5432"
64 persistence:
65 mountSubPath: holmes/data
66 mountInitPath: holmes
67
68holmes-engine-mgmt:
69 config:
70 pgConfig:
71 dbName: *dbName
72 dbHost: *dbHost
73 dbPort: *dbPort
74 dbUserCredsExternalSecret: *pgUserCredsSecretName
75
76holmes-rule-mgmt:
77 config:
78 pgConfig:
79 dbName: *dbName
80 dbHost: *dbHost
81 dbPort: *dbPort
82 dbUserCredsExternalSecret: *pgUserCredsSecretName
83
84# Resource Limit flavor -By Default using small
85flavor: small