blob: 5e7b2fef76b1d68048ed81d063b5b62e529ea8a2 [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
Mandeep Khinda0fe4eb72018-04-20 21:02:45 +000024 readinessRepository: oomk8s
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +000025 readinessImage: readiness-check:2.0.2
Mandeep Khinda0fe4eb72018-04-20 21:02:45 +000026 ubuntuInitRepository: registry.hub.docker.com
jmacc4f04d32018-10-12 18:24:24 +000027
28#################################################################
Krzysztof Opasiak2f8f4b62020-03-04 23:06:16 +010029# Secrets metaconfig
30#################################################################
31secrets:
32 - uid: db-root-pass
33 name: '{{ include "common.release" . }}-so-mariadb-root-pass'
34 type: password
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010035 externalSecret: '{{ tpl (default "" .Values.db.rootPasswordExternalSecret) . }}'
Krzysztof Opasiak2f8f4b62020-03-04 23:06:16 +010036 password: '{{ .Values.db.rootPassword }}'
37 passwordPolicy: required
38 - uid: db-backup-creds
39 name: '{{ include "common.release" . }}-so-mariadb-backup-creds'
40 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010041 externalSecret: '{{ tpl (default "" .Values.db.backupCredsExternalSecret) . }}'
Krzysztof Opasiak2f8f4b62020-03-04 23:06:16 +010042 login: '{{ .Values.db.backupUser }}'
43 password: '{{ .Values.db.backupPassword }}'
44 passwordPolicy: required
45 annotations:
46 helm.sh/hook: pre-upgrade,pre-install
47 helm.sh/hook-weight: "0"
48 helm.sh/hook-delete-policy: before-hook-creation
Krzysztof Opasiakf68b7282020-03-25 23:22:46 +010049 - uid: db-user-creds
50 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010051 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiakf68b7282020-03-25 23:22:46 +010052 login: '{{ .Values.db.userName }}'
53 password: '{{ .Values.db.userPassword }}'
54 - uid: db-admin-creds
55 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010056 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiakf68b7282020-03-25 23:22:46 +010057 login: '{{ .Values.db.adminName }}'
58 password: '{{ .Values.db.adminPassword }}'
59 - uid: camunda-db-creds
60 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010061 externalSecret: '{{ tpl (default "" .Values.db.camunda.dbCredsExternalSecret) . }}'
Krzysztof Opasiakf68b7282020-03-25 23:22:46 +010062 login: '{{ .Values.db.camunda.userName }}'
63 password: '{{ .Values.db.camunda.password }}'
64 - uid: request-db-creds
65 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010066 externalSecret: '{{ tpl (default "" .Values.db.request.dbCredsExternalSecret) . }}'
Krzysztof Opasiakf68b7282020-03-25 23:22:46 +010067 login: '{{ .Values.db.request.userName }}'
68 password: '{{ .Values.db.request.password }}'
69 - uid: catalog-db-creds
70 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010071 externalSecret: '{{ tpl (default "" .Values.db.catalog.dbCredsExternalSecret) . }}'
Krzysztof Opasiakf68b7282020-03-25 23:22:46 +010072 login: '{{ .Values.db.catalog.userName }}'
73 password: '{{ .Values.db.catalog.password }}'
74
75
Krzysztof Opasiak2f8f4b62020-03-04 23:06:16 +010076
77#################################################################
jmacc4f04d32018-10-12 18:24:24 +000078# Application configuration defaults.
79#################################################################
Mike Elliottd32d36e2018-02-12 15:54:03 -050080# application image
81repository: nexus3.onap.org:10001
Ramesh Parthasarathya4aaf362019-03-13 20:59:51 +000082image: mariadb:10.1.38
Mike Elliottd32d36e2018-02-12 15:54:03 -050083pullPolicy: Always
Mandeep Khinda0fe4eb72018-04-20 21:02:45 +000084ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
jmacc4f04d32018-10-12 18:24:24 +000085
Krzysztof Opasiak2f8f4b62020-03-04 23:06:16 +010086# db config
87db:
88 rootPassword: secretpassword
89 # rootPasswordExternalSecret: some secret
90 backupPassword: secretpassword
91 backupUser: root
92 # backupCredsExternalSecret: some secret
Krzysztof Opasiakf68b7282020-03-25 23:22:46 +010093 userName: so_user
94 userPassword: so_User123
95 # userCredsExternalSecret: some secret
96 adminName: so_admin
97 adminPassword: so_Admin123
98 # adminCredsExternalSecret: some secret
99 camunda:
100 userName: camundauser
101 password: camunda123
102 # dbCredsExternalSecret: some secret
103 request:
104 userName: requestuser
105 password: request123
106 # dbCredsExternalSecret: some secret
107 catalog:
108 userName: cataloguser
109 password: catalog123
110 # dbCredsExternalSecret: some secret
111
Mike Elliottd32d36e2018-02-12 15:54:03 -0500112# application configuration
113config:
Mandeep Khinda0fe4eb72018-04-20 21:02:45 +0000114 # gerrit branch where the latest heat code is checked in
Ramesh Parthasarathybef9c7b2019-03-01 21:21:20 +0000115 gerritBranch: master
Mandeep Khinda0fe4eb72018-04-20 21:02:45 +0000116 # gerrit project where the latest heat code is checked in
117 gerritProject: http://gerrit.onap.org/r/so/docker-config.git
Mike Elliottd32d36e2018-02-12 15:54:03 -0500118# default number of instances
Mike Elliottd32d36e2018-02-12 15:54:03 -0500119nodeSelector: {}
Mike Elliottd32d36e2018-02-12 15:54:03 -0500120affinity: {}
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000121
122ingress:
123 enabled: false
124
125# Resource Limit flavor
126flavor: small
127
128resources:
129 small:
130 limits:
131 cpu: 2
132 memory: 4Gi
133 requests:
134 cpu: 1
135 memory: 2Gi
136 large:
137 limits:
138 cpu: 4
139 memory: 8Gi
140 requests:
141 cpu: 2
142 memory: 4Gi
143 unlimited: {}
144
Mike Elliottd32d36e2018-02-12 15:54:03 -0500145persistence:
146 enabled: true
Mike Elliottd32d36e2018-02-12 15:54:03 -0500147 ## A manually managed Persistent Volume and Claim
148 ## Requires persistence.enabled: true
149 ## If defined, PVC must be created manually before volume will be bound
150 # existingClaim:
151 volumeReclaimPolicy: Retain
Mike Elliottd32d36e2018-02-12 15:54:03 -0500152 ## database data Persistent Volume Storage Class
153 ## If defined, storageClassName: <storageClass>
154 ## If set to "-", storageClassName: "", which disables dynamic provisioning
155 ## If undefined (the default) or set to null, no storageClassName spec is
156 ## set, choosing the default provisioner. (gp2 on AWS, standard on
157 ## GKE, AWS & OpenStack)
158 ##
159 # storageClass: "-"
160 accessMode: ReadWriteMany
161 size: 2Gi
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000162
Mike Elliottd32d36e2018-02-12 15:54:03 -0500163 mountPath: /dockerdata-nfs
Mahendra Raghuwanshi72b69c12019-04-04 10:43:25 +0000164 mountSubPath: so/migration