Skip to content

Commit

Permalink
allow configuring additionalVolumes and additionalVolumeMounts
Browse files Browse the repository at this point in the history
  • Loading branch information
pschichtel committed Sep 22, 2023
1 parent 6a495c8 commit 19433f8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions helm/tenant/templates/tenant.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down
4 changes: 4 additions & 0 deletions helm/tenant/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 19433f8

Please sign in to comment.