blob: 9fd67fcabc4937b1eefe35dce6e6f76f6b7c8b64 [file] [log] [blame]
jmaca4ddffa2018-04-08 19:28:01 +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 Elliott13fed112018-02-28 08:33:33 -050015#################################################################
16# Global configuration defaults.
17#################################################################
18global:
19 nodePortPrefix: 302
Mike Elliott13fed112018-02-28 08:33:33 -050020 persistence: {}
21 readinessRepository: oomk8s
BorislavG3d6f9372018-04-15 11:55:39 +000022 readinessImage: readiness-check:2.0.0
Mike Elliott13fed112018-02-28 08:33:33 -050023
24
25#################################################################
26# Application configuration defaults.
27#################################################################
28
jmaca4ddffa2018-04-08 19:28:01 +000029dockerHubRepository: registry.hub.docker.com
Mike Elliott13fed112018-02-28 08:33:33 -050030image: library/mysql:5.7
31pullPolicy: Always
32
33# application configuration
34config:
35 dbRootPassword: openECOMP1.0
36
37# default number of instances
38replicaCount: 1
39
40nodeSelector: {}
41
42affinity: {}
43
jmaca4ddffa2018-04-08 19:28:01 +000044disableNfsProvisioner: true
45
Mike Elliott13fed112018-02-28 08:33:33 -050046# probe configuration parameters
47liveness:
48 initialDelaySeconds: 30
49 periodSeconds: 10
50 timeoutSeconds: 5
51 # necessary to disable liveness probe when setting breakpoints
52 # in debugger so K8s doesn't restart unresponsive container
53 enabled: true
54
55readiness:
56 initialDelaySeconds: 5
57 periodSeconds: 10
58
59## Persist data to a persitent volume
60persistence:
Mohammadreza Pasandidehcffec6d2018-05-08 17:42:11 -040061 enabled: true
Mandeep Khinda60d36d42018-09-24 15:15:48 +000062
Mike Elliott13fed112018-02-28 08:33:33 -050063 ## 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)
Mohammadreza Pasandidehcffec6d2018-05-08 17:42:11 -040075 accessMode: ReadWriteOnce
Mike Elliott13fed112018-02-28 08:33:33 -050076 size: 1Gi
77 mountPath: /dockerdata-nfs
jmaca4ddffa2018-04-08 19:28:01 +000078 mountSubPath: "mysql/data"
Mohammadreza Pasandidehcffec6d2018-05-08 17:42:11 -040079 mysqlPath: /var/lib/mysql
Mike Elliott13fed112018-02-28 08:33:33 -050080
81service:
82 name: mysql
BorislavG1ffbd992018-04-24 07:56:27 +000083 portName: mysql
Mike Elliott13fed112018-02-28 08:33:33 -050084 internalPort: 3306
85 # nfs provisioner ports
86 nfsPort: 2049
87 mountdPort: 20048
88 rpcbindPort: 111
89 rpcbindUdpPort: 111
Neha Jain7b0d6c62018-05-17 14:34:49 -040090 type: NodePort
91 nodeport1: 72
92 nodeport2: 73
Mike Elliott13fed112018-02-28 08:33:33 -050093
94ingress:
95 enabled: false
96
97resources: {}
98 # We usually recommend not to specify default resources and to leave this as a conscious
99 # choice for the user. This also increases chances charts run on environments with little
100 # resources, such as Minikube. If you do want to specify resources, uncomment the following
101 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
102 #
103 # Example:
104 # Configure resource requests and limits
105 # ref: http://kubernetes.io/docs/user-guide/compute-resources/
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000106 # Minimum memory for development is 2 CPU cores and 4GB memory
107 # Minimum memory for production is 4 CPU cores and 8GB memory
Mike Elliott13fed112018-02-28 08:33:33 -0500108#resources:
109# limits:
110# cpu: 2
111# memory: 4Gi
112# requests:
113# cpu: 2
114# memory: 4Gi
115
116#################################################################
117# Sidecar Configuration.
118#
119# xtrabackup configuration defaults.
120#################################################################
121xtrabackupRepository: gcr.io/google-samples
122xtrabackupImage: xtrabackup:1.0
123xtrabackup:
124 internalPort: 3307
125
126nfsprovisionerRepository: quay.io
127nfsprovisionerImage: kubernetes_incubator/nfs-provisioner:v1.0.8
128nfsprovisionerPrefix: mysql
129
130sdnctlPrefix: mysql
Neha Jainbaadb382018-04-03 11:34:59 -0400131
132geoEnabled: false
133geoSiteId: 1