Skip to content

Commit 9a04374

Browse files
authored
Merge pull request #871 from andyzhangx/controller-seccompProfile
fix: add securityContext.seccompProfile for driver controller
2 parents c5db670 + 6418fef commit 9a04374

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed
5 Bytes
Binary file not shown.

charts/latest/blob-csi-driver/templates/csi-blob-controller.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ spec:
4747
{{ toYaml . | indent 8 }}
4848
{{- end }}
4949
priorityClassName: {{ .Values.priorityClassName | quote }}
50+
securityContext:
51+
seccompProfile:
52+
type: RuntimeDefault
5053
{{- with .Values.controller.tolerations }}
5154
tolerations:
5255
{{ toYaml . | indent 8 }}

deploy/csi-blob-controller.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ spec:
1919
nodeSelector:
2020
kubernetes.io/os: linux # add "kubernetes.io/role: master" to run controller on master node
2121
priorityClassName: system-cluster-critical
22+
securityContext:
23+
seccompProfile:
24+
type: RuntimeDefault
2225
tolerations:
2326
- key: "node-role.kubernetes.io/master"
2427
operator: "Exists"

0 commit comments

Comments
 (0)