You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

values.yaml 6.2 kB

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