blob: 186f825af7df1a19ceb99bea5966b30762971402 [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.
14
Mike Elliottd32d36e2018-02-12 15:54:03 -050015# Default values for mariadb.
16# This is a YAML-formatted file.
17# Declare variables to be passed into your templates.
18global: # global defaults
19 nodePortPrefix: 302
Mike Elliottd32d36e2018-02-12 15:54:03 -050020 persistence: {}
Mandeep Khinda0fe4eb72018-04-20 21:02:45 +000021 readinessRepository: oomk8s
22 ubuntuInitRepository: registry.hub.docker.com
Mike Elliottd32d36e2018-02-12 15:54:03 -050023
24
25# application image
26repository: nexus3.onap.org:10001
27image: mariadb:10.1.11
28pullPolicy: Always
Mandeep Khinda0fe4eb72018-04-20 21:02:45 +000029ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
Mike Elliottd32d36e2018-02-12 15:54:03 -050030
31# application configuration
32config:
33 mariadbRootPassword: password
Mandeep Khinda0fe4eb72018-04-20 21:02:45 +000034 # gerrit branch where the latest heat code is checked in
35 gerritBranch: master
36 # gerrit project where the latest heat code is checked in
37 gerritProject: http://gerrit.onap.org/r/so/docker-config.git
Mike Elliottd32d36e2018-02-12 15:54:03 -050038
Mike Elliottd32d36e2018-02-12 15:54:03 -050039
40# default number of instances
41replicaCount: 1
42
43nodeSelector: {}
44
45affinity: {}
46
47# probe configuration parameters
48liveness:
Mike Elliott2499fcc2018-05-07 11:55:15 -040049 initialDelaySeconds: 90
Mike Elliottd32d36e2018-02-12 15:54:03 -050050 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
55readiness:
Mike Elliott2499fcc2018-05-07 11:55:15 -040056 initialDelaySeconds: 90
Mike Elliottd32d36e2018-02-12 15:54:03 -050057 periodSeconds: 10
58
59## Persist data to a persitent volume
60persistence:
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
82service:
83 type: NodePort
Mike Elliott282751f2018-04-19 17:24:08 -040084 portName: mariadb
Mike Elliottd32d36e2018-02-12 15:54:03 -050085 internalPort: 3306
Mike Elliott282751f2018-04-19 17:24:08 -040086 nodePort: 52
Mike Elliottd32d36e2018-02-12 15:54:03 -050087
88ingress:
89 enabled: false
90
91resources: {}
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