Remove makeBucketJob options
This commit is contained in:
@@ -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.purge` | Purge the bucket if already exists | `false` |
|
||||||
| `defaultBucket.versioning` | Enable / Suspend versioning for bucket | `nil` |
|
| `defaultBucket.versioning` | Enable / Suspend versioning for bucket | `nil` |
|
||||||
| `buckets` | List of buckets to create after MinIO install | `[]` |
|
| `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"` |
|
| `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/).
|
Some of the parameters above map to the env variables defined in the [MinIO DockerHub image](https://hub.docker.com/r/minio/minio/).
|
||||||
|
|||||||
@@ -11,9 +11,6 @@ metadata:
|
|||||||
annotations:
|
annotations:
|
||||||
"helm.sh/hook": post-install,post-upgrade
|
"helm.sh/hook": post-install,post-upgrade
|
||||||
"helm.sh/hook-delete-policy": hook-succeeded,before-hook-creation
|
"helm.sh/hook-delete-policy": hook-succeeded,before-hook-creation
|
||||||
{{- with .Values.makeBucketJob.annotations }}
|
|
||||||
{{ toYaml . | indent 4 }}
|
|
||||||
{{- end }}
|
|
||||||
spec:
|
spec:
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
@@ -22,10 +19,6 @@ spec:
|
|||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
{{- if .Values.podLabels }}
|
{{- if .Values.podLabels }}
|
||||||
{{ toYaml .Values.podLabels | indent 8 }}
|
{{ toYaml .Values.podLabels | indent 8 }}
|
||||||
{{- end }}
|
|
||||||
{{- if .Values.makeBucketJob.podAnnotations }}
|
|
||||||
annotations:
|
|
||||||
{{ toYaml .Values.makeBucketJob.podAnnotations | indent 8 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
restartPolicy: OnFailure
|
restartPolicy: OnFailure
|
||||||
@@ -41,12 +34,6 @@ spec:
|
|||||||
{{- with .Values.tolerations }}
|
{{- with .Values.tolerations }}
|
||||||
tolerations:
|
tolerations:
|
||||||
{{ toYaml . | indent 8 }}
|
{{ 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 }}
|
{{- end }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: minio-configuration
|
- name: minio-configuration
|
||||||
@@ -82,6 +69,4 @@ spec:
|
|||||||
- name: cert-secret-volume-mc
|
- name: cert-secret-volume-mc
|
||||||
mountPath: {{ .Values.configPathmc }}certs
|
mountPath: {{ .Values.configPathmc }}certs
|
||||||
{{ end }}
|
{{ end }}
|
||||||
resources:
|
|
||||||
{{ toYaml .Values.makeBucketJob.resources | indent 10 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -212,19 +212,6 @@ buckets: []
|
|||||||
# policy: none
|
# policy: none
|
||||||
# purge: false
|
# 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)
|
## 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
|
## when Chart is deployed
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in New Issue
Block a user