values.yaml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. ## Provide a name in place of minio for `app:` labels
  2. ##
  3. nameOverride: ""
  4. ## Provide a name to substitute for the full names of resources
  5. ##
  6. fullnameOverride: ""
  7. ## set kubernetes cluster domain where minio is running
  8. ##
  9. clusterDomain: cluster.local
  10. ## Set default image, imageTag, and imagePullPolicy. mode is used to indicate the
  11. ##
  12. image:
  13. repository: minio/minio
  14. tag: RELEASE.2020-11-19T23-48-16Z
  15. pullPolicy: IfNotPresent
  16. ## Set default image, imageTag, and imagePullPolicy for the `mc` (the minio
  17. ## client used to create a default bucket).
  18. ##
  19. mcImage:
  20. repository: minio/mc
  21. tag: RELEASE.2020-11-17T00-39-14Z
  22. pullPolicy: IfNotPresent
  23. ## Set default image, imageTag, and imagePullPolicy for the `jq` (the JSON
  24. ## process used to create secret for prometheus ServiceMonitor).
  25. ##
  26. helmKubectlJqImage:
  27. repository: bskim45/helm-kubectl-jq
  28. tag: 3.1.0
  29. pullPolicy: IfNotPresent
  30. ## minio server mode, i.e. standalone or distributed.
  31. ## Distributed Minio ref: https://docs.minio.io/docs/distributed-minio-quickstart-guide
  32. ##
  33. mode: standalone
  34. ## Additional arguments to pass to minio binary
  35. extraArgs: []
  36. ## Update strategy for Deployments
  37. DeploymentUpdate:
  38. type: RollingUpdate
  39. maxUnavailable: 0
  40. maxSurge: 100%
  41. ## Update strategy for StatefulSets
  42. StatefulSetUpdate:
  43. updateStrategy: RollingUpdate
  44. ## Pod priority settings
  45. ## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
  46. ##
  47. priorityClassName: ""
  48. ## Set default accesskey, secretkey, Minio config file path, volume mount path and
  49. ## number of nodes (only used for Minio distributed mode)
  50. ## AccessKey and secretKey is generated when not set
  51. ## Distributed Minio ref: https://docs.minio.io/docs/distributed-minio-quickstart-guide
  52. ##
  53. accessKey: ""
  54. secretKey: ""
  55. certsPath: "/etc/minio/certs/"
  56. configPathmc: "/etc/minio/mc/"
  57. mountPath: "/export"
  58. ## Use existing Secret that store following variables:
  59. ##
  60. ## | Chart var | .data.<key> in Secret |
  61. ## |:----------------------|:-------------------------|
  62. ## | accessKey | accesskey |
  63. ## | secretKey | secretkey |
  64. ##
  65. ## All mentioned variables will be ignored in values file.
  66. ## .data.accesskey and .data.secretkey are mandatory,
  67. ## others depend on enabled status of corresponding sections.
  68. existingSecret: ""
  69. ## Override the root directory which the minio server should serve from.
  70. ## If left empty, it defaults to the value of {{ .Values.mountPath }}
  71. ## If defined, it must be a sub-directory of the path specified in {{ .Values.mountPath }}
  72. bucketRoot: ""
  73. # Number of drives attached to a node
  74. drivesPerNode: 1
  75. # Number of MinIO containers running
  76. replicas: 4
  77. # Number of expanded MinIO clusters
  78. zones: 1
  79. ## TLS Settings for Minio
  80. tls:
  81. enabled: false
  82. ## Create a secret with private.key and public.crt files and pass that here. Ref: https://github.com/minio/minio/tree/master/docs/tls/kubernetes#2-create-kubernetes-secret
  83. certSecret: ""
  84. publicCrt: public.crt
  85. privateKey: private.key
  86. ## Trusted Certificates Settings for Minio. Ref: https://docs.minio.io/docs/how-to-secure-access-to-minio-server-with-tls#install-certificates-from-third-party-cas
  87. ## Bundle multiple trusted certificates into one secret and pass that here. Ref: https://github.com/minio/minio/tree/master/docs/tls/kubernetes#2-create-kubernetes-secret
  88. ## When using self-signed certificates, remember to include Minio's own certificate in the bundle with key public.crt.
  89. ## If certSecret is left empty and tls is enabled, this chart installs the public certificate from .Values.tls.certSecret.
  90. trustedCertsSecret: ""
  91. ## Enable persistence using Persistent Volume Claims
  92. ## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
  93. ##
  94. persistence:
  95. enabled: true
  96. ## A manually managed Persistent Volume and Claim
  97. ## Requires persistence.enabled: true
  98. ## If defined, PVC must be created manually before volume will be bound
  99. existingClaim: ""
  100. ## minio data Persistent Volume Storage Class
  101. ## If defined, storageClassName: <storageClass>
  102. ## If set to "-", storageClassName: "", which disables dynamic provisioning
  103. ## If undefined (the default) or set to null, no storageClassName spec is
  104. ## set, choosing the default provisioner. (gp2 on AWS, standard on
  105. ## GKE, AWS & OpenStack)
  106. ##
  107. ## Storage class of PV to bind. By default it looks for standard storage class.
  108. ## If the PV uses a different storage class, specify that here.
  109. storageClass: ""
  110. VolumeName: ""
  111. accessMode: ReadWriteOnce
  112. size: 500Gi
  113. ## If subPath is set mount a sub folder of a volume instead of the root of the volume.
  114. ## This is especially handy for volume plugins that don't natively support sub mounting (like glusterfs).
  115. ##
  116. subPath: ""
  117. ## Expose the Minio service to be accessed from outside the cluster (LoadBalancer service).
  118. ## or access it from within the cluster (ClusterIP service). Set the service type and the port to serve it.
  119. ## ref: http://kubernetes.io/docs/user-guide/services/
  120. ##
  121. service:
  122. type: ClusterIP
  123. clusterIP: ~
  124. port: 9000
  125. nodePort: 32000
  126. ## List of IP addresses at which the Prometheus server service is available
  127. ## Ref: https://kubernetes.io/docs/user-guide/services/#external-ips
  128. ##
  129. externalIPs: []
  130. # - externalIp1
  131. annotations: {}
  132. # prometheus.io/scrape: 'true'
  133. # prometheus.io/path: '/minio/prometheus/metrics'
  134. # prometheus.io/port: '9000'
  135. imagePullSecrets: []
  136. # - name: "image-pull-secret"
  137. ## Node labels for pod assignment
  138. ## Ref: https://kubernetes.io/docs/user-guide/node-selection/
  139. ##
  140. nodeSelector: {}
  141. tolerations: []
  142. affinity: {}
  143. ## Add stateful containers to have security context, if enabled MinIO will run as this
  144. ## user and group NOTE: securityContext is only enabled if persistence.enabled=true
  145. securityContext:
  146. enabled: true
  147. runAsUser: 1000
  148. runAsGroup: 1000
  149. fsGroup: 1000
  150. # Additational pod annotations
  151. podAnnotations: {}
  152. # Additional pod labels
  153. podLabels: {}
  154. ## Configure resource requests and limits
  155. ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
  156. ##
  157. resources:
  158. requests:
  159. memory: 4Gi
  160. ## Create a bucket after minio install
  161. ##
  162. defaultBucket:
  163. enabled: false
  164. ## If enabled, must be a string with length > 0
  165. name: bucket
  166. ## Can be one of none|download|upload|public
  167. policy: none
  168. ## Purge if bucket exists already
  169. purge: false
  170. ## set versioning for bucket true|false
  171. # versioning: false
  172. ## Create multiple buckets after minio install
  173. ## Enabling `defaultBucket` will take priority over this list
  174. ##
  175. buckets: []
  176. # - name: bucket1
  177. # policy: none
  178. # purge: false
  179. # - name: bucket2
  180. # policy: none
  181. # purge: false
  182. ## Use this field to add environment variables relevant to Minio server. These fields will be passed on to Minio container(s)
  183. ## when Chart is deployed
  184. environment:
  185. ## Please refer for comprehensive list https://docs.minio.io/docs/minio-server-configuration-guide.html
  186. networkPolicy:
  187. enabled: false
  188. allowExternal: true
  189. ## PodDisruptionBudget settings
  190. ## ref: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/
  191. ##
  192. podDisruptionBudget:
  193. enabled: false
  194. maxUnavailable: 1
  195. ## Specify the service account to use for the Minio pods. If 'create' is set to 'false'
  196. ## and 'name' is left unspecified, the account 'default' will be used.
  197. serviceAccount:
  198. create: true
  199. ## The name of the service account to use. If 'create' is 'true', a service account with that name
  200. ## will be created. Otherwise, a name will be auto-generated.
  201. name: