1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright (C) 2022-23 Nordix Foundation
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
8 # http://www.apache.org/licenses/LICENSE-2.0
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 # Default values for mariadb.
16 # This is a YAML-formatted file.
17 # Declare variables to be passed into your templates.
18 #################################################################
19 # Global configuration defaults.
20 #################################################################
23 nodePortPrefixExt: 304
24 repository: nexus3.onap.org:10001
25 readinessImage: onap/oom/readiness:5.0.1
26 ubuntuInitRepository: docker.io
28 # flag to enable the DB creation via mariadb-operator
30 nameOverride: mariadb-galera
31 service: mariadb-galera
35 dbHost: mariadb-galera
38 dbPassword: secretpassword
40 #################################################################
42 #################################################################
45 name: '{{ include "common.release" . }}-so-mariadb-root-pass'
47 externalSecret: '{{ tpl (default "" .Values.db.rootPasswordExternalSecret) . }}'
48 password: '{{ .Values.db.rootPassword }}'
49 passwordPolicy: required
50 - uid: db-backup-creds
51 name: '{{ include "common.release" . }}-so-mariadb-backup-creds'
53 externalSecret: '{{ tpl (default "" .Values.db.backupCredsExternalSecret) . }}'
54 login: '{{ .Values.db.backupUser }}'
55 password: '{{ .Values.db.backupPassword }}'
56 passwordPolicy: required
58 helm.sh/hook: pre-upgrade,pre-install
59 helm.sh/hook-weight: "0"
60 helm.sh/hook-delete-policy: before-hook-creation
63 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
64 login: '{{ .Values.db.userName }}'
65 password: '{{ .Values.db.userPassword }}'
68 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
69 login: '{{ .Values.db.adminName }}'
70 password: '{{ .Values.db.adminPassword }}'
71 - uid: camunda-db-creds
73 externalSecret: '{{ tpl (default "" .Values.db.camunda.dbCredsExternalSecret) . }}'
74 login: '{{ .Values.db.camunda.userName }}'
75 password: '{{ .Values.db.camunda.password }}'
76 - uid: request-db-creds
78 externalSecret: '{{ tpl (default "" .Values.db.request.dbCredsExternalSecret) . }}'
79 login: '{{ .Values.db.request.userName }}'
80 password: '{{ .Values.db.request.password }}'
81 - uid: catalog-db-creds
83 externalSecret: '{{ tpl (default "" .Values.db.catalog.dbCredsExternalSecret) . }}'
84 login: '{{ .Values.db.catalog.userName }}'
85 password: '{{ .Values.db.catalog.password }}'
88 externalSecret: '{{ tpl (default "" .Values.db.nfvo.dbCredsExternalSecret) . }}'
89 login: '{{ .Values.db.nfvo.userName }}'
90 password: '{{ .Values.db.nfvo.password }}'
93 externalSecret: '{{ tpl (default "" .Values.db.cnfm.dbCredsExternalSecret) . }}'
94 login: '{{ .Values.db.cnfm.userName }}'
95 password: '{{ .Values.db.cnfm.password }}'
97 #################################################################
98 # Application configuration defaults.
99 #################################################################
101 repository: nexus3.onap.org:10001
102 image: mariadb:10.1.38
104 ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
106 # Local mariadb galera instance default name
108 nameOverride: so-mariadb-galera
117 rootPassword: secretpassword
118 # rootPasswordExternalSecret: some secret
119 backupPassword: secretpassword
121 # backupCredsExternalSecret: some secret
123 userPassword: so_User123
124 # userCredsExternalSecret: some secret
126 adminPassword: so_Admin123
127 # adminCredsExternalSecret: some secret
129 userName: camundauser
131 # dbCredsExternalSecret: some secret
133 userName: requestuser
135 # dbCredsExternalSecret: some secret
137 userName: cataloguser
139 # dbCredsExternalSecret: some secret
142 # dbCredsExternalSecret: some secret
145 # dbCredsExternalSecret: some secret
147 # application configuration
149 # gerrit branch where the latest heat code is checked in
151 # gerrit project where the latest heat code is checked in
152 gerritProject: http://gerrit.onap.org/r/so/docker-config.git
153 # default number of instances
160 # Resource Limit flavor
182 ## A manually managed Persistent Volume and Claim
183 ## Requires persistence.enabled: true
184 ## If defined, PVC must be created manually before volume will be bound
186 volumeReclaimPolicy: Retain
187 ## database data Persistent Volume Storage Class
188 ## If defined, storageClassName: <storageClass>
189 ## If set to "-", storageClassName: "", which disables dynamic provisioning
190 ## If undefined (the default) or set to null, no storageClassName spec is
191 ## set, choosing the default provisioner. (gp2 on AWS, standard on
192 ## GKE, AWS & OpenStack)
195 accessMode: ReadWriteMany
198 mountPath: /dockerdata-nfs
199 mountSubPath: so/migration
201 #Pods Service Account
203 nameOverride: so-mariadb
207 wait_for_job_container:
209 - '{{ include "common.name" . }}-config'