mirror of
https://github.com/minio/minio.git
synced 2025-01-25 13:43:17 -05:00
Added the service account to deloyments and statefulset (#13790)
This commit is contained in:
parent
1485a5bf3b
commit
906548d0ba
@ -58,6 +58,9 @@ spec:
|
|||||||
runAsUser: {{ .Values.securityContext.runAsUser }}
|
runAsUser: {{ .Values.securityContext.runAsUser }}
|
||||||
runAsGroup: {{ .Values.securityContext.runAsGroup }}
|
runAsGroup: {{ .Values.securityContext.runAsGroup }}
|
||||||
fsGroup: {{ .Values.securityContext.fsGroup }}
|
fsGroup: {{ .Values.securityContext.fsGroup }}
|
||||||
|
{{- end }}
|
||||||
|
{{ if .Values.serviceAccount.create }}
|
||||||
|
serviceAccountName: {{ .Values.serviceAccount.name }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Chart.Name }}
|
- name: {{ .Chart.Name }}
|
||||||
|
@ -58,6 +58,9 @@ spec:
|
|||||||
runAsUser: {{ .Values.securityContext.runAsUser }}
|
runAsUser: {{ .Values.securityContext.runAsUser }}
|
||||||
runAsGroup: {{ .Values.securityContext.runAsGroup }}
|
runAsGroup: {{ .Values.securityContext.runAsGroup }}
|
||||||
fsGroup: {{ .Values.securityContext.fsGroup }}
|
fsGroup: {{ .Values.securityContext.fsGroup }}
|
||||||
|
{{- end }}
|
||||||
|
{{ if .Values.serviceAccount.create }}
|
||||||
|
serviceAccountName: {{ .Values.serviceAccount.name }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Chart.Name }}
|
- name: {{ .Chart.Name }}
|
||||||
|
@ -84,6 +84,9 @@ spec:
|
|||||||
runAsUser: {{ .Values.securityContext.runAsUser }}
|
runAsUser: {{ .Values.securityContext.runAsUser }}
|
||||||
runAsGroup: {{ .Values.securityContext.runAsGroup }}
|
runAsGroup: {{ .Values.securityContext.runAsGroup }}
|
||||||
fsGroup: {{ .Values.securityContext.fsGroup }}
|
fsGroup: {{ .Values.securityContext.fsGroup }}
|
||||||
|
{{- end }}
|
||||||
|
{{ if .Values.serviceAccount.create }}
|
||||||
|
serviceAccountName: {{ .Values.serviceAccount.name }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Chart.Name }}
|
- name: {{ .Chart.Name }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user