Skip to content

Commit

Permalink
Merge pull request #1210 from kubernetes-sigs/enable-seccompProfile
Browse files Browse the repository at this point in the history
feat: enable securityContext.seccompProfile
  • Loading branch information
andyzhangx authored Apr 6, 2023
2 parents 7e9b29d + b21019e commit a1a611c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 0 deletions.
Binary file modified charts/latest/azurefile-csi-driver-v0.0.0.tgz
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ spec:
nodeAffinity:
{{ toYaml .Values.windows.nodeAffinity | indent 10 }}
priorityClassName: system-node-critical
securityContext:
seccompProfile:
type: RuntimeDefault
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{ toYaml .Values.imagePullSecrets | indent 8 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ spec:
nodeAffinity:
{{ toYaml .Values.linux.nodeAffinity | indent 10 }}
priorityClassName: system-node-critical
securityContext:
seccompProfile:
type: RuntimeDefault
{{- with .Values.linux.tolerations }}
tolerations:
{{ toYaml . | indent 8 }}
Expand Down
3 changes: 3 additions & 0 deletions deploy/csi-azurefile-node-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ spec:
values:
- virtual-kubelet
priorityClassName: system-node-critical
securityContext:
seccompProfile:
type: RuntimeDefault
containers:
- name: liveness-probe
volumeMounts:
Expand Down
3 changes: 3 additions & 0 deletions deploy/csi-azurefile-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ spec:
values:
- virtual-kubelet
priorityClassName: system-node-critical
securityContext:
seccompProfile:
type: RuntimeDefault
tolerations:
- operator: "Exists"
containers:
Expand Down

0 comments on commit a1a611c

Please sign in to comment.