Improve docker registry secret management
[oom.git] / kubernetes / common / mysql / 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 #################################################################
16 # Global configuration defaults.
17 #################################################################
18 global:
19   nodePortPrefix: 302
20   persistence: {}
21   readinessRepository: oomk8s
22   readinessImage: readiness-check:2.0.0
23
24
25 #################################################################
26 # Application configuration defaults.
27 #################################################################
28
29 dockerHubRepository: registry.hub.docker.com
30 image: library/mysql:5.7
31 pullPolicy: Always
32
33 # application configuration
34 config:
35   dbRootPassword: openECOMP1.0
36
37 # default number of instances
38 replicaCount: 1
39
40 nodeSelector: {}
41
42 affinity: {}
43
44 disableNfsProvisioner: true
45
46 # probe configuration parameters
47 liveness:
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
55 readiness:
56   initialDelaySeconds: 5
57   periodSeconds: 10
58
59 ## Persist data to a persitent volume
60 persistence:
61   enabled: false
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   accessMode: ReadWriteMany
76   size: 1Gi
77   mountPath: /dockerdata-nfs
78   mountSubPath: "mysql/data"
79
80 service:
81   name: mysql
82   portName: mysql
83   internalPort: 3306
84   # nfs provisioner ports
85   nfsPort: 2049
86   mountdPort: 20048
87   rpcbindPort: 111
88   rpcbindUdpPort: 111
89
90 ingress:
91   enabled: false
92
93 resources: {}
94   # We usually recommend not to specify default resources and to leave this as a conscious
95   # choice for the user. This also increases chances charts run on environments with little
96   # resources, such as Minikube. If you do want to specify resources, uncomment the following
97   # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
98   #
99   # Example:
100   # Configure resource requests and limits
101   # ref: http://kubernetes.io/docs/user-guide/compute-resources/
102   # Minimum memory for development is 2 CPU cores and 4GB memory 
103   # Minimum memory for production is 4 CPU cores and 8GB memory 
104 #resources:
105 #  limits:
106 #    cpu: 2
107 #    memory: 4Gi
108 #  requests:
109 #    cpu: 2
110 #    memory: 4Gi
111
112 #################################################################
113 # Sidecar Configuration.
114 #
115 # xtrabackup configuration defaults.
116 #################################################################
117 xtrabackupRepository: gcr.io/google-samples
118 xtrabackupImage: xtrabackup:1.0
119 xtrabackup:
120   internalPort: 3307
121
122 nfsprovisionerRepository: quay.io
123 nfsprovisionerImage: kubernetes_incubator/nfs-provisioner:v1.0.8
124 nfsprovisionerPrefix: mysql
125
126 sdnctlPrefix: mysql
127
128 geoEnabled: false
129 geoSiteId: 1