Skip to content

Commit

Permalink
only change buildkit fsGroup during mismatch or initial pod startup (#59
Browse files Browse the repository at this point in the history
)
  • Loading branch information
steved authored Sep 2, 2022
1 parent 7d05659 commit 74295c5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ spec:
spec:
{{- include "hephaestus.imagePullSecrets" . | nindent 6 }}
serviceAccountName: {{ include "hephaestus.buildkit.fullname" . }}
{{- if .Values.buildkit.rootless }}
securityContext:
fsGroupChangePolicy: "OnRootMismatch"
{{- if .Values.buildkit.rootless }}
fsGroup: 1000
{{- end }}
containers:
Expand Down

0 comments on commit 74295c5

Please sign in to comment.