blob: 9ecf3b0ca66de09166ef47a84fa6d0f2b46908a0 [file] [log] [blame]
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00001# Copyright © 2017 Amdocs, Bell Canada
2#
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
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
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.
Mike Elliottd32d36e2018-02-12 15:54:03 -050014# Default values for mariadb.
15# This is a YAML-formatted file.
16# Declare variables to be passed into your templates.
jmacc4f04d32018-10-12 18:24:24 +000017#################################################################
18# Global configuration defaults.
19#################################################################
20global:
Mike Elliottd32d36e2018-02-12 15:54:03 -050021 nodePortPrefix: 302
jmacc4f04d32018-10-12 18:24:24 +000022 nodePortPrefixExt: 304
23 repository: nexus3.onap.org:10001
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020024 readinessImage: onap/oom/readiness:3.0.1
Mandeep Khinda0fe4eb72018-04-20 21:02:45 +000025 ubuntuInitRepository: registry.hub.docker.com
seshukm0df1f8e2020-08-17 21:45:49 +053026 mariadbGalera:
27 nameOverride: mariadb-galera
28 serviceName: mariadb-galera
29 servicePort: "3306"
30 migration:
31 enabled: false
32 dbHost: mariadb-galera
33 dbPort: 3306
34 dbUser: root
35 dbPassword: secretpassword
jmacc4f04d32018-10-12 18:24:24 +000036#################################################################
Krzysztof Opasiak2f8f4b62020-03-04 23:06:16 +010037# Secrets metaconfig
38#################################################################
39secrets:
40 - uid: db-root-pass
41 name: '{{ include "common.release" . }}-so-mariadb-root-pass'
42 type: password
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010043 externalSecret: '{{ tpl (default "" .Values.db.rootPasswordExternalSecret) . }}'
Krzysztof Opasiak2f8f4b62020-03-04 23:06:16 +010044 password: '{{ .Values.db.rootPassword }}'
45 passwordPolicy: required
46 - uid: db-backup-creds
47 name: '{{ include "common.release" . }}-so-mariadb-backup-creds'
48 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010049 externalSecret: '{{ tpl (default "" .Values.db.backupCredsExternalSecret) . }}'
Krzysztof Opasiak2f8f4b62020-03-04 23:06:16 +010050 login: '{{ .Values.db.backupUser }}'
51 password: '{{ .Values.db.backupPassword }}'
52 passwordPolicy: required
53 annotations:
54 helm.sh/hook: pre-upgrade,pre-install
55 helm.sh/hook-weight: "0"
56 helm.sh/hook-delete-policy: before-hook-creation
Krzysztof Opasiakf68b7282020-03-25 23:22:46 +010057 - uid: db-user-creds
58 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010059 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiakf68b7282020-03-25 23:22:46 +010060 login: '{{ .Values.db.userName }}'
61 password: '{{ .Values.db.userPassword }}'
62 - uid: db-admin-creds
63 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010064 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiakf68b7282020-03-25 23:22:46 +010065 login: '{{ .Values.db.adminName }}'
66 password: '{{ .Values.db.adminPassword }}'
67 - uid: camunda-db-creds
68 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010069 externalSecret: '{{ tpl (default "" .Values.db.camunda.dbCredsExternalSecret) . }}'
Krzysztof Opasiakf68b7282020-03-25 23:22:46 +010070 login: '{{ .Values.db.camunda.userName }}'
71 password: '{{ .Values.db.camunda.password }}'
72 - uid: request-db-creds
73 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010074 externalSecret: '{{ tpl (default "" .Values.db.request.dbCredsExternalSecret) . }}'
Krzysztof Opasiakf68b7282020-03-25 23:22:46 +010075 login: '{{ .Values.db.request.userName }}'
76 password: '{{ .Values.db.request.password }}'
77 - uid: catalog-db-creds
78 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010079 externalSecret: '{{ tpl (default "" .Values.db.catalog.dbCredsExternalSecret) . }}'
Krzysztof Opasiakf68b7282020-03-25 23:22:46 +010080 login: '{{ .Values.db.catalog.userName }}'
81 password: '{{ .Values.db.catalog.password }}'
rope2524df55192020-08-24 13:55:58 +010082 - uid: nfvo-db-creds
83 type: basicAuth
84 externalSecret: '{{ tpl (default "" .Values.db.nfvo.dbCredsExternalSecret) . }}'
85 login: '{{ .Values.db.nfvo.userName }}'
86 password: '{{ .Values.db.nfvo.password }}'
Krzysztof Opasiak2f8f4b62020-03-04 23:06:16 +010087
88#################################################################
jmacc4f04d32018-10-12 18:24:24 +000089# Application configuration defaults.
90#################################################################
Mike Elliottd32d36e2018-02-12 15:54:03 -050091# application image
92repository: nexus3.onap.org:10001
Ramesh Parthasarathya4aaf362019-03-13 20:59:51 +000093image: mariadb:10.1.38
Mike Elliottd32d36e2018-02-12 15:54:03 -050094pullPolicy: Always
Mandeep Khinda0fe4eb72018-04-20 21:02:45 +000095ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
jmacc4f04d32018-10-12 18:24:24 +000096
Krzysztof Opasiak2f8f4b62020-03-04 23:06:16 +010097# db config
98db:
99 rootPassword: secretpassword
100 # rootPasswordExternalSecret: some secret
101 backupPassword: secretpassword
102 backupUser: root
103 # backupCredsExternalSecret: some secret
Krzysztof Opasiakf68b7282020-03-25 23:22:46 +0100104 userName: so_user
105 userPassword: so_User123
106 # userCredsExternalSecret: some secret
107 adminName: so_admin
108 adminPassword: so_Admin123
109 # adminCredsExternalSecret: some secret
110 camunda:
111 userName: camundauser
112 password: camunda123
113 # dbCredsExternalSecret: some secret
114 request:
115 userName: requestuser
116 password: request123
117 # dbCredsExternalSecret: some secret
118 catalog:
119 userName: cataloguser
120 password: catalog123
121 # dbCredsExternalSecret: some secret
rope2524df55192020-08-24 13:55:58 +0100122 nfvo:
123 userName: nfvouser
124 # dbCredsExternalSecret: some secret
Krzysztof Opasiakf68b7282020-03-25 23:22:46 +0100125
Mike Elliottd32d36e2018-02-12 15:54:03 -0500126# application configuration
127config:
Mandeep Khinda0fe4eb72018-04-20 21:02:45 +0000128 # gerrit branch where the latest heat code is checked in
Ramesh Parthasarathybef9c7b2019-03-01 21:21:20 +0000129 gerritBranch: master
Mandeep Khinda0fe4eb72018-04-20 21:02:45 +0000130 # gerrit project where the latest heat code is checked in
131 gerritProject: http://gerrit.onap.org/r/so/docker-config.git
Mike Elliottd32d36e2018-02-12 15:54:03 -0500132# default number of instances
Mike Elliottd32d36e2018-02-12 15:54:03 -0500133nodeSelector: {}
Mike Elliottd32d36e2018-02-12 15:54:03 -0500134affinity: {}
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000135
136ingress:
137 enabled: false
138
139# Resource Limit flavor
140flavor: small
141
142resources:
143 small:
144 limits:
145 cpu: 2
146 memory: 4Gi
147 requests:
148 cpu: 1
149 memory: 2Gi
150 large:
151 limits:
152 cpu: 4
153 memory: 8Gi
154 requests:
155 cpu: 2
156 memory: 4Gi
157 unlimited: {}
158
Mike Elliottd32d36e2018-02-12 15:54:03 -0500159persistence:
160 enabled: true
Mike Elliottd32d36e2018-02-12 15:54:03 -0500161 ## 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
164 # existingClaim:
165 volumeReclaimPolicy: Retain
Mike Elliottd32d36e2018-02-12 15:54:03 -0500166 ## 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)
172 ##
173 # storageClass: "-"
174 accessMode: ReadWriteMany
175 size: 2Gi
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000176
Mike Elliottd32d36e2018-02-12 15:54:03 -0500177 mountPath: /dockerdata-nfs
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000178 mountSubPath: so/migration