[GENERAL] Use readiness container v3.0.1
[oom.git] / kubernetes / so / charts / so-mariadb / values.yaml
1 # 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.
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 #################################################################
20 global:
21   nodePortPrefix: 302
22   nodePortPrefixExt: 304
23   repository: nexus3.onap.org:10001
24   readinessImage: onap/oom/readiness:3.0.1
25   ubuntuInitRepository: registry.hub.docker.com
26
27 #################################################################
28 # Secrets metaconfig
29 #################################################################
30 secrets:
31   - uid: db-root-pass
32     name: '{{ include "common.release" . }}-so-mariadb-root-pass'
33     type: password
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'
39     type: basicAuth
40     externalSecret: '{{ tpl (default "" .Values.db.backupCredsExternalSecret) . }}'
41     login: '{{ .Values.db.backupUser }}'
42     password: '{{ .Values.db.backupPassword }}'
43     passwordPolicy: required
44     annotations:
45       helm.sh/hook: pre-upgrade,pre-install
46       helm.sh/hook-weight: "0"
47       helm.sh/hook-delete-policy: before-hook-creation
48   - uid: db-user-creds
49     type: basicAuth
50     externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
51     login: '{{ .Values.db.userName }}'
52     password: '{{ .Values.db.userPassword }}'
53   - uid: db-admin-creds
54     type: basicAuth
55     externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
56     login: '{{ .Values.db.adminName }}'
57     password: '{{ .Values.db.adminPassword }}'
58   - uid: camunda-db-creds
59     type: basicAuth
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
64     type: basicAuth
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
69     type: basicAuth
70     externalSecret: '{{ tpl (default "" .Values.db.catalog.dbCredsExternalSecret) . }}'
71     login: '{{ .Values.db.catalog.userName }}'
72     password: '{{ .Values.db.catalog.password }}'
73
74
75
76 #################################################################
77 # Application configuration defaults.
78 #################################################################
79 # application image
80 repository: nexus3.onap.org:10001
81 image: mariadb:10.1.38
82 pullPolicy: Always
83 ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
84
85 # db config
86 db:
87   rootPassword: secretpassword
88   # rootPasswordExternalSecret: some secret
89   backupPassword: secretpassword
90   backupUser: root
91   # backupCredsExternalSecret: some secret
92   userName: so_user
93   userPassword: so_User123
94   # userCredsExternalSecret: some secret
95   adminName: so_admin
96   adminPassword: so_Admin123
97   # adminCredsExternalSecret: some secret
98   camunda:
99     userName: camundauser
100     password: camunda123
101     # dbCredsExternalSecret: some secret
102   request:
103     userName: requestuser
104     password: request123
105     # dbCredsExternalSecret: some secret
106   catalog:
107     userName: cataloguser
108     password: catalog123
109     # dbCredsExternalSecret: some secret
110
111 # application configuration
112 config:
113   # gerrit branch where the latest heat code is checked in
114   gerritBranch: master
115   # gerrit project where the latest heat code is checked in
116   gerritProject: http://gerrit.onap.org/r/so/docker-config.git
117 # default number of instances
118 nodeSelector: {}
119 affinity: {}
120
121 ingress:
122   enabled: false
123
124 # Resource Limit flavor
125 flavor: small
126
127 resources:
128   small:
129     limits:
130       cpu: 2
131       memory: 4Gi
132     requests:
133       cpu: 1
134       memory: 2Gi
135   large:
136     limits:
137       cpu: 4
138       memory: 8Gi
139     requests:
140       cpu: 2
141       memory: 4Gi
142   unlimited: {}
143
144 persistence:
145   enabled: true
146   ## A manually managed Persistent Volume and Claim
147   ## Requires persistence.enabled: true
148   ## If defined, PVC must be created manually before volume will be bound
149   # existingClaim:
150   volumeReclaimPolicy: Retain
151   ## database data Persistent Volume Storage Class
152   ## If defined, storageClassName: <storageClass>
153   ## If set to "-", storageClassName: "", which disables dynamic provisioning
154   ## If undefined (the default) or set to null, no storageClassName spec is
155   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
156   ##   GKE, AWS & OpenStack)
157   ##
158   # storageClass: "-"
159   accessMode: ReadWriteMany
160   size: 2Gi
161
162   mountPath: /dockerdata-nfs
163   mountSubPath: so/migration