Skip to content

Commit

Permalink
fix a small bug in minion deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
mershad-manesh committed Oct 17, 2023
1 parent 35052b0 commit f0e5abb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion minion/templates/minion-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@ spec:
labels:
app: minion
spec:
{{- if and (eq (include "onOpenShift" .) "true") ((.Values.dependencies.securitycontext).serviceaccount.enabled) }}
{{- if and (eq (include "onOpenShift" .) "true") ((.Values.securitycontext).serviceaccount.enabled) }}
serviceAccountName: {{ (.Values.securitycontext).serviceaccount.name | quote }}
{{- end }}
securityContext:
{{- if eq (include "onOpenShift" .) "true" }}
runAsUser: 10001
runAsGroup: 10001
fsGroup: 10001
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
Expand Down

0 comments on commit f0e5abb

Please sign in to comment.