File tree 1 file changed +1
-19
lines changed
pkg/securityscan/core/templates
1 file changed +1
-19
lines changed Original file line number Diff line number Diff line change 29
29
key: CriticalAddonsOnly
30
30
operator: Exists
31
31
volumes:
32
- - hostPath:
33
- path: /
34
- name: root
35
- - hostPath:
36
- path: /etc/passwd
37
- name: etc-passwd
38
- - hostPath:
39
- path: /etc/group
40
- name: etc-group
41
32
- hostPath:
42
33
path: /var/lib/rancher
43
34
name: var-rancher
@@ -106,20 +97,11 @@ data:
106
97
{{- end }}
107
98
imagePullPolicy: IfNotPresent
108
99
securityContext:
109
- privileged: true
100
+ privileged: false
110
101
volumeMounts:
111
102
- mountPath: /tmp/results
112
103
name: results
113
104
readOnly: false
114
- - mountPath: /node
115
- name: root
116
- readOnly: true
117
- - mountPath: /etc/passwd
118
- name: etc-passwd
119
- readOnly: true
120
- - mountPath: /etc/group
121
- name: etc-group
122
- readOnly: true
123
105
- mountPath: /var/lib/rancher
124
106
name: var-rancher
125
107
readOnly: true
You can’t perform that action at this time.
0 commit comments