diff --git a/helm/tenant/templates/tenant.yaml b/helm/tenant/templates/tenant.yaml index e21e9247712..1dabdf52136 100644 --- a/helm/tenant/templates/tenant.yaml +++ b/helm/tenant/templates/tenant.yaml @@ -130,6 +130,12 @@ spec: {{- if dig "priorityClassName" "" . }} priorityClassName: {{ dig "priorityClassName" "" . }} {{- end }} + {{- with (dig "additionalVolumes" (list) .) }} + additionalVolumes: {{- toYaml . | nindent 4 }} + {{- end }} + {{- with (dig "additionalVolumeMounts" (list) .) }} + additionalVolumeMounts: {{- toYaml . | nindent 4 }} + {{- end }} {{- if dig "kes" "configuration" false . }} kes: image: "{{ .kes.image.repository }}:{{ .kes.image.digest | default .kes.image.tag }}" diff --git a/helm/tenant/values.yaml b/helm/tenant/values.yaml index 996eb246fef..18154678caf 100644 --- a/helm/tenant/values.yaml +++ b/helm/tenant/values.yaml @@ -174,6 +174,10 @@ tenant: ## This is applied to MinIO pods only. ## Refer Kubernetes documentation for details https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass/ priorityClassName: "" + ## additionalVolumes allows adding additional volumes to MinIO pods + additionalVolumes: [ ] + ## additionalVolumeMounts allows mounting additional volumes to MinIO pods + additionalVolumeMounts: [ ] ## Define configuration for KES (stateless and distributed key-management system) ## Refer https://github.com/minio/kes #kes: