blob: 42a1513449aa63df158a867d08e424d61a3741e4 [file] [log] [blame]
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +01001# Copyright © 2018 Amdocs, Bell Canada
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15#################################################################
16# Global configuration defaults.
17#################################################################
18global:
19 repository: nexus3.onap.org:10001
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020020 readinessImage: onap/oom/readiness:3.0.1
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +010021 mariadbGalera:
22 nameOverride: mariadb-galera
23 servicePort: 3306
24 # set these two values if you want to access an 'out of ONAP' mariadb
Krzysztof Opasiakd7322442020-01-30 12:10:40 +010025 # userRootPassword: some-password
26 # userRootSecret: some-secret-name
27 # userRootSecretKey: password
28
29#################################################################
30# Secrets metaconfig
31#################################################################
32secrets:
33 - uid: root-password
34 type: password
Krzysztof Opasiak80e39d42020-08-31 22:25:52 +020035 externalSecret: '{{ tpl (ternary (default "" .Values.mariadbGalera.userRootSecret) (default (include "mariadbInit.mariadbClusterSecret" .) .Values.global.mariadbGalera.userRootSecret) (not (empty (default "" .Values.mariadbGalera.serviceName)))) . }}'
36 password: '{{ tpl (ternary (default "" .Values.mariadbGalera.userRootPassword) (default "" .Values.global.mariadbGalera.userRootPassword) (not (empty (default "" .Values.mariadbGalera.serviceName)))) . }}'
Krzysztof Opasiakd7322442020-01-30 12:10:40 +010037 - uid: '{{ .Values.config.mysqlDatabase }}'
38 type: basicAuth
Krzysztof Opasiak8cf46b42020-02-08 01:07:21 +010039 externalSecret: '{{ tpl (default "" .Values.config.userCredentialsExternalSecret) . }}'
Krzysztof Opasiakd7322442020-01-30 12:10:40 +010040 login: '{{ .Values.config.userName }}'
41 password: '{{ .Values.config.userPassword }}'
42 passwordPolicy: required
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +010043
44#################################################################
45# Application configuration defaults.
46#################################################################
47
48image: mariadb:10.1.38
49pullPolicy: IfNotPresent
50
RPMishrae4ee7f12020-10-07 12:09:01 +053051# These two values are used to supply commands that are run after the DB is created.
52# Components using the shared DB can either pass a string which has a set of commands
53# or a config map that contains a shell script. If both are specified only the config
54# map will be executed. For reference, please see the VID components for config map
55dbScript: ""
56dbScriptConfigMap: ""
57
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +010058# Set it if you want to change the name of the different components
59# nameOverride:
60
Krzysztof Opasiak80e39d42020-08-31 22:25:52 +020061mariadbGalera: {}
62# serviceName: some-name
63# containerName: some-name
64# servicePort: 3306
65# userRootPassword: some-password
66# userRootSecret: some-secret-name
67# userRootSecretKey: password
68
69
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +010070config:
71 userPassword: Ci@shsOd3pky1Vji
72 userName: u5WZ1GMSIS1wHZF
Krzysztof Opasiakd7322442020-01-30 12:10:40 +010073 # set this value if you would like to use external secret instead of providing a password
Krzysztof Opasiak8cf46b42020-02-08 01:07:21 +010074 # userCredentialsExternalsecret: some-secret-name
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +010075 mysqlDatabase: ynsaUCru6mUNwGal
76 mysqlAdditionalDatabases: {}
77 # add addtional dabases
78 # this is an dict
79 # Example:
80 # mysqlAdditionalDatabases:
81 # dbOne:
82 # user: one
83 # password: pwd1
Krzysztof Opasiakd7322442020-01-30 12:10:40 +010084 # externalSecret: some-secret-name
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +010085 # dbTwo:
86 # user: two
87 # password: pwd2
Krzysztof Opasiakd7322442020-01-30 12:10:40 +010088 # externalSecret: some-secret-name
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +010089 config_map: default
90
91nodeSelector: {}
92
93affinity: {}
94
95#resources: {}
96 # We usually recommend not to specify default resources and to leave this as a conscious
97 # choice for the user. This also increases chances charts run on environments with little
98 # resources, such as Minikube. If you do want to specify resources, uncomment the following
99 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
100 #
101 # Example:
102 # Configure resource requests and limits
103 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
104 # Minimum memory for development is 2 CPU cores and 4GB memory
105 # Minimum memory for production is 4 CPU cores and 8GB memory
106flavor: small
107resources:
108 small:
109 limits:
110 cpu: 100m
111 memory: 500Mi
112 requests:
113 cpu: 10m
114 memory: 10Mi
115 large:
116 limits:
117 cpu: 200m
118 memory: 500Mi
119 requests:
120 cpu: 20m
121 memory: 20Mi
122 unlimited: {}