1c0457bad04aae4ecc94800b9a79f10921eab10f
[it/otf.git] / otf-helm / otf / charts / databases / charts / mysqldb / values.yaml
1 # Values yaml file for reference from the github. - currently not used.\r
2 \r
3 ## mysql image version\r
4 ## ref: https://hub.docker.com/r/library/mysql/tags/\r
5 ##\r
6 image: "mysql"\r
7 imageTag: "5.7.26"\r
8 \r
9 strategy:\r
10   type: Recreate\r
11 \r
12 busybox:\r
13   image: "busybox"\r
14   tag: "1.29.3"\r
15 \r
16 testFramework:\r
17   enabled: true\r
18   image: "dduportal/bats"\r
19   tag: "0.4.0"\r
20 \r
21 ## Specify password for root user\r
22 ##\r
23 ## Default: random 10 character string\r
24 # mysqlRootPassword: testing\r
25 \r
26 ## Create a database user\r
27 ##\r
28 # mysqlUser:\r
29 ## Default: random 10 character string\r
30 # mysqlPassword:\r
31 \r
32 ## Allow unauthenticated access, uncomment to enable\r
33 ##\r
34 # mysqlAllowEmptyPassword: true\r
35 \r
36 ## Create a database\r
37 ##\r
38 # mysqlDatabase:\r
39 \r
40 ## Specify an imagePullPolicy (Required)\r
41 ## It's recommended to change this to 'Always' if the image tag is 'latest'\r
42 ## ref: http://kubernetes.io/docs/user-guide/images/#updating-images\r
43 ##\r
44 imagePullPolicy: IfNotPresent\r
45 \r
46 ## Additionnal arguments that are passed to the MySQL container.\r
47 ## For example use --default-authentication-plugin=mysql_native_password if older clients need to\r
48 ## connect to a MySQL 8 instance.\r
49 args: []\r
50 \r
51 extraVolumes: |\r
52   # - name: extras\r
53   #   emptyDir: {}\r
54 \r
55 extraVolumeMounts: |\r
56   # - name: extras\r
57   #   mountPath: /usr/share/extras\r
58   #   readOnly: true\r
59 \r
60 extraInitContainers: |\r
61   # - name: do-something\r
62   #   image: busybox\r
63   #   command: ['do', 'something']\r
64 \r
65 # Optionally specify an array of imagePullSecrets.\r
66 # Secrets must be manually created in the namespace.\r
67 # ref: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod\r
68 # imagePullSecrets:\r
69   # - name: myRegistryKeySecretName\r
70 \r
71 ## Node selector\r
72 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector\r
73 nodeSelector: {}\r
74 \r
75 ## Affinity\r
76 ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity\r
77 affinity: {}\r
78 \r
79 ## Tolerations for pod assignment\r
80 ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/\r
81 ##\r
82 tolerations: []\r
83 \r
84 livenessProbe:\r
85   initialDelaySeconds: 30\r
86   periodSeconds: 10\r
87   timeoutSeconds: 5\r
88   successThreshold: 1\r
89   failureThreshold: 3\r
90 \r
91 readinessProbe:\r
92   initialDelaySeconds: 5\r
93   periodSeconds: 10\r
94   timeoutSeconds: 1\r
95   successThreshold: 1\r
96   failureThreshold: 3\r
97 \r
98 ## Persist data to a persistent volume\r
99 persistence:\r
100   enabled: true\r
101   ## database data Persistent Volume Storage Class\r
102   ## If defined, storageClassName: <storageClass>\r
103   ## If set to "-", storageClassName: "", which disables dynamic provisioning\r
104   ## If undefined (the default) or set to null, no storageClassName spec is\r
105   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on\r
106   ##   GKE, AWS & OpenStack)\r
107   ##\r
108   # storageClass: "-"\r
109   accessMode: ReadWriteOnce\r
110   size: 8Gi\r
111   annotations: {}\r
112 \r
113 ## Use an alternate scheduler, e.g. "stork".\r
114 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/\r
115 ##\r
116 # schedulerName:\r
117 \r
118 ## Security context\r
119 securityContext:\r
120   enabled: false\r
121   runAsUser: 999\r
122   fsGroup: 999\r
123 \r
124 ## Configure resource requests and limits\r
125 ## ref: http://kubernetes.io/docs/user-guide/compute-resources/\r
126 ##\r
127 resources:\r
128   requests:\r
129     memory: 256Mi\r
130     cpu: 100m\r
131 \r
132 # Custom mysql configuration files path\r
133 configurationFilesPath: /etc/mysql/conf.d/\r
134 \r
135 # Custom mysql configuration files used to override default mysql settings\r
136 configurationFiles: {}\r
137 #  mysql.cnf: |-\r
138 #    [mysqld]\r
139 #    skip-name-resolve\r
140 #    ssl-ca=/ssl/ca.pem\r
141 #    ssl-cert=/ssl/server-cert.pem\r
142 #    ssl-key=/ssl/server-key.pem\r
143 \r
144 # Custom mysql init SQL files used to initialize the database\r
145 initializationFiles: {}\r
146 #  first-db.sql: |-\r
147 #    CREATE DATABASE IF NOT EXISTS first DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;\r
148 #  second-db.sql: |-\r
149 #    CREATE DATABASE IF NOT EXISTS second DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;\r
150 \r
151 metrics:\r
152   enabled: false\r
153   image: prom/mysqld-exporter\r
154   imageTag: v0.10.0\r
155   imagePullPolicy: IfNotPresent\r
156   resources: {}\r
157   annotations: {}\r
158     # prometheus.io/scrape: "true"\r
159     # prometheus.io/port: "9104"\r
160   livenessProbe:\r
161     initialDelaySeconds: 15\r
162     timeoutSeconds: 5\r
163   readinessProbe:\r
164     initialDelaySeconds: 5\r
165     timeoutSeconds: 1\r
166   flags: []\r
167   serviceMonitor:\r
168     enabled: false\r
169     additionalLabels: {}\r
170 \r
171 ## Configure the service\r
172 ## ref: http://kubernetes.io/docs/user-guide/services/\r
173 service:\r
174   annotations: {}\r
175   ## Specify a service type\r
176   ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services---service-types\r
177   type: ClusterIP\r
178   port: 3306\r
179   # nodePort: 32000\r
180   # loadBalancerIP:\r
181 \r
182 ## Pods Service Account\r
183 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/\r
184 serviceAccount:\r
185   ## Specifies whether a ServiceAccount should be created\r
186   ##\r
187   create: false\r
188   ## The name of the ServiceAccount to use.\r
189   ## If not set and create is true, a name is generated using the mariadb.fullname template\r
190   # name:\r
191 \r
192 ssl:\r
193   enabled: false\r
194   secret: mysql-ssl-certs\r
195   certificates:\r
196 #  - name: mysql-ssl-certs\r
197 #    ca: |-\r
198 #      -----BEGIN CERTIFICATE-----\r
199 #      ...\r
200 #      -----END CERTIFICATE-----\r
201 #    cert: |-\r
202 #      -----BEGIN CERTIFICATE-----\r
203 #      ...\r
204 #      -----END CERTIFICATE-----\r
205 #    key: |-\r
206 #      -----BEGIN RSA PRIVATE KEY-----\r
207 #      ...\r
208 #      -----END RSA PRIVATE KEY-----\r
209 \r
210 ## Populates the 'TZ' system timezone environment variable\r
211 ## ref: https://dev.mysql.com/doc/refman/5.7/en/time-zone-support.html\r
212 ##\r
213 ## Default: nil (mysql will use image's default timezone, normally UTC)\r
214 ## Example: 'Australia/Sydney'\r
215 # timezone:\r
216 \r
217 # Deployment Annotations\r
218 deploymentAnnotations: {}\r
219 \r
220 # To be added to the database server pod(s)\r
221 podAnnotations: {}\r
222 podLabels: {}\r
223 \r
224 ## Set pod priorityClassName\r
225 # priorityClassName: {}\r
226 \r
227 \r
228 ## Init container resources defaults\r
229 initContainer:\r
230   resources:\r
231     requests:\r
232       memory: 10Mi\r
233       cpu: 10m\r