Update gerrit branch refs to 3.0.0-ONAP
[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   readinessRepository: oomk8s
25   readinessImage: readiness-check:2.0.0
26   ubuntuInitRepository: registry.hub.docker.com
27   persistence:
28     mountPath: /dockerdata-nfs
29
30 #################################################################
31 # Application configuration defaults.
32 #################################################################
33 # application image
34 repository: nexus3.onap.org:10001
35 image: mariadb:10.1.11
36 pullPolicy: Always
37 ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
38
39 # application configuration
40 config:
41   mariadbRootPassword: password
42   # gerrit branch where the latest heat code is checked in
43   gerritBranch: 3.0.0-ONAP
44   # gerrit project where the latest heat code is checked in
45   gerritProject: http://gerrit.onap.org/r/so/docker-config.git
46 # default number of instances
47 replicaCount: 1
48 nodeSelector: {}
49 affinity: {}
50 # probe configuration parameters
51 liveness:
52   initialDelaySeconds: 450
53   periodSeconds: 10
54   # necessary to disable liveness probe when setting breakpoints
55   # in debugger so K8s doesn't restart unresponsive container
56   enabled: true
57 readiness:
58   initialDelaySeconds: 450
59   periodSeconds: 10
60 ## Persist data to a persitent volume
61 persistence:
62   enabled: true
63   ## A manually managed Persistent Volume and Claim
64   ## Requires persistence.enabled: true
65   ## If defined, PVC must be created manually before volume will be bound
66   # existingClaim:
67   volumeReclaimPolicy: Retain
68   ## database data Persistent Volume Storage Class
69   ## If defined, storageClassName: <storageClass>
70   ## If set to "-", storageClassName: "", which disables dynamic provisioning
71   ## If undefined (the default) or set to null, no storageClassName spec is
72   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
73   ##   GKE, AWS & OpenStack)
74   ##
75   # storageClass: "-"
76   accessMode: ReadWriteMany
77   size: 2Gi
78   mountPath: /dockerdata-nfs
79   mountSubPath: mso/mariadb/data
80 service:
81   type: NodePort
82   portName: mariadb
83   internalPort: 3306
84   externalPort: 3306
85   nodePort: 52
86 ingress:
87   enabled: false
88 # Resource Limit flavor
89 flavor: small
90 resources:
91   small:
92     limits:
93       cpu: 2
94       memory: 4Gi
95     requests:
96       cpu: 1
97       memory: 2Gi
98   large:
99     limits:
100       cpu: 4
101       memory: 8Gi
102     requests:
103       cpu: 2
104       memory: 4Gi
105   unlimited: {}