Skip to content

Commit

Permalink
Merge pull request #46 from rptaylor/kube-vip-provider-seccontext
Browse files Browse the repository at this point in the history
define minimal securityContext for cloud provider
  • Loading branch information
thebsdbox authored Oct 18, 2024
2 parents b4c12c0 + 1eb7e25 commit f13d698
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 f13d698

Please sign in to comment.