File tree 9 files changed +99
-0
lines changed
blob-csi-driver/templates
blob-csi-driver/templates
blob-csi-driver/templates
9 files changed +99
-0
lines changed 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"
@@ -123,6 +126,10 @@ spec:
123
126
- --http-endpoint=localhost:{{ .Values.node.livenessProbe.healthPort }}
124
127
- --v=2
125
128
resources : {{- toYaml .Values.node.resources.livenessProbe | nindent 12 }}
129
+ securityContext :
130
+ capabilities :
131
+ drop :
132
+ - ALL
126
133
- name : node-driver-registrar
127
134
{{- if hasPrefix "/" .Values.image.nodeDriverRegistrar.repository }}
128
135
image : " {{ .Values.image.baseRepo }}{{ .Values.image.nodeDriverRegistrar.repository }}:{{ .Values.image.nodeDriverRegistrar.tag }}"
@@ -152,6 +159,10 @@ spec:
152
159
- name : registration-dir
153
160
mountPath : /registration
154
161
resources : {{- toYaml .Values.node.resources.nodeDriverRegistrar | nindent 12 }}
162
+ securityContext :
163
+ capabilities :
164
+ drop :
165
+ - ALL
155
166
- name : blob
156
167
{{- if hasPrefix "/" .Values.image.blob.repository }}
157
168
image : " {{ .Values.image.baseRepo }}{{ .Values.image.blob.repository }}:{{ .Values.image.blob.tag }}"
@@ -218,6 +229,9 @@ spec:
218
229
imagePullPolicy : {{ .Values.image.blob.pullPolicy }}
219
230
securityContext :
220
231
privileged : true
232
+ capabilities :
233
+ drop :
234
+ - ALL
221
235
volumeMounts :
222
236
- mountPath : /csi
223
237
name : socket-dir
@@ -261,6 +275,9 @@ spec:
261
275
imagePullPolicy : {{ .Values.image.blob.pullPolicy }}
262
276
securityContext :
263
277
privileged : true
278
+ capabilities :
279
+ drop :
280
+ - ALL
264
281
resources : {{- toYaml .Values.node.resources.aznfswatchdog | nindent 12 }}
265
282
volumeMounts :
266
283
- mountPath : /opt/microsoft/aznfs/data
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 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"
@@ -123,6 +126,10 @@ spec:
123
126
- --health-port={{ .Values.node.livenessProbe.healthPort }}
124
127
- --v=2
125
128
resources : {{- toYaml .Values.node.resources.livenessProbe | nindent 12 }}
129
+ securityContext :
130
+ capabilities :
131
+ drop :
132
+ - ALL
126
133
- name : node-driver-registrar
127
134
{{- if hasPrefix "/" .Values.image.nodeDriverRegistrar.repository }}
128
135
image : " {{ .Values.image.baseRepo }}{{ .Values.image.nodeDriverRegistrar.repository }}:{{ .Values.image.nodeDriverRegistrar.tag }}"
@@ -152,6 +159,10 @@ spec:
152
159
- name : registration-dir
153
160
mountPath : /registration
154
161
resources : {{- toYaml .Values.node.resources.nodeDriverRegistrar | nindent 12 }}
162
+ securityContext :
163
+ capabilities :
164
+ drop :
165
+ - ALL
155
166
- name : blob
156
167
{{- if hasPrefix "/" .Values.image.blob.repository }}
157
168
image : " {{ .Values.image.baseRepo }}{{ .Values.image.blob.repository }}:{{ .Values.image.blob.tag }}"
@@ -218,6 +229,9 @@ spec:
218
229
imagePullPolicy : {{ .Values.image.blob.pullPolicy }}
219
230
securityContext :
220
231
privileged : true
232
+ capabilities :
233
+ drop :
234
+ - ALL
221
235
volumeMounts :
222
236
- mountPath : /csi
223
237
name : socket-dir
@@ -261,6 +275,9 @@ spec:
261
275
imagePullPolicy : {{ .Values.image.blob.pullPolicy }}
262
276
securityContext :
263
277
privileged : true
278
+ capabilities :
279
+ drop :
280
+ - ALL
264
281
resources : {{- toYaml .Values.node.resources.aznfswatchdog | nindent 12 }}
265
282
volumeMounts :
266
283
- mountPath : /opt/microsoft/aznfs/data
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.10.1
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/k8s/csi/blob-csi:latest
124
135
imagePullPolicy : IfNotPresent
@@ -158,6 +169,9 @@ spec:
158
169
fieldPath : spec.nodeName
159
170
securityContext :
160
171
privileged : true
172
+ capabilities :
173
+ drop :
174
+ - ALL
161
175
volumeMounts :
162
176
- mountPath : /csi
163
177
name : socket-dir
@@ -186,6 +200,9 @@ spec:
186
200
imagePullPolicy : IfNotPresent
187
201
securityContext :
188
202
privileged : true
203
+ capabilities :
204
+ drop :
205
+ - ALL
189
206
resources :
190
207
limits :
191
208
memory : 100Mi
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
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.10.1
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.24.1
124
135
imagePullPolicy : IfNotPresent
@@ -158,6 +169,9 @@ spec:
158
169
fieldPath : spec.nodeName
159
170
securityContext :
160
171
privileged : true
172
+ capabilities :
173
+ drop :
174
+ - ALL
161
175
volumeMounts :
162
176
- mountPath : /csi
163
177
name : socket-dir
@@ -186,6 +200,9 @@ spec:
186
200
imagePullPolicy : IfNotPresent
187
201
securityContext :
188
202
privileged : true
203
+ capabilities :
204
+ drop :
205
+ - ALL
189
206
resources :
190
207
limits :
191
208
memory : 100Mi
You can’t perform that action at this time.
0 commit comments