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