Remove makeBucketJob options

This commit is contained in:
Waqar Ahmed 2020-12-09 00:32:08 +05:00
parent 57d32d69e0
commit 8d5bad11fb
3 changed files with 0 additions and 35 deletions

View File

@ -185,13 +185,6 @@ The following table lists the configurable parameters of the MinIO chart and the
| `defaultBucket.purge` | Purge the bucket if already exists | `false` |
| `defaultBucket.versioning` | Enable / Suspend versioning for bucket | `nil` |
| `buckets` | List of buckets to create after MinIO install | `[]` |
| `makeBucketJob.annotations` | Additional annotations for the Kubernetes Batch (make-bucket-job) | `""` |
| `makeBucketJob.podAnnotations` | Additional annotations for the pods of the Kubernetes Batch (make-bucket-job) | `""` |
| `makeBucketJob.securityContext.enabled` | Enable to run Kubernetes Batch (make-bucket-job) containers as non-root. | `false` |
| `makeBucketJob.securityContext.runAsUser` | User id of the user for the container | `1000` |
| `makeBucketJob.securityContext.runAsGroup` | Group id of the user for the container | `1000` |
| `makeBucketJob.securityContext.fsGroup` | Group id of the persistent volume mount for the container | `1000` |
| `makeBucketJob.resources.requests.memory` | Memory resource requests for 'make bucket' job | `128Mi` |
| `environment` | Set MinIO server relevant environment variables in `values.yaml` file. MinIO containers will be passed these variables when they start. | `MINIO_STORAGE_CLASS_STANDARD: EC:4"` |
Some of the parameters above map to the env variables defined in the [MinIO DockerHub image](https://hub.docker.com/r/minio/minio/).

View File

@ -11,9 +11,6 @@ metadata:
annotations:
"helm.sh/hook": post-install,post-upgrade
"helm.sh/hook-delete-policy": hook-succeeded,before-hook-creation
{{- with .Values.makeBucketJob.annotations }}
{{ toYaml . | indent 4 }}
{{- end }}
spec:
template:
metadata:
@ -22,10 +19,6 @@ spec:
release: {{ .Release.Name }}
{{- if .Values.podLabels }}
{{ toYaml .Values.podLabels | indent 8 }}
{{- end }}
{{- if .Values.makeBucketJob.podAnnotations }}
annotations:
{{ toYaml .Values.makeBucketJob.podAnnotations | indent 8 }}
{{- end }}
spec:
restartPolicy: OnFailure
@ -41,12 +34,6 @@ spec:
{{- with .Values.tolerations }}
tolerations:
{{ toYaml . | indent 8 }}
{{- end }}
{{- if .Values.makeBucketJob.securityContext.enabled }}
securityContext:
runAsUser: {{ .Values.makeBucketJob.securityContext.runAsUser }}
runAsGroup: {{ .Values.makeBucketJob.securityContext.runAsGroup }}
fsGroup: {{ .Values.makeBucketJob.securityContext.fsGroup }}
{{- end }}
volumes:
- name: minio-configuration
@ -82,6 +69,4 @@ spec:
- name: cert-secret-volume-mc
mountPath: {{ .Values.configPathmc }}certs
{{ end }}
resources:
{{ toYaml .Values.makeBucketJob.resources | indent 10 }}
{{- end }}

View File

@ -212,19 +212,6 @@ buckets: []
# policy: none
# purge: false
## Additional Annotations for the Kubernetes Batch (make-bucket-job)
makeBucketJob:
podAnnotations:
annotations:
securityContext:
enabled: false
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
resources:
requests:
memory: 128Mi
## Use this field to add environment variables relevant to Minio server. These fields will be passed on to Minio container(s)
## when Chart is deployed
environment: