diff --git a/test/minio/8.0.5/README.md b/test/minio/8.0.5/README.md index 1c3bb138a5c..5b438fc063c 100755 --- a/test/minio/8.0.5/README.md +++ b/test/minio/8.0.5/README.md @@ -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/). diff --git a/test/minio/8.0.5/templates/post-install-create-bucket-job.yaml b/test/minio/8.0.5/templates/post-install-create-bucket-job.yaml index 27e30d4ab73..744934517bb 100644 --- a/test/minio/8.0.5/templates/post-install-create-bucket-job.yaml +++ b/test/minio/8.0.5/templates/post-install-create-bucket-job.yaml @@ -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 }} diff --git a/test/minio/8.0.5/values.yaml b/test/minio/8.0.5/values.yaml index f75e98e09e6..778f6a6bffa 100644 --- a/test/minio/8.0.5/values.yaml +++ b/test/minio/8.0.5/values.yaml @@ -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: