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: &mariadbName mariadb-galera
28 serviceName: mariadb-galera
32 dbHost: mariadb-galera
35 dbPassword: secretpassword
41 #################################################################
43 #################################################################
46 name: '{{ include "common.release" . }}-so-mariadb-root-pass'
48 externalSecret: '{{ tpl (default "" .Values.db.rootPasswordExternalSecret) . }}'
49 password: '{{ .Values.db.rootPassword }}'
50 passwordPolicy: required
51 - uid: db-backup-creds
52 name: '{{ include "common.release" . }}-so-mariadb-backup-creds'
54 externalSecret: '{{ tpl (default "" .Values.db.backupCredsExternalSecret) . }}'
55 login: '{{ .Values.db.backupUser }}'
56 password: '{{ .Values.db.backupPassword }}'
57 passwordPolicy: required
59 helm.sh/hook: pre-upgrade,pre-install
60 helm.sh/hook-weight: "0"
61 helm.sh/hook-delete-policy: before-hook-creation
64 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
65 login: '{{ .Values.db.userName }}'
66 password: '{{ .Values.db.userPassword }}'
69 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
70 login: '{{ .Values.db.adminName }}'
71 password: '{{ .Values.db.adminPassword }}'
72 - uid: camunda-db-creds
74 externalSecret: '{{ tpl (default "" .Values.db.camunda.dbCredsExternalSecret) . }}'
75 login: '{{ .Values.db.camunda.userName }}'
76 password: '{{ .Values.db.camunda.password }}'
77 - uid: request-db-creds
79 externalSecret: '{{ tpl (default "" .Values.db.request.dbCredsExternalSecret) . }}'
80 login: '{{ .Values.db.request.userName }}'
81 password: '{{ .Values.db.request.password }}'
82 - uid: catalog-db-creds
84 externalSecret: '{{ tpl (default "" .Values.db.catalog.dbCredsExternalSecret) . }}'
85 login: '{{ .Values.db.catalog.userName }}'
86 password: '{{ .Values.db.catalog.password }}'
89 externalSecret: '{{ tpl (default "" .Values.db.nfvo.dbCredsExternalSecret) . }}'
90 login: '{{ .Values.db.nfvo.userName }}'
91 password: '{{ .Values.db.nfvo.password }}'
93 #################################################################
94 # Application configuration defaults.
95 #################################################################
97 repository: nexus3.onap.org:10001
98 image: mariadb:10.1.38
100 ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
104 rootPassword: secretpassword
105 # rootPasswordExternalSecret: some secret
106 backupPassword: secretpassword
108 # backupCredsExternalSecret: some secret
110 userPassword: so_User123
111 # userCredsExternalSecret: some secret
113 adminPassword: so_Admin123
114 # adminCredsExternalSecret: some secret
116 userName: camundauser
118 # dbCredsExternalSecret: some secret
120 userName: requestuser
122 # dbCredsExternalSecret: some secret
124 userName: cataloguser
126 # dbCredsExternalSecret: some secret
129 # dbCredsExternalSecret: some secret
131 # application configuration
133 # gerrit branch where the latest heat code is checked in
135 # gerrit project where the latest heat code is checked in
136 gerritProject: http://gerrit.onap.org/r/so/docker-config.git
137 # default number of instances
144 # Resource Limit flavor
166 ## A manually managed Persistent Volume and Claim
167 ## Requires persistence.enabled: true
168 ## If defined, PVC must be created manually before volume will be bound
170 volumeReclaimPolicy: Retain
171 ## database data Persistent Volume Storage Class
172 ## If defined, storageClassName: <storageClass>
173 ## If set to "-", storageClassName: "", which disables dynamic provisioning
174 ## If undefined (the default) or set to null, no storageClassName spec is
175 ## set, choosing the default provisioner. (gp2 on AWS, standard on
176 ## GKE, AWS & OpenStack)
179 accessMode: ReadWriteMany
182 mountPath: /dockerdata-nfs
183 mountSubPath: so/migration