helm: add extraContainer (#15660)

Signed-off-by: Philipp Born <git@pborn.eu>
This commit is contained in:
Philipp B 2022-11-13 18:22:27 +01:00 committed by GitHub
parent f7db12c7ef
commit 344ae9f84e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 0 deletions

View File

@ -163,6 +163,13 @@ spec:
{{- end}}
resources:
{{ toYaml .Values.resources | indent 12 }}
{{- with .Values.extraContainers }}
{{- if eq (typeOf .) "string" }}
{{- tpl . $ | nindent 8 }}
{{- else }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{ toYaml . | indent 8 }}

View File

@ -181,6 +181,13 @@ spec:
{{- end}}
resources:
{{ toYaml .Values.resources | indent 12 }}
{{- with .Values.extraContainers }}
{{- if eq (typeOf .) "string" }}
{{- tpl . $ | nindent 8 }}
{{- else }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{ toYaml . | indent 8 }}

View File

@ -52,6 +52,9 @@ extraVolumes: []
## Additional volumeMounts to minio container
extraVolumeMounts: []
## Additional sidecar containers
extraContainers: []
## Internal port number for MinIO S3 API container
## Change service.port to change external port number
minioAPIPort: "9000"