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 readinessRepository: oomk8s
25 readinessImage: readiness-check:2.0.2
26 ubuntuInitRepository: registry.hub.docker.com
28 #################################################################
30 #################################################################
33 name: '{{ include "common.release" . }}-so-mariadb-root-pass'
35 externalSecret: '{{ tpl (default "" .Values.db.rootPasswordExternalSecret) . }}'
36 password: '{{ .Values.db.rootPassword }}'
37 passwordPolicy: required
38 - uid: db-backup-creds
39 name: '{{ include "common.release" . }}-so-mariadb-backup-creds'
41 externalSecret: '{{ tpl (default "" .Values.db.backupCredsExternalSecret) . }}'
42 login: '{{ .Values.db.backupUser }}'
43 password: '{{ .Values.db.backupPassword }}'
44 passwordPolicy: required
46 helm.sh/hook: pre-upgrade,pre-install
47 helm.sh/hook-weight: "0"
48 helm.sh/hook-delete-policy: before-hook-creation
51 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
52 login: '{{ .Values.db.userName }}'
53 password: '{{ .Values.db.userPassword }}'
56 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
57 login: '{{ .Values.db.adminName }}'
58 password: '{{ .Values.db.adminPassword }}'
59 - uid: camunda-db-creds
61 externalSecret: '{{ tpl (default "" .Values.db.camunda.dbCredsExternalSecret) . }}'
62 login: '{{ .Values.db.camunda.userName }}'
63 password: '{{ .Values.db.camunda.password }}'
64 - uid: request-db-creds
66 externalSecret: '{{ tpl (default "" .Values.db.request.dbCredsExternalSecret) . }}'
67 login: '{{ .Values.db.request.userName }}'
68 password: '{{ .Values.db.request.password }}'
69 - uid: catalog-db-creds
71 externalSecret: '{{ tpl (default "" .Values.db.catalog.dbCredsExternalSecret) . }}'
72 login: '{{ .Values.db.catalog.userName }}'
73 password: '{{ .Values.db.catalog.password }}'
76 externalSecret: '{{ tpl (default "" .Values.db.nfvo.dbCredsExternalSecret) . }}'
77 login: '{{ .Values.db.nfvo.userName }}'
78 password: '{{ .Values.db.nfvo.password }}'
80 #################################################################
81 # Application configuration defaults.
82 #################################################################
84 repository: nexus3.onap.org:10001
85 image: mariadb:10.1.38
87 ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
91 rootPassword: secretpassword
92 # rootPasswordExternalSecret: some secret
93 backupPassword: secretpassword
95 # backupCredsExternalSecret: some secret
97 userPassword: so_User123
98 # userCredsExternalSecret: some secret
100 adminPassword: so_Admin123
101 # adminCredsExternalSecret: some secret
103 userName: camundauser
105 # dbCredsExternalSecret: some secret
107 userName: requestuser
109 # dbCredsExternalSecret: some secret
111 userName: cataloguser
113 # dbCredsExternalSecret: some secret
116 # dbCredsExternalSecret: some secret
118 # application configuration
120 # gerrit branch where the latest heat code is checked in
122 # gerrit project where the latest heat code is checked in
123 gerritProject: http://gerrit.onap.org/r/so/docker-config.git
124 # default number of instances
131 # Resource Limit flavor
153 ## A manually managed Persistent Volume and Claim
154 ## Requires persistence.enabled: true
155 ## If defined, PVC must be created manually before volume will be bound
157 volumeReclaimPolicy: Retain
158 ## database data Persistent Volume Storage Class
159 ## If defined, storageClassName: <storageClass>
160 ## If set to "-", storageClassName: "", which disables dynamic provisioning
161 ## If undefined (the default) or set to null, no storageClassName spec is
162 ## set, choosing the default provisioner. (gp2 on AWS, standard on
163 ## GKE, AWS & OpenStack)
166 accessMode: ReadWriteMany
169 mountPath: /dockerdata-nfs
170 mountSubPath: so/migration