mirror of
https://github.com/minio/minio.git
synced 2025-01-25 21:53:16 -05:00
fix(helm): fsGroup is only on podSecurityContext (#16402)
This commit is contained in:
parent
edcd72585d
commit
54c9ecff5b
@ -82,7 +82,6 @@ spec:
|
|||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: {{ .Values.makeBucketJob.securityContext.runAsUser }}
|
runAsUser: {{ .Values.makeBucketJob.securityContext.runAsUser }}
|
||||||
runAsGroup: {{ .Values.makeBucketJob.securityContext.runAsGroup }}
|
runAsGroup: {{ .Values.makeBucketJob.securityContext.runAsGroup }}
|
||||||
fsGroup: {{ .Values.makeBucketJob.securityContext.fsGroup }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
imagePullPolicy: {{ .Values.mcImage.pullPolicy }}
|
imagePullPolicy: {{ .Values.mcImage.pullPolicy }}
|
||||||
{{- if .Values.makeBucketJob.exitCommand }}
|
{{- if .Values.makeBucketJob.exitCommand }}
|
||||||
@ -113,7 +112,6 @@ spec:
|
|||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: {{ .Values.makeUserJob.securityContext.runAsUser }}
|
runAsUser: {{ .Values.makeUserJob.securityContext.runAsUser }}
|
||||||
runAsGroup: {{ .Values.makeUserJob.securityContext.runAsGroup }}
|
runAsGroup: {{ .Values.makeUserJob.securityContext.runAsGroup }}
|
||||||
fsGroup: {{ .Values.makeUserJob.securityContext.fsGroup }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
imagePullPolicy: {{ .Values.mcImage.pullPolicy }}
|
imagePullPolicy: {{ .Values.mcImage.pullPolicy }}
|
||||||
{{- if .Values.makeUserJob.exitCommand }}
|
{{- if .Values.makeUserJob.exitCommand }}
|
||||||
@ -144,7 +142,6 @@ spec:
|
|||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: {{ .Values.makePolicyJob.securityContext.runAsUser }}
|
runAsUser: {{ .Values.makePolicyJob.securityContext.runAsUser }}
|
||||||
runAsGroup: {{ .Values.makePolicyJob.securityContext.runAsGroup }}
|
runAsGroup: {{ .Values.makePolicyJob.securityContext.runAsGroup }}
|
||||||
fsGroup: {{ .Values.makePolicyJob.securityContext.fsGroup }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
imagePullPolicy: {{ .Values.mcImage.pullPolicy }}
|
imagePullPolicy: {{ .Values.mcImage.pullPolicy }}
|
||||||
{{- if .Values.makePolicyJob.exitCommand }}
|
{{- if .Values.makePolicyJob.exitCommand }}
|
||||||
@ -175,7 +172,6 @@ spec:
|
|||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: {{ .Values.customCommandJob.securityContext.runAsUser }}
|
runAsUser: {{ .Values.customCommandJob.securityContext.runAsUser }}
|
||||||
runAsGroup: {{ .Values.customCommandJob.securityContext.runAsGroup }}
|
runAsGroup: {{ .Values.customCommandJob.securityContext.runAsGroup }}
|
||||||
fsGroup: {{ .Values.customCommandJob.securityContext.fsGroup }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
imagePullPolicy: {{ .Values.mcImage.pullPolicy }}
|
imagePullPolicy: {{ .Values.mcImage.pullPolicy }}
|
||||||
{{- if .Values.customCommandJob.exitCommand }}
|
{{- if .Values.customCommandJob.exitCommand }}
|
||||||
@ -206,7 +202,6 @@ spec:
|
|||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: {{ .Values.makeServiceAccountJob.securityContext.runAsUser }}
|
runAsUser: {{ .Values.makeServiceAccountJob.securityContext.runAsUser }}
|
||||||
runAsGroup: {{ .Values.makeServiceAccountJob.securityContext.runAsGroup }}
|
runAsGroup: {{ .Values.makeServiceAccountJob.securityContext.runAsGroup }}
|
||||||
fsGroup: {{ .Values.makeServiceAccountJob.securityContext.fsGroup }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
imagePullPolicy: {{ .Values.mcImage.pullPolicy }}
|
imagePullPolicy: {{ .Values.mcImage.pullPolicy }}
|
||||||
{{- if .Values.makeServiceAccountJob.exitCommand }}
|
{{- if .Values.makeServiceAccountJob.exitCommand }}
|
||||||
|
@ -320,7 +320,6 @@ makePolicyJob:
|
|||||||
enabled: false
|
enabled: false
|
||||||
runAsUser: 1000
|
runAsUser: 1000
|
||||||
runAsGroup: 1000
|
runAsGroup: 1000
|
||||||
fsGroup: 1000
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
@ -350,7 +349,6 @@ makeUserJob:
|
|||||||
enabled: false
|
enabled: false
|
||||||
runAsUser: 1000
|
runAsUser: 1000
|
||||||
runAsGroup: 1000
|
runAsGroup: 1000
|
||||||
fsGroup: 1000
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
@ -390,7 +388,6 @@ makeServiceAccountJob:
|
|||||||
enabled: false
|
enabled: false
|
||||||
runAsUser: 1000
|
runAsUser: 1000
|
||||||
runAsGroup: 1000
|
runAsGroup: 1000
|
||||||
fsGroup: 1000
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
@ -427,7 +424,6 @@ makeBucketJob:
|
|||||||
enabled: false
|
enabled: false
|
||||||
runAsUser: 1000
|
runAsUser: 1000
|
||||||
runAsGroup: 1000
|
runAsGroup: 1000
|
||||||
fsGroup: 1000
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
@ -445,7 +441,6 @@ customCommandJob:
|
|||||||
enabled: false
|
enabled: false
|
||||||
runAsUser: 1000
|
runAsUser: 1000
|
||||||
runAsGroup: 1000
|
runAsGroup: 1000
|
||||||
fsGroup: 1000
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user