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 #################################################################
29 #################################################################
32 name: '{{ include "common.release" . }}-so-mariadb-root-pass'
34 externalSecret: '{{ tpl (default "" .Values.db.rootPasswordExternalSecret) . }}'
35 password: '{{ .Values.db.rootPassword }}'
36 passwordPolicy: required
37 - uid: db-backup-creds
38 name: '{{ include "common.release" . }}-so-mariadb-backup-creds'
40 externalSecret: '{{ tpl (default "" .Values.db.backupCredsExternalSecret) . }}'
41 login: '{{ .Values.db.backupUser }}'
42 password: '{{ .Values.db.backupPassword }}'
43 passwordPolicy: required
45 helm.sh/hook: pre-upgrade,pre-install
46 helm.sh/hook-weight: "0"
47 helm.sh/hook-delete-policy: before-hook-creation
50 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
51 login: '{{ .Values.db.userName }}'
52 password: '{{ .Values.db.userPassword }}'
55 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
56 login: '{{ .Values.db.adminName }}'
57 password: '{{ .Values.db.adminPassword }}'
58 - uid: camunda-db-creds
60 externalSecret: '{{ tpl (default "" .Values.db.camunda.dbCredsExternalSecret) . }}'
61 login: '{{ .Values.db.camunda.userName }}'
62 password: '{{ .Values.db.camunda.password }}'
63 - uid: request-db-creds
65 externalSecret: '{{ tpl (default "" .Values.db.request.dbCredsExternalSecret) . }}'
66 login: '{{ .Values.db.request.userName }}'
67 password: '{{ .Values.db.request.password }}'
68 - uid: catalog-db-creds
70 externalSecret: '{{ tpl (default "" .Values.db.catalog.dbCredsExternalSecret) . }}'
71 login: '{{ .Values.db.catalog.userName }}'
72 password: '{{ .Values.db.catalog.password }}'
75 externalSecret: '{{ tpl (default "" .Values.db.nfvo.dbCredsExternalSecret) . }}'
76 login: '{{ .Values.db.nfvo.userName }}'
77 password: '{{ .Values.db.nfvo.password }}'
79 #################################################################
80 # Application configuration defaults.
81 #################################################################
83 repository: nexus3.onap.org:10001
84 image: mariadb:10.1.38
86 ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
90 rootPassword: secretpassword
91 # rootPasswordExternalSecret: some secret
92 backupPassword: secretpassword
94 # backupCredsExternalSecret: some secret
96 userPassword: so_User123
97 # userCredsExternalSecret: some secret
99 adminPassword: so_Admin123
100 # adminCredsExternalSecret: some secret
102 userName: camundauser
104 # dbCredsExternalSecret: some secret
106 userName: requestuser
108 # dbCredsExternalSecret: some secret
110 userName: cataloguser
112 # dbCredsExternalSecret: some secret
115 # dbCredsExternalSecret: some secret
117 # application configuration
119 # gerrit branch where the latest heat code is checked in
121 # gerrit project where the latest heat code is checked in
122 gerritProject: http://gerrit.onap.org/r/so/docker-config.git
123 # default number of instances
130 # Resource Limit flavor
152 ## A manually managed Persistent Volume and Claim
153 ## Requires persistence.enabled: true
154 ## If defined, PVC must be created manually before volume will be bound
156 volumeReclaimPolicy: Retain
157 ## database data Persistent Volume Storage Class
158 ## If defined, storageClassName: <storageClass>
159 ## If set to "-", storageClassName: "", which disables dynamic provisioning
160 ## If undefined (the default) or set to null, no storageClassName spec is
161 ## set, choosing the default provisioner. (gp2 on AWS, standard on
162 ## GKE, AWS & OpenStack)
165 accessMode: ReadWriteMany
168 mountPath: /dockerdata-nfs
169 mountSubPath: so/migration