File tree Expand file tree Collapse file tree 5 files changed +63
-0
lines changed
blob-csi-driver/templates Expand file tree Collapse file tree 5 files changed +63
-0
lines changed Original file line number Diff line number Diff line change 82
82
- mountPath : /csi
83
83
name : socket-dir
84
84
resources : {{- toYaml .Values.controller.resources.csiProvisioner | nindent 12 }}
85
+ securityContext :
86
+ capabilities :
87
+ drop :
88
+ - ALL
85
89
- name : liveness-probe
86
90
{{- if hasPrefix "/" .Values.image.livenessProbe.repository }}
87
91
image : " {{ .Values.image.baseRepo }}{{ .Values.image.livenessProbe.repository }}:{{ .Values.image.livenessProbe.tag }}"
@@ -97,6 +101,10 @@ spec:
97
101
- name : socket-dir
98
102
mountPath : /csi
99
103
resources : {{- toYaml .Values.controller.resources.livenessProbe | nindent 12 }}
104
+ securityContext :
105
+ capabilities :
106
+ drop :
107
+ - ALL
100
108
- name : blob
101
109
{{- if hasPrefix "/" .Values.image.blob.repository }}
102
110
image : " {{ .Values.image.baseRepo }}{{ .Values.image.blob.repository }}:{{ .Values.image.blob.tag }}"
@@ -169,6 +177,10 @@ spec:
169
177
readOnly : true
170
178
{{- end }}
171
179
resources : {{- toYaml .Values.controller.resources.blob | nindent 12 }}
180
+ securityContext :
181
+ capabilities :
182
+ drop :
183
+ - ALL
172
184
- name : csi-resizer
173
185
{{- if hasPrefix "/" .Values.image.csiResizer.repository }}
174
186
image : " {{ .Values.image.baseRepo }}{{ .Values.image.csiResizer.repository }}:{{ .Values.image.csiResizer.tag }}"
@@ -189,6 +201,10 @@ spec:
189
201
- name : socket-dir
190
202
mountPath : /csi
191
203
resources : {{- toYaml .Values.controller.resources.csiResizer | nindent 12 }}
204
+ securityContext :
205
+ capabilities :
206
+ drop :
207
+ - ALL
192
208
volumes :
193
209
- name : socket-dir
194
210
emptyDir : {}
Original file line number Diff line number Diff line change 78
78
- " /blobfuse-proxy/init.sh"
79
79
securityContext :
80
80
privileged : true
81
+ capabilities :
82
+ drop :
83
+ - ALL
81
84
env :
82
85
- name : DEBIAN_FRONTEND
83
86
value : " noninteractive"
@@ -121,6 +124,10 @@ spec:
121
124
- --health-port={{ .Values.node.livenessProbe.healthPort }}
122
125
- --v=2
123
126
resources : {{- toYaml .Values.node.resources.livenessProbe | nindent 12 }}
127
+ securityContext :
128
+ capabilities :
129
+ drop :
130
+ - ALL
124
131
- name : node-driver-registrar
125
132
{{- if hasPrefix "/" .Values.image.nodeDriverRegistrar.repository }}
126
133
image : " {{ .Values.image.baseRepo }}{{ .Values.image.nodeDriverRegistrar.repository }}:{{ .Values.image.nodeDriverRegistrar.tag }}"
@@ -150,6 +157,10 @@ spec:
150
157
- name : registration-dir
151
158
mountPath : /registration
152
159
resources : {{- toYaml .Values.node.resources.nodeDriverRegistrar | nindent 12 }}
160
+ securityContext :
161
+ capabilities :
162
+ drop :
163
+ - ALL
153
164
- name : blob
154
165
{{- if hasPrefix "/" .Values.image.blob.repository }}
155
166
image : " {{ .Values.image.baseRepo }}{{ .Values.image.blob.repository }}:{{ .Values.image.blob.tag }}"
@@ -215,6 +226,9 @@ spec:
215
226
imagePullPolicy : {{ .Values.image.blob.pullPolicy }}
216
227
securityContext :
217
228
privileged : true
229
+ capabilities :
230
+ drop :
231
+ - ALL
218
232
volumeMounts :
219
233
- mountPath : /csi
220
234
name : socket-dir
@@ -258,6 +272,9 @@ spec:
258
272
imagePullPolicy : {{ .Values.image.blob.pullPolicy }}
259
273
securityContext :
260
274
privileged : true
275
+ capabilities :
276
+ drop :
277
+ - ALL
261
278
resources : {{- toYaml .Values.node.resources.aznfswatchdog | nindent 12 }}
262
279
volumeMounts :
263
280
- mountPath : /opt/microsoft/aznfs/data
Original file line number Diff line number Diff line change 57
57
requests :
58
58
cpu : 10m
59
59
memory : 20Mi
60
+ securityContext :
61
+ capabilities :
62
+ drop :
63
+ - ALL
60
64
- name : liveness-probe
61
65
image : mcr.microsoft.com/oss/kubernetes-csi/livenessprobe:v2.10.0
62
66
args :
72
76
requests :
73
77
cpu : 10m
74
78
memory : 20Mi
79
+ securityContext :
80
+ capabilities :
81
+ drop :
82
+ - ALL
75
83
- name : blob
76
84
image : mcr.microsoft.com/oss/kubernetes-csi/blob-csi:v1.23.5
77
85
imagePullPolicy : IfNotPresent
@@ -113,6 +121,10 @@ spec:
113
121
requests :
114
122
cpu : 10m
115
123
memory : 20Mi
124
+ securityContext :
125
+ capabilities :
126
+ drop :
127
+ - ALL
116
128
- name : csi-resizer
117
129
image : mcr.microsoft.com/oss/kubernetes-csi/csi-resizer:v1.8.0
118
130
args :
@@ -133,6 +145,10 @@ spec:
133
145
requests :
134
146
cpu : 10m
135
147
memory : 20Mi
148
+ securityContext :
149
+ capabilities :
150
+ drop :
151
+ - ALL
136
152
volumes :
137
153
- name : socket-dir
138
154
emptyDir : {}
Original file line number Diff line number Diff line change 46
46
- " /blobfuse-proxy/init.sh"
47
47
securityContext :
48
48
privileged : true
49
+ capabilities :
50
+ drop :
51
+ - ALL
49
52
env :
50
53
- name : DEBIAN_FRONTEND
51
54
value : " noninteractive"
89
92
requests :
90
93
cpu : 10m
91
94
memory : 20Mi
95
+ securityContext :
96
+ capabilities :
97
+ drop :
98
+ - ALL
92
99
- name : node-driver-registrar
93
100
image : mcr.microsoft.com/oss/kubernetes-csi/csi-node-driver-registrar:v2.8.0
94
101
args :
@@ -119,6 +126,10 @@ spec:
119
126
requests :
120
127
cpu : 10m
121
128
memory : 20Mi
129
+ securityContext :
130
+ capabilities :
131
+ drop :
132
+ - ALL
122
133
- name : blob
123
134
image : mcr.microsoft.com/oss/kubernetes-csi/blob-csi:v1.23.5
124
135
imagePullPolicy : IfNotPresent
@@ -156,6 +167,9 @@ spec:
156
167
fieldPath : spec.nodeName
157
168
securityContext :
158
169
privileged : true
170
+ capabilities :
171
+ drop :
172
+ - ALL
159
173
volumeMounts :
160
174
- mountPath : /csi
161
175
name : socket-dir
You can’t perform that action at this time.
0 commit comments