blob: f6ce95a65fa891c9d87ff2055f5198f6254e2152 [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
20 readinessRepository: oomk8s
21 readinessImage: readiness-check:2.0.2
22 mariadbGalera:
23 nameOverride: mariadb-galera
24 servicePort: 3306
25 # set these two values if you want to access an 'out of ONAP' mariadb
Krzysztof Opasiakd7322442020-01-30 12:10:40 +010026 # userRootPassword: some-password
27 # userRootSecret: some-secret-name
28 # userRootSecretKey: password
29
30#################################################################
31# Secrets metaconfig
32#################################################################
33secrets:
34 - uid: root-password
35 type: password
36 externalSecret: '{{ tpl (default (include "mariadbInit.mariadbClusterSecret" .) .Values.global.mariadbGalera.userRootSecret) . }}'
37 password: '{{ tpl (default "" .global.mariadbGalera.userRootPassword) . }}'
38 - uid: '{{ .Values.config.mysqlDatabase }}'
39 type: basicAuth
Krzysztof Opasiak8cf46b42020-02-08 01:07:21 +010040 externalSecret: '{{ tpl (default "" .Values.config.userCredentialsExternalSecret) . }}'
Krzysztof Opasiakd7322442020-01-30 12:10:40 +010041 login: '{{ .Values.config.userName }}'
42 password: '{{ .Values.config.userPassword }}'
43 passwordPolicy: required
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +010044
45#################################################################
46# Application configuration defaults.
47#################################################################
48
49image: mariadb:10.1.38
50pullPolicy: IfNotPresent
51
52# Set it if you want to change the name of the different components
53# nameOverride:
54
55config:
56 userPassword: Ci@shsOd3pky1Vji
57 userName: u5WZ1GMSIS1wHZF
Krzysztof Opasiakd7322442020-01-30 12:10:40 +010058 # set this value if you would like to use external secret instead of providing a password
Krzysztof Opasiak8cf46b42020-02-08 01:07:21 +010059 # userCredentialsExternalsecret: some-secret-name
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +010060 mysqlDatabase: ynsaUCru6mUNwGal
61 mysqlAdditionalDatabases: {}
62 # add addtional dabases
63 # this is an dict
64 # Example:
65 # mysqlAdditionalDatabases:
66 # dbOne:
67 # user: one
68 # password: pwd1
Krzysztof Opasiakd7322442020-01-30 12:10:40 +010069 # externalSecret: some-secret-name
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +010070 # dbTwo:
71 # user: two
72 # password: pwd2
Krzysztof Opasiakd7322442020-01-30 12:10:40 +010073 # externalSecret: some-secret-name
Sylvain Desbureaux1d061a42019-11-08 15:27:20 +010074 config_map: default
75
76nodeSelector: {}
77
78affinity: {}
79
80#resources: {}
81 # We usually recommend not to specify default resources and to leave this as a conscious
82 # choice for the user. This also increases chances charts run on environments with little
83 # resources, such as Minikube. If you do want to specify resources, uncomment the following
84 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
85 #
86 # Example:
87 # Configure resource requests and limits
88 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
89 # Minimum memory for development is 2 CPU cores and 4GB memory
90 # Minimum memory for production is 4 CPU cores and 8GB memory
91flavor: small
92resources:
93 small:
94 limits:
95 cpu: 100m
96 memory: 500Mi
97 requests:
98 cpu: 10m
99 memory: 10Mi
100 large:
101 limits:
102 cpu: 200m
103 memory: 500Mi
104 requests:
105 cpu: 20m
106 memory: 20Mi
107 unlimited: {}