mirror of
https://github.com/bitnami/charts.git
synced 2026-03-05 06:47:25 +08:00
* Adding optional Azure Storage Account credential source Enables Azure Storage Account credential extraction from external secrets specified in values.yaml * Add Autoscaling to Minio Gateway Add an HPA component Add autoscaling configuration in values.yaml Modify update strategy for Minio Gateway deployment to be more flexible * Fix azure credentials values validation Fix so that credentials fail if either there's no explicit credentials or if at least one of the existing secret references is empty * Bump minor chart version for Minio * Adjusting Minio gateway.updateStrategy type description * Updating chart version * Updating gateway autoscaling metadata * Adjusting template formatting for compatibility Co-authored-by: Ayan Bikalapov <abikalapov@explorance.com>
751 lines
30 KiB
YAML
751 lines
30 KiB
YAML
## @section Global parameters
|
|
## Global Docker image parameters
|
|
## Please, note that this will override the image parameters, including dependencies, configured to use the global value
|
|
## Current available global Docker image parameters: imageRegistry, imagePullSecrets and storageClass
|
|
|
|
## @param global.imageRegistry Global Docker image registry
|
|
## @param global.imagePullSecrets Global Docker registry secret names as an array
|
|
## @param global.storageClass Global StorageClass for Persistent Volume(s)
|
|
## @param global.minio Global MinIO® credentials
|
|
##
|
|
global:
|
|
imageRegistry: ""
|
|
## e.g.
|
|
## imagePullSecrets:
|
|
## - myRegistryKeySecretName
|
|
##
|
|
imagePullSecrets: []
|
|
storageClass: ""
|
|
## e.g:
|
|
## minio:
|
|
## existingSecret: ""
|
|
## accessKey: ""
|
|
## secretKey: ""
|
|
##
|
|
minio: {}
|
|
|
|
## @section Common parameters
|
|
|
|
## @param nameOverride String to partially override common.names.fullname template (will maintain the release name)
|
|
##
|
|
nameOverride: ""
|
|
## @param fullnameOverride String to fully override common.names.fullname template
|
|
##
|
|
fullnameOverride: ""
|
|
## @param commonLabels Labels to add to all deployed objects
|
|
##
|
|
commonLabels: {}
|
|
## @param commonAnnotations Annotations to add to all deployed objects
|
|
##
|
|
commonAnnotations: {}
|
|
## @param kubeVersion Force target Kubernetes version (using Helm capabilities if not set)
|
|
##
|
|
kubeVersion: ""
|
|
## @param clusterDomain Default Kubernetes cluster domain
|
|
##
|
|
clusterDomain: cluster.local
|
|
## @param extraDeploy Array of extra objects to deploy with the release
|
|
##
|
|
extraDeploy: []
|
|
|
|
## @section MinIO® parameters
|
|
|
|
## Bitnami MinIO® image version
|
|
## ref: https://hub.docker.com/r/bitnami/minio/tags/
|
|
## @param image.registry MinIO® image registry
|
|
## @param image.repository MinIO® image repository
|
|
## @param image.tag MinIO® image tag (immutable tags are recommended)
|
|
## @param image.pullPolicy Image pull policy
|
|
## @param image.pullSecrets Specify docker-registry secret names as an array
|
|
## @param image.debug Specify if debug logs should be enabled
|
|
##
|
|
image:
|
|
registry: docker.io
|
|
repository: bitnami/minio
|
|
tag: 2021.6.17-debian-10-r58
|
|
## Specify a imagePullPolicy
|
|
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
|
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
|
##
|
|
pullPolicy: IfNotPresent
|
|
## Optionally specify an array of imagePullSecrets.
|
|
## Secrets must be manually created in the namespace.
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
|
## e.g:
|
|
## pullSecrets:
|
|
## - myRegistryKeySecretName
|
|
##
|
|
pullSecrets: []
|
|
## Set to true if you would like to see extra information on logs
|
|
##
|
|
debug: false
|
|
## Bitnami MinIO® Client image version
|
|
## ref: https://hub.docker.com/r/bitnami/minio-client/tags/
|
|
## @param clientImage.registry MinIO® Client image registry
|
|
## @param clientImage.repository MinIO® Client image repository
|
|
## @param clientImage.tag MinIO® Client image tag (immutable tags are recommended)
|
|
##
|
|
clientImage:
|
|
registry: docker.io
|
|
repository: bitnami/minio-client
|
|
tag: 2021.7.27-debian-10-r28
|
|
## @param mode MinIO® server mode (`standalone` or `distributed`)
|
|
## ref: https://docs.minio.io/docs/distributed-minio-quickstart-guide
|
|
##
|
|
mode: standalone
|
|
## MinIO® credentials
|
|
##
|
|
accessKey:
|
|
## @param accessKey.password MinIO® Access Key. Ignored if existing secret is provided.
|
|
## ref: https://github.com/bitnami/bitnami-docker-minio/#setting-up-minio-in-distributed-mode
|
|
##
|
|
password: ""
|
|
## @param accessKey.forcePassword Option to force users to specify a password. That is required for 'helm upgrade' to work properly.
|
|
## If it is not force, a random password will be generated.
|
|
##
|
|
forcePassword: false
|
|
secretKey:
|
|
## @param secretKey.password MinIO® Secret Key. Ignored if existing secret is provided.
|
|
## ref: https://github.com/bitnami/bitnami-docker-minio/#setting-up-minio-in-distributed-mode
|
|
##
|
|
password: ""
|
|
## @param secretKey.forcePassword Option to force users to specify a password. That is required for 'helm upgrade' to work properly.
|
|
## If it is not force, a random password will be generated.
|
|
##
|
|
forcePassword: false
|
|
## @param existingSecret Use existing secret (ignores accessKey, and secretKey passwords)
|
|
##
|
|
existingSecret: ""
|
|
## @param useCredentialsFile Mount MinIO® secret as a file instead of passing environment variable
|
|
##
|
|
useCredentialsFile: false
|
|
## @param forceNewKeys Force admin credentials (access and secret key) to be reconfigured every time they change in the secrets
|
|
##
|
|
forceNewKeys: false
|
|
## @param defaultBuckets Comma, semi-colon or space separated list of buckets to create at initialization (only in standalone mode)
|
|
## e.g:
|
|
## defaultBuckets: "my-bucket, my-second-bucket"
|
|
##
|
|
defaultBuckets: ""
|
|
## @param disableWebUI Disable MinIO® Web UI
|
|
## ref: https://github.com/minio/minio/tree/master/docs/config/#browser
|
|
##
|
|
disableWebUI: false
|
|
## Enable tls in front of MinIO® containers.
|
|
##
|
|
tls:
|
|
## @param tls.enabled Enable tls in front of the container
|
|
##
|
|
enabled: false
|
|
## @param tls.existingSecret Name of an existing secret holding the certificate information
|
|
##
|
|
existingSecret: ""
|
|
## @param tls.secretName DEPRECATED. Use `tls.existingSecret` instead.
|
|
## Name of an existing secret holding the certificate information
|
|
##
|
|
secretName: ""
|
|
## @param tls.mountPath The mount path where the secret will be located
|
|
## Custom mount path where the certificates will be located, if empty will default to /certs
|
|
mountPath: ""
|
|
## @param extraEnv Extra environment variables to be set on MinIO® container
|
|
## e.g:
|
|
## extraEnv:
|
|
## - name: FOO
|
|
## value: "bar"
|
|
##
|
|
extraEnv: {}
|
|
## @param extraEnvVarsCM ConfigMap with extra environment variables
|
|
##
|
|
extraEnvVarsCM: ""
|
|
## @param extraEnvVarsSecret Secret with extra environment variables
|
|
##
|
|
extraEnvVarsSecret: ""
|
|
## @param command Default container command (useful when using custom images). Use array form
|
|
##
|
|
command: []
|
|
## @param args Default container args (useful when using custom images). Use array form
|
|
##
|
|
args: []
|
|
|
|
## @section MinIO® deployment/statefulset parameters
|
|
|
|
## @param schedulerName Specifies the schedulerName, if it's nil uses kube-scheduler
|
|
## https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
|
|
##
|
|
schedulerName: ""
|
|
## MinIO® deployment parameters
|
|
## Only when 'mode' is 'standalone' or 'gateway.enabled' is 'true'
|
|
##
|
|
deployment:
|
|
## @param deployment.updateStrategy.type Set to Recreate if you use persistent volume that cannot be mounted by more than one pods to make sure the pods is destroyed first.
|
|
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
|
|
## e.g:
|
|
## updateStrategy:
|
|
## type: RollingUpdate
|
|
## rollingUpdate:
|
|
## maxSurge: 25%
|
|
## maxUnavailable: 25%
|
|
##
|
|
updateStrategy:
|
|
type: Recreate
|
|
## MinIO® statefulset parameters
|
|
## Only when mode is 'distributed'
|
|
##
|
|
statefulset:
|
|
## @param statefulset.updateStrategy Update strategy, can be set to `RollingUpdate` or `OnDelete`
|
|
## ref: https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/#updating-statefulsets
|
|
##
|
|
updateStrategy: RollingUpdate
|
|
## @param statefulset.podManagementPolicy StatefulSet controller supports relax its ordering guarantees while preserving its uniqueness and identity guarantees. There are two valid pod management policies: OrderedReady and Parallel
|
|
## ref: https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/#pod-management-policy
|
|
##
|
|
podManagementPolicy: Parallel
|
|
## @param statefulset.replicaCount Number of pods per zone (only for MinIO® distributed mode). Should be even and `>= 4`
|
|
##
|
|
replicaCount: 4
|
|
## @param statefulset.zones Number of zones (only for MinIO® distributed mode)
|
|
##
|
|
zones: 1
|
|
## @param statefulset.drivesPerNode Number of drives attached to every node (only for MinIO® distributed mode)
|
|
##
|
|
drivesPerNode: 1
|
|
## @param hostAliases MinIO® pod host aliases
|
|
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
|
|
##
|
|
hostAliases: []
|
|
## @param containerPort MinIO® container port to open
|
|
##
|
|
containerPort: 9000
|
|
## MinIO® pod Security Context
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
|
|
## @param podSecurityContext.enabled Enable pod Security Context
|
|
## @param podSecurityContext.fsGroup Group ID for the container
|
|
##
|
|
podSecurityContext:
|
|
enabled: true
|
|
fsGroup: 1001
|
|
## MinIO® container Security Context
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
|
|
## @param containerSecurityContext.enabled Enable container Security Context
|
|
## @param containerSecurityContext.runAsUser User ID for the container
|
|
## @param containerSecurityContext.runAsNonRoot Avoid running as root User
|
|
##
|
|
containerSecurityContext:
|
|
enabled: true
|
|
runAsUser: 1001
|
|
runAsNonRoot: true
|
|
## @param podLabels Extra labels for MinIO® pods
|
|
## Ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
|
|
##
|
|
podLabels: {}
|
|
## @param podAnnotations Annotations for MinIO® pods
|
|
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
|
|
##
|
|
podAnnotations: {}
|
|
## @param podAffinityPreset Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
|
|
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
|
|
##
|
|
podAffinityPreset: ""
|
|
## @param podAntiAffinityPreset Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
|
|
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
|
|
##
|
|
podAntiAffinityPreset: soft
|
|
## Node affinity preset
|
|
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
|
|
##
|
|
nodeAffinityPreset:
|
|
## @param nodeAffinityPreset.type Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
|
|
##
|
|
type: ""
|
|
## @param nodeAffinityPreset.key Node label key to match. Ignored if `affinity` is set.
|
|
## E.g.
|
|
## key: "kubernetes.io/e2e-az-name"
|
|
##
|
|
key: ""
|
|
## @param nodeAffinityPreset.values Node label values to match. Ignored if `affinity` is set.
|
|
## E.g.
|
|
## values:
|
|
## - e2e-az1
|
|
## - e2e-az2
|
|
##
|
|
values: []
|
|
## @param affinity Affinity for pod assignment. Evaluated as a template.
|
|
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
|
## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
|
|
##
|
|
affinity: {}
|
|
## @param nodeSelector Node labels for pod assignment. Evaluated as a template.
|
|
## ref: https://kubernetes.io/docs/user-guide/node-selection/
|
|
##
|
|
nodeSelector: {}
|
|
## @param tolerations Tolerations for pod assignment. Evaluated as a template.
|
|
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
|
##
|
|
tolerations: []
|
|
## MinIO® containers' resource requests and limits
|
|
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
|
## We usually recommend not to specify default resources and to leave this as a conscious
|
|
## choice for the user. This also increases chances charts run on environments with little
|
|
## resources, such as Minikube. If you do want to specify resources, uncomment the following
|
|
## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
|
## @param resources.limits The resources limits for the MinIO® container
|
|
## @param resources.requests The requested resources for the MinIO® container
|
|
##
|
|
resources:
|
|
## Example:
|
|
## limits:
|
|
## cpu: 250m
|
|
## memory: 256Mi
|
|
limits: {}
|
|
## Examples:
|
|
## requests:
|
|
## cpu: 250m
|
|
## memory: 256Mi
|
|
requests: {}
|
|
## Configure extra options for liveness probe
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
|
|
## @param livenessProbe.enabled Enable livenessProbe
|
|
## @param livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
|
|
## @param livenessProbe.periodSeconds Period seconds for livenessProbe
|
|
## @param livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
|
|
## @param livenessProbe.failureThreshold Failure threshold for livenessProbe
|
|
## @param livenessProbe.successThreshold Success threshold for livenessProbe
|
|
##
|
|
livenessProbe:
|
|
enabled: true
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 5
|
|
timeoutSeconds: 5
|
|
successThreshold: 1
|
|
failureThreshold: 5
|
|
## Configure extra options for readiness probe
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
|
|
## @param readinessProbe.enabled Enable readinessProbe
|
|
## @param readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
|
|
## @param readinessProbe.periodSeconds Period seconds for readinessProbe
|
|
## @param readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
|
|
## @param readinessProbe.failureThreshold Failure threshold for readinessProbe
|
|
## @param readinessProbe.successThreshold Success threshold for readinessProbe
|
|
##
|
|
readinessProbe:
|
|
enabled: true
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 5
|
|
timeoutSeconds: 1
|
|
successThreshold: 1
|
|
failureThreshold: 5
|
|
## Configure extra options for startupProbe probe
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
|
|
## @param startupProbe.enabled Enable startupProbe
|
|
## @param startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
|
|
## @param startupProbe.periodSeconds Period seconds for startupProbe
|
|
## @param startupProbe.timeoutSeconds Timeout seconds for startupProbe
|
|
## @param startupProbe.failureThreshold Failure threshold for startupProbe
|
|
## @param startupProbe.successThreshold Success threshold for startupProbe
|
|
##
|
|
startupProbe:
|
|
enabled: false
|
|
initialDelaySeconds: 0
|
|
periodSeconds: 10
|
|
timeoutSeconds: 5
|
|
successThreshold: 1
|
|
failureThreshold: 60
|
|
## @param customLivenessProbe Override default liveness probe
|
|
##
|
|
customLivenessProbe: {}
|
|
## @param customReadinessProbe Override default readiness probe
|
|
##
|
|
customReadinessProbe: {}
|
|
## @param customStartupProbe Override default startup probe
|
|
##
|
|
customStartupProbe: {}
|
|
## @param extraVolumes Optionally specify extra list of additional volumes for MinIO® pods
|
|
##
|
|
extraVolumes: []
|
|
## @param extraVolumeMounts Optionally specify extra list of additional volumeMounts for MinIO® container(s)
|
|
##
|
|
extraVolumeMounts: []
|
|
## @param initContainers Add additional init containers to the MinIO® pods
|
|
## e.g:
|
|
## initContainers:
|
|
## - name: your-image-name
|
|
## image: your-image
|
|
## imagePullPolicy: Always
|
|
## ports:
|
|
## - name: portname
|
|
## containerPort: 1234
|
|
##
|
|
initContainers: []
|
|
## @param sidecars Add additional sidecar containers to the MinIO® pods
|
|
## e.g:
|
|
## sidecars:
|
|
## - name: your-image-name
|
|
## image: your-image
|
|
## imagePullPolicy: Always
|
|
## ports:
|
|
## - name: portname
|
|
## containerPort: 1234
|
|
##
|
|
sidecars: []
|
|
|
|
## @section Traffic exposure parameters
|
|
|
|
## MinIO® Service properties
|
|
##
|
|
service:
|
|
## @param service.type MinIO® service type
|
|
##
|
|
type: ClusterIP
|
|
## @param service.port MinIO® service port
|
|
##
|
|
port: 9000
|
|
## @param service.nodePort Specify the nodePort value for the LoadBalancer and NodePort service types
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
|
|
##
|
|
nodePort: ""
|
|
## @param service.loadBalancerIP loadBalancerIP if service type is `LoadBalancer` (optional, cloud specific)
|
|
## ref: http://kubernetes.io/docs/user-guide/services/#type-loadbalancer
|
|
##
|
|
loadBalancerIP: ""
|
|
## @param service.loadBalancerSourceRanges Addresses that are allowed when service is LoadBalancer
|
|
## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
|
|
## e.g:
|
|
## loadBalancerSourceRanges:
|
|
## - 10.10.10.0/24
|
|
##
|
|
loadBalancerSourceRanges: []
|
|
## @param service.externalTrafficPolicy Enable client source IP preservation
|
|
## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
|
|
##
|
|
externalTrafficPolicy: Cluster
|
|
## @param service.annotations Annotations for MinIO® service
|
|
## This can be used to set the LoadBalancer service type to internal only.
|
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
|
|
##
|
|
annotations: {}
|
|
## Configure the ingress resource that allows you to access the
|
|
## MinIO® installation. Set up the URL
|
|
## ref: http://kubernetes.io/docs/user-guide/ingress/
|
|
##
|
|
ingress:
|
|
## @param ingress.enabled Enable ingress controller resource
|
|
##
|
|
enabled: false
|
|
## @param ingress.certManager Set this to true in order to add the corresponding annotations for cert-manager
|
|
##
|
|
certManager: false
|
|
## @param ingress.apiVersion Force Ingress API version (automatically detected if not set)
|
|
##
|
|
apiVersion: ""
|
|
## @param ingress.hostname Default host for the ingress resource
|
|
##
|
|
hostname: minio.local
|
|
## @param ingress.path The Path to MinIO®. You may need to set this to '/*' in order to use this with ALB ingress controllers.
|
|
##
|
|
path: /
|
|
## @param ingress.pathType Ingress path type
|
|
##
|
|
pathType: ImplementationSpecific
|
|
## @param ingress.servicePort Service port to be used
|
|
## Default is http. Alternative is https.
|
|
##
|
|
servicePort: minio
|
|
## @param ingress.annotations Ingress annotations
|
|
## For a full list of possible ingress annotations, please see
|
|
## ref: https://github.com/kubernetes/ingress-nginx/blob/master/docs/user-guide/nginx-configuration/annotations.md
|
|
##
|
|
## If certManager is set to true, annotation kubernetes.io/tls-acme: "true" will automatically be set
|
|
##
|
|
annotations: {}
|
|
## @param ingress.tls Enable TLS configuration for the hostname defined at `ingress.hostname` parameter
|
|
## TLS certificates will be retrieved from a TLS secret with name: {{- printf "%s-tls" .Values.ingress.hostname }}
|
|
## You can use the ingress.secrets parameter to create this TLS secret or relay on cert-manager to create it
|
|
##
|
|
tls: false
|
|
## @param ingress.extraHosts The list of additional hostnames to be covered with this ingress record.
|
|
## Most likely the hostname above will be enough, but in the event more hosts are needed, this is an array
|
|
## e.g:
|
|
## extraHosts:
|
|
## - name: minio.local
|
|
## path: /
|
|
##
|
|
extraHosts: []
|
|
## @param ingress.extraPaths Any additional paths that may need to be added to the ingress under the main host
|
|
## For example: The ALB ingress controller requires a special rule for handling SSL redirection.
|
|
## extraPaths:
|
|
## - path: /*
|
|
## backend:
|
|
## serviceName: ssl-redirect
|
|
## servicePort: use-annotation
|
|
##
|
|
extraPaths: []
|
|
## @param ingress.extraTls The tls configuration for additional hostnames to be covered with this ingress record.
|
|
## see: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
|
|
## e.g:
|
|
## extraTls:
|
|
## - hosts:
|
|
## - minio.local
|
|
## secretName: minio.local-tls
|
|
##
|
|
extraTls: []
|
|
## @param ingress.secrets If you're providing your own certificates, please use this to add the certificates as secrets
|
|
## key and certificate are expected in PEM format
|
|
## name should line up with a secretName set further up
|
|
##
|
|
## If it is not set and you're using cert-manager, this is unneeded, as it will create a secret for you with valid certificates
|
|
## If it is not set and you're NOT using cert-manager either, self-signed certificates will be created valid for 365 days
|
|
## It is also possible to create and manage the certificates outside of this helm chart
|
|
## Please see README.md for more information
|
|
##
|
|
## Example
|
|
## secrets:
|
|
## - name: minio.local-tls
|
|
## key: ""
|
|
## certificate: ""
|
|
##
|
|
secrets: []
|
|
## NetworkPolicy parameters
|
|
##
|
|
networkPolicy:
|
|
## @param networkPolicy.enabled Enable the default NetworkPolicy policy
|
|
##
|
|
enabled: false
|
|
## @param networkPolicy.allowExternal Don't require client label for connections
|
|
## When set to false, only pods with the correct client label will have network access to the port MinIO® is
|
|
## listening on. When true, MinIO® will accept connections from any source (with the correct destination port).
|
|
##
|
|
allowExternal: true
|
|
|
|
## @section Persistence parameters
|
|
|
|
## Enable persistence using Persistent Volume Claims
|
|
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
|
|
##
|
|
persistence:
|
|
## @param persistence.enabled Enable MinIO® data persistence using PVC. If false, use emptyDir
|
|
##
|
|
enabled: true
|
|
## @param persistence.storageClass PVC Storage Class for MinIO® data volume
|
|
## If defined, storageClassName: <storageClass>
|
|
## If set to "-", storageClassName: "", which disables dynamic provisioning
|
|
## If undefined (the default) or set to null, no storageClassName spec is
|
|
## set, choosing the default provisioner. (gp2 on AWS, standard on
|
|
## GKE, AWS & OpenStack)
|
|
##
|
|
storageClass: ""
|
|
## @param persistence.mountPath Data volume mount path
|
|
##
|
|
mountPath: /data
|
|
## @param persistence.accessModes PVC Access Modes for MinIO® data volume
|
|
##
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
## @param persistence.size PVC Storage Request for MinIO® data volume
|
|
##
|
|
size: 8Gi
|
|
## @param persistence.annotations Annotations for the PVC
|
|
##
|
|
annotations: {}
|
|
## @param persistence.existingClaim Name of an existing PVC to use (only in `standalone` mode)
|
|
##
|
|
existingClaim: ""
|
|
|
|
## @section Volume Permissions parameters
|
|
|
|
## Init containers parameters:
|
|
## volumePermissions: Change the owner and group of the persistent volume mountpoint to runAsUser:fsGroup values from the securityContext section.
|
|
##
|
|
volumePermissions:
|
|
## @param volumePermissions.enabled Enable init container that changes the owner and group of the persistent volume(s) mountpoint to `runAsUser:fsGroup`
|
|
##
|
|
enabled: false
|
|
## @param volumePermissions.image.registry Init container volume-permissions image registry
|
|
## @param volumePermissions.image.repository Init container volume-permissions image repository
|
|
## @param volumePermissions.image.tag Init container volume-permissions image tag (immutable tags are recommended)
|
|
## @param volumePermissions.image.pullPolicy Init container volume-permissions image pull policy
|
|
## @param volumePermissions.image.pullSecrets Specify docker-registry secret names as an array
|
|
##
|
|
image:
|
|
registry: docker.io
|
|
repository: bitnami/bitnami-shell
|
|
tag: 10-debian-10-r172
|
|
pullPolicy: Always
|
|
## Optionally specify an array of imagePullSecrets.
|
|
## Secrets must be manually created in the namespace.
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
|
## e.g:
|
|
## pullSecrets:
|
|
## - myRegistryKeySecretName
|
|
##
|
|
pullSecrets: []
|
|
## Init container' resource requests and limits
|
|
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
|
## We usually recommend not to specify default resources and to leave this as a conscious
|
|
## choice for the user. This also increases chances charts run on environments with little
|
|
## resources, such as Minikube. If you do want to specify resources, uncomment the following
|
|
## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
|
## @param volumePermissions.resources.limits Init container volume-permissions resource limits
|
|
## @param volumePermissions.resources.requests Init container volume-permissions resource requests
|
|
##
|
|
resources:
|
|
## Example:
|
|
## limits:
|
|
## cpu: 500m
|
|
## memory: 1Gi
|
|
limits: {}
|
|
requests: {}
|
|
## Init container' Security Context
|
|
## Note: the chown of the data folder is done to containerSecurityContext.runAsUser
|
|
## and not the below volumePermissions.containerSecurityContext.runAsUser
|
|
## @param volumePermissions.containerSecurityContext.runAsUser User ID for the init container
|
|
##
|
|
containerSecurityContext:
|
|
runAsUser: 0
|
|
|
|
## @section RBAC parameters
|
|
|
|
## Specifies whether a ServiceAccount should be created
|
|
##
|
|
serviceAccount:
|
|
## @param serviceAccount.create Enable the creation of a ServiceAccount for MinIO® pods
|
|
##
|
|
create: true
|
|
## @param serviceAccount.name Name of the created ServiceAccount
|
|
## If not set and create is true, a name is generated using the common.names.fullname template
|
|
##
|
|
name: ""
|
|
|
|
## @section Other parameters
|
|
|
|
## MinIO® Pod Disruption Budget configuration (only in distributed mode)
|
|
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
|
|
##
|
|
pdb:
|
|
## @param pdb.create Enable/disable a Pod Disruption Budget creation
|
|
##
|
|
create: false
|
|
## @param pdb.minAvailable Minimum number/percentage of pods that must still be available after the eviction
|
|
##
|
|
minAvailable: 1
|
|
## @param pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable after the eviction
|
|
##
|
|
maxUnavailable: ""
|
|
|
|
## @section Metrics parameters
|
|
|
|
metrics:
|
|
## @param metrics.prometheusAuthType Authentication mode for Prometheus (`jwt` or `public`)
|
|
## To allow public access without authentication for prometheus metrics set environment as follows.
|
|
##
|
|
prometheusAuthType: public
|
|
## Prometheus Operator ServiceMonitor configuration
|
|
##
|
|
serviceMonitor:
|
|
## @param metrics.serviceMonitor.enabled If the operator is installed in your cluster, set to true to create a Service Monitor Entry
|
|
##
|
|
enabled: false
|
|
## @param metrics.serviceMonitor.namespace Namespace which Prometheus is running in
|
|
##
|
|
namespace: ""
|
|
## @param metrics.serviceMonitor.path HTTP path to scrape for metrics
|
|
##
|
|
path: /minio/v2/metrics/cluster
|
|
## @param metrics.serviceMonitor.interval Interval at which metrics should be scraped
|
|
##
|
|
interval: 30s
|
|
## @param metrics.serviceMonitor.scrapeTimeout Specify the timeout after which the scrape is ended
|
|
## e.g:
|
|
## scrapeTimeout: 30s
|
|
scrapeTimeout: ""
|
|
## @param metrics.serviceMonitor.relabellings Specify Metric Relabellings to add to the scrape endpoint
|
|
##
|
|
relabellings: []
|
|
## @param metrics.serviceMonitor.honorLabels Specify honorLabels parameter to add the scrape endpoint
|
|
##
|
|
honorLabels: false
|
|
## @param metrics.serviceMonitor.additionalLabels Used to pass Labels that are required by the installed Prometheus Operator
|
|
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#prometheusspec
|
|
##
|
|
additionalLabels: {}
|
|
|
|
## @section Gateway parameters
|
|
|
|
gateway:
|
|
## @param gateway.enabled Use MinIO® as Gateway for other storage systems
|
|
##
|
|
enabled: false
|
|
## @param gateway.type Gateway type. Supported types are: `azure`, `gcs`, `nas`, `s3`
|
|
## ref: https://docs.minio.io/docs/minio-gateway-for-azure
|
|
## ref: https://docs.minio.io/docs/minio-gateway-for-gcs
|
|
## ref: https://docs.minio.io/docs/minio-gateway-for-nas
|
|
## ref: https://docs.minio.io/docs/minio-gateway-for-s3
|
|
##
|
|
type: s3
|
|
## @param gateway.replicaCount Number of MinIO® Gateway replicas
|
|
##
|
|
replicaCount: 4
|
|
## @param gateway.updateStrategy.type Update strategy type for MinIO® Gateway replicas
|
|
updateStrategy:
|
|
type: Recreate
|
|
## Autoscaling configuration for MinIO® Gateway. overrides gateway.replicaCount if enabled
|
|
## @param gateway.autoscaling.enabled Enable autoscaling for MinIO® Gateway deployment
|
|
## @param gateway.autoscaling.minReplicas Minimum number of replicas to scale back
|
|
## @param gateway.autoscaling.maxReplicas Maximum number of replicas to scale out
|
|
## @param gateway.autoscaling.targetCPU Target CPU utilization percentage
|
|
## @param gateway.autoscaling.targetMemory Target Memory utilization percentage
|
|
autoscaling:
|
|
enabled: false
|
|
minReplicas: "4"
|
|
maxReplicas: "4"
|
|
targetCPU: ""
|
|
targetMemory: ""
|
|
## Gateway authentication configuration
|
|
##
|
|
auth:
|
|
## Authentication configuration for Azure. Ignored unless type=azure
|
|
## @param gateway.auth.azure.accessKey Access Key to access MinIO using Azure Gateway
|
|
## @param gateway.auth.azure.secretKey Secret Key to access MinIO using Azure Gateway
|
|
## @param gateway.auth.azure.storageAccountName Azure Storage Account Name to use to access Azure Blob Storage
|
|
## @param gateway.auth.azure.storageAccountKey Azure Storage Account Key to use to access Azure Blob Storage
|
|
## @param gateway.auth.azure.storageAccountNameExistingSecret Existing Secret name to extract Azure Storage Account Name from to access Azure Blob Storage
|
|
## @param gateway.auth.azure.storageAccountNameExistingSecretKey Existing Secret key to extract Azure Storage Account Name from to use to access Azure Blob Storage
|
|
## @param gateway.auth.azure.storageAccountKeyExistingSecret Existing Secret name to extract Azure Storage Account Key from to access Azure Blob Storage
|
|
## @param gateway.auth.azure.storageAccountKeyExistingSecretKey Existing Secret key to extract Azure Storage Account Key from to use to access Azure Blob Storage
|
|
##
|
|
azure:
|
|
accessKey: ""
|
|
secretKey: ""
|
|
storageAccountName: ""
|
|
storageAccountKey: ""
|
|
storageAccountNameExistingSecret: ""
|
|
storageAccountNameExistingSecretKey: ""
|
|
storageAccountKeyExistingSecret: ""
|
|
storageAccountKeyExistingSecretKey: ""
|
|
## Authentication configuration for GCS. Ignored unless type=gcs
|
|
## @param gateway.auth.gcs.accessKey Access Key to access MinIO using GCS Gateway
|
|
## @param gateway.auth.gcs.secretKey Secret Key to access MinIO using GCS Gateway
|
|
## @param gateway.auth.gcs.keyJSON Service Account key to access GCS
|
|
## @param gateway.auth.gcs.projectID GCP Project ID to use
|
|
##
|
|
gcs:
|
|
accessKey: ""
|
|
secretKey: ""
|
|
keyJSON: ""
|
|
projectID: ""
|
|
## Authentication configuration for NAS. Ignored unless type=nas
|
|
## @param gateway.auth.nas.accessKey Access Key to access MinIO using NAS Gateway
|
|
## @param gateway.auth.nas.secretKey Secret Key to access MinIO using NAS Gateway
|
|
##
|
|
nas:
|
|
accessKey: ""
|
|
secretKey: ""
|
|
## Authentication configuration for S3. Ignored unless type=s3
|
|
## @param gateway.auth.s3.accessKey Access Key to use to access AWS S3
|
|
## @param gateway.auth.s3.secretKey Secret Key to use to access AWS S3
|
|
## @param gateway.auth.s3.serviceEndpoint AWS S3 endpoint
|
|
##
|
|
s3:
|
|
accessKey: ""
|
|
secretKey: ""
|
|
serviceEndpoint: https://s3.amazonaws.com
|