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