blob: 81370c720592de1e61769021a8791451908599f9 [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.
Mike Elliottd32d36e2018-02-12 15:54:03 -050014# Default values for mariadb.
15# This is a YAML-formatted file.
16# Declare variables to be passed into your templates.
17global: # global defaults
18 nodePortPrefix: 302
Mike Elliottd32d36e2018-02-12 15:54:03 -050019 persistence: {}
Mandeep Khinda0fe4eb72018-04-20 21:02:45 +000020 readinessRepository: oomk8s
21 ubuntuInitRepository: registry.hub.docker.com
Mike Elliottd32d36e2018-02-12 15:54:03 -050022# application image
23repository: nexus3.onap.org:10001
24image: mariadb:10.1.11
25pullPolicy: Always
Mandeep Khinda0fe4eb72018-04-20 21:02:45 +000026ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
Mike Elliottd32d36e2018-02-12 15:54:03 -050027# application configuration
28config:
29 mariadbRootPassword: password
Mandeep Khinda0fe4eb72018-04-20 21:02:45 +000030 # gerrit branch where the latest heat code is checked in
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000031 gerritBranch: master
Mandeep Khinda0fe4eb72018-04-20 21:02:45 +000032 # gerrit project where the latest heat code is checked in
33 gerritProject: http://gerrit.onap.org/r/so/docker-config.git
Mike Elliottd32d36e2018-02-12 15:54:03 -050034# default number of instances
35replicaCount: 1
Mike Elliottd32d36e2018-02-12 15:54:03 -050036nodeSelector: {}
Mike Elliottd32d36e2018-02-12 15:54:03 -050037affinity: {}
Mike Elliottd32d36e2018-02-12 15:54:03 -050038# probe configuration parameters
39liveness:
Gary Wu6f396eb2018-06-07 04:43:32 -070040 initialDelaySeconds: 450
Mike Elliottd32d36e2018-02-12 15:54:03 -050041 periodSeconds: 10
42 # necessary to disable liveness probe when setting breakpoints
43 # in debugger so K8s doesn't restart unresponsive container
44 enabled: true
Mike Elliottd32d36e2018-02-12 15:54:03 -050045readiness:
Gary Wu6f396eb2018-06-07 04:43:32 -070046 initialDelaySeconds: 450
Mike Elliottd32d36e2018-02-12 15:54:03 -050047 periodSeconds: 10
Mike Elliottd32d36e2018-02-12 15:54:03 -050048## Persist data to a persitent volume
49persistence:
50 enabled: true
Mike Elliottd32d36e2018-02-12 15:54:03 -050051 ## 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
Mike Elliottd32d36e2018-02-12 15:54:03 -050056 ## 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
Mike Elliottd32d36e2018-02-12 15:54:03 -050068service:
69 type: NodePort
Mike Elliott282751f2018-04-19 17:24:08 -040070 portName: mariadb
Mike Elliottd32d36e2018-02-12 15:54:03 -050071 internalPort: 3306
Mike Elliott282751f2018-04-19 17:24:08 -040072 nodePort: 52
Mike Elliottd32d36e2018-02-12 15:54:03 -050073ingress:
74 enabled: false
Mike Elliottd32d36e2018-02-12 15:54:03 -050075resources: {}
76 # We usually recommend not to specify default resources and to leave this as a conscious
77 # choice for the user. This also increases chances charts run on environments with little
78 # resources, such as Minikube. If you do want to specify resources, uncomment the following
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000079 # s, adjust them as necessary, and remove the curly braces after 'resources:'.
Mike Elliottd32d36e2018-02-12 15:54:03 -050080 #
81 # Example:
82 # Configure resource requests and limits
83 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000084 # Minimum memory for development is 2 CPU cores and 4GB memory
85 # Minimum memory for production is 4 CPU cores and 8GB memory
Mike Elliottd32d36e2018-02-12 15:54:03 -050086#resources:
87# limits:
88# cpu: 2
89# memory: 4Gi
90# requests:
91# cpu: 2
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000092# memory: 4Gi