Skip to content

Commit

Permalink
define minimal securityContext for cloud provider
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Taylor <[email protected]>
  • Loading branch information
rptaylor committed Oct 15, 2024
1 parent 8a0cc51 commit 1eb7e25
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/kube-vip-cloud-provider/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
securityContext:
allowPrivilegeEscalation: false
seccompProfile:
type: RuntimeDefault
serviceAccountName: {{ include "kube-vip-cloud-provider.name" . }}
{{- if .Values.nodeSelector }}
nodeSelector:
Expand Down

0 comments on commit 1eb7e25

Please sign in to comment.