mirror of
https://github.com/minio/minio.git
synced 2025-01-23 12:43:16 -05:00
helm: add extra volumes and extra volume mounts option (#15568)
- add a new line to the end of the credentials file when creating a user - add extra volumes and mounts option into helm chart
This commit is contained in:
parent
b62a5c954c
commit
0f7aa4125f
@ -92,6 +92,9 @@ spec:
|
|||||||
mountPath: "/tmp/minio-config-env"
|
mountPath: "/tmp/minio-config-env"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- include "minio.tlsKeysVolumeMount" . | indent 12 }}
|
{{- include "minio.tlsKeysVolumeMount" . | indent 12 }}
|
||||||
|
{{- if .Values.extraVolumeMounts }}
|
||||||
|
{{- toYaml .Values.extraVolumeMounts | nindent 12 }}
|
||||||
|
{{- end }}
|
||||||
ports:
|
ports:
|
||||||
- name: {{ $scheme }}
|
- name: {{ $scheme }}
|
||||||
containerPort: {{ .Values.minioAPIPort }}
|
containerPort: {{ .Values.minioAPIPort }}
|
||||||
@ -190,4 +193,7 @@ spec:
|
|||||||
secret:
|
secret:
|
||||||
secretName: {{ template "minio.secretName" . }}
|
secretName: {{ template "minio.secretName" . }}
|
||||||
{{- include "minio.tlsKeysVolume" . | indent 8 }}
|
{{- include "minio.tlsKeysVolume" . | indent 8 }}
|
||||||
|
{{- if .Values.extraVolumes }}
|
||||||
|
{{ toYaml .Values.extraVolumes | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -130,6 +130,9 @@ spec:
|
|||||||
mountPath: "/tmp/minio-config-env"
|
mountPath: "/tmp/minio-config-env"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- include "minio.tlsKeysVolumeMount" . | indent 12 }}
|
{{- include "minio.tlsKeysVolumeMount" . | indent 12 }}
|
||||||
|
{{- if .Values.extraVolumeMounts }}
|
||||||
|
{{- toYaml .Values.extraVolumeMounts | nindent 12 }}
|
||||||
|
{{- end }}
|
||||||
ports:
|
ports:
|
||||||
- name: {{ $scheme }}
|
- name: {{ $scheme }}
|
||||||
containerPort: {{ .Values.minioAPIPort }}
|
containerPort: {{ .Values.minioAPIPort }}
|
||||||
@ -207,6 +210,9 @@ spec:
|
|||||||
secretName: {{ .Values.extraSecret }}
|
secretName: {{ .Values.extraSecret }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- include "minio.tlsKeysVolume" . | indent 8 }}
|
{{- include "minio.tlsKeysVolume" . | indent 8 }}
|
||||||
|
{{- if .Values.extraVolumes }}
|
||||||
|
{{ toYaml .Values.extraVolumes | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.persistence.enabled }}
|
{{- if .Values.persistence.enabled }}
|
||||||
volumeClaimTemplates:
|
volumeClaimTemplates:
|
||||||
{{- if gt $drivesPerNode 1 }}
|
{{- if gt $drivesPerNode 1 }}
|
||||||
|
@ -46,6 +46,12 @@ ignoreChartChecksums: false
|
|||||||
## Additional arguments to pass to minio binary
|
## Additional arguments to pass to minio binary
|
||||||
extraArgs: []
|
extraArgs: []
|
||||||
|
|
||||||
|
## Additional volumes to minio container
|
||||||
|
extraVolumes: []
|
||||||
|
|
||||||
|
## Additional volumeMounts to minio container
|
||||||
|
extraVolumeMounts: []
|
||||||
|
|
||||||
## Internal port number for MinIO S3 API container
|
## Internal port number for MinIO S3 API container
|
||||||
## Change service.port to change external port number
|
## Change service.port to change external port number
|
||||||
minioAPIPort: "9000"
|
minioAPIPort: "9000"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user