1 # Copyright © 2017 Amdocs, Bell Canada
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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 # Default values for mariadb.
15 # This is a YAML-formatted file.
16 # Declare variables to be passed into your templates.
17 #################################################################
18 # Global configuration defaults.
19 #################################################################
22 nodePortPrefixExt: 304
23 repository: nexus3.onap.org:10001
24 readinessImage: onap/oom/readiness:3.0.1
25 ubuntuInitRepository: registry.hub.docker.com
27 nameOverride: mariadb-galera
28 serviceName: mariadb-galera
32 dbHost: mariadb-galera
35 dbPassword: secretpassword
36 #################################################################
38 #################################################################
41 name: '{{ include "common.release" . }}-so-mariadb-root-pass'
43 externalSecret: '{{ tpl (default "" .Values.db.rootPasswordExternalSecret) . }}'
44 password: '{{ .Values.db.rootPassword }}'
45 passwordPolicy: required
46 - uid: db-backup-creds
47 name: '{{ include "common.release" . }}-so-mariadb-backup-creds'
49 externalSecret: '{{ tpl (default "" .Values.db.backupCredsExternalSecret) . }}'
50 login: '{{ .Values.db.backupUser }}'
51 password: '{{ .Values.db.backupPassword }}'
52 passwordPolicy: required
54 helm.sh/hook: pre-upgrade,pre-install
55 helm.sh/hook-weight: "0"
56 helm.sh/hook-delete-policy: before-hook-creation
59 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
60 login: '{{ .Values.db.userName }}'
61 password: '{{ .Values.db.userPassword }}'
64 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
65 login: '{{ .Values.db.adminName }}'
66 password: '{{ .Values.db.adminPassword }}'
67 - uid: camunda-db-creds
69 externalSecret: '{{ tpl (default "" .Values.db.camunda.dbCredsExternalSecret) . }}'
70 login: '{{ .Values.db.camunda.userName }}'
71 password: '{{ .Values.db.camunda.password }}'
72 - uid: request-db-creds
74 externalSecret: '{{ tpl (default "" .Values.db.request.dbCredsExternalSecret) . }}'
75 login: '{{ .Values.db.request.userName }}'
76 password: '{{ .Values.db.request.password }}'
77 - uid: catalog-db-creds
79 externalSecret: '{{ tpl (default "" .Values.db.catalog.dbCredsExternalSecret) . }}'
80 login: '{{ .Values.db.catalog.userName }}'
81 password: '{{ .Values.db.catalog.password }}'
84 externalSecret: '{{ tpl (default "" .Values.db.nfvo.dbCredsExternalSecret) . }}'
85 login: '{{ .Values.db.nfvo.userName }}'
86 password: '{{ .Values.db.nfvo.password }}'
88 #################################################################
89 # Application configuration defaults.
90 #################################################################
92 repository: nexus3.onap.org:10001
93 image: mariadb:10.1.38
95 ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
99 rootPassword: secretpassword
100 # rootPasswordExternalSecret: some secret
101 backupPassword: secretpassword
103 # backupCredsExternalSecret: some secret
105 userPassword: so_User123
106 # userCredsExternalSecret: some secret
108 adminPassword: so_Admin123
109 # adminCredsExternalSecret: some secret
111 userName: camundauser
113 # dbCredsExternalSecret: some secret
115 userName: requestuser
117 # dbCredsExternalSecret: some secret
119 userName: cataloguser
121 # dbCredsExternalSecret: some secret
124 # dbCredsExternalSecret: some secret
126 # application configuration
128 # gerrit branch where the latest heat code is checked in
130 # gerrit project where the latest heat code is checked in
131 gerritProject: http://gerrit.onap.org/r/so/docker-config.git
132 # default number of instances
139 # Resource Limit flavor
161 ## A manually managed Persistent Volume and Claim
162 ## Requires persistence.enabled: true
163 ## If defined, PVC must be created manually before volume will be bound
165 volumeReclaimPolicy: Retain
166 ## database data Persistent Volume Storage Class
167 ## If defined, storageClassName: <storageClass>
168 ## If set to "-", storageClassName: "", which disables dynamic provisioning
169 ## If undefined (the default) or set to null, no storageClassName spec is
170 ## set, choosing the default provisioner. (gp2 on AWS, standard on
171 ## GKE, AWS & OpenStack)
174 accessMode: ReadWriteMany
177 mountPath: /dockerdata-nfs
178 mountSubPath: so/migration