Use 2.0.0-ONAP tag instead beijing branch
[oom.git] / kubernetes / so / charts / 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
15 # Default values for mariadb.
16 # This is a YAML-formatted file.
17 # Declare variables to be passed into your templates.
18 global: # global defaults
19   nodePortPrefix: 302
20   persistence: {}
21   readinessRepository: oomk8s
22   ubuntuInitRepository: registry.hub.docker.com
23
24
25 # application image
26 repository: nexus3.onap.org:10001
27 image: mariadb:10.1.11
28 pullPolicy: Always
29 ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
30
31 # application configuration
32 config:
33   mariadbRootPassword: password
34   # gerrit branch where the latest heat code is checked in
35   gerritBranch: 2.0.0-ONAP
36   # gerrit project where the latest heat code is checked in
37   gerritProject: http://gerrit.onap.org/r/so/docker-config.git
38
39
40 # default number of instances
41 replicaCount: 1
42
43 nodeSelector: {}
44
45 affinity: {}
46
47 # probe configuration parameters
48 liveness:
49   initialDelaySeconds: 450
50   periodSeconds: 10
51   # necessary to disable liveness probe when setting breakpoints
52   # in debugger so K8s doesn't restart unresponsive container
53   enabled: true
54
55 readiness:
56   initialDelaySeconds: 450
57   periodSeconds: 10
58
59 ## Persist data to a persitent volume
60 persistence:
61   enabled: true
62   
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
69   ## database data Persistent Volume Storage Class
70   ## If defined, storageClassName: <storageClass>
71   ## If set to "-", storageClassName: "", which disables dynamic provisioning
72   ## If undefined (the default) or set to null, no storageClassName spec is
73   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
74   ##   GKE, AWS & OpenStack)
75   ##
76   # storageClass: "-"
77   accessMode: ReadWriteMany
78   size: 2Gi
79   mountPath: /dockerdata-nfs
80   mountSubPath: mso/mariadb/data
81
82 service:
83   type: NodePort
84   portName: mariadb
85   internalPort: 3306
86   nodePort: 52
87
88 ingress:
89   enabled: false
90
91 resources: {}
92   # We usually recommend not to specify default resources and to leave this as a conscious
93   # choice for the user. This also increases chances charts run on environments with little
94   # resources, such as Minikube. If you do want to specify resources, uncomment the following
95   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
96   #
97   # Example:
98   # Configure resource requests and limits
99   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
100   # Minimum memory for development is 2 CPU cores and 4GB memory 
101   # Minimum memory for production is 4 CPU cores and 8GB memory 
102 #resources:
103 #  limits:
104 #    cpu: 2
105 #    memory: 4Gi
106 #  requests:
107 #    cpu: 2
108 #    memory: 4Gi