File tree Expand file tree Collapse file tree 15 files changed +135
-0
lines changed Expand file tree Collapse file tree 15 files changed +135
-0
lines changed Original file line number Diff line number Diff line change 57
57
value : unix://C:\\csi\\csi.sock
58
58
imagePullPolicy : {{ .Values.image.livenessProbe.pullPolicy }}
59
59
resources : {{- toYaml .Values.windows.resources.livenessProbe | nindent 12 }}
60
+ securityContext :
61
+ capabilities :
62
+ drop :
63
+ - ALL
60
64
- name : node-driver-registrar
61
65
{{- if hasPrefix "/" .Values.image.nodeDriverRegistrar.repository }}
62
66
image : " {{ .Values.image.baseRepo }}{{ .Values.image.nodeDriverRegistrar.repository }}:{{ .Values.image.nodeDriverRegistrar.tag }}"
91
95
- name : registration-dir
92
96
mountPath : C:\registration
93
97
resources : {{- toYaml .Values.windows.resources.nodeDriverRegistrar | nindent 12 }}
98
+ securityContext :
99
+ capabilities :
100
+ drop :
101
+ - ALL
94
102
- name : smb
95
103
{{- if hasPrefix "/" .Values.image.smb.repository }}
96
104
image : " {{ .Values.image.baseRepo }}{{ .Values.image.smb.repository }}:{{ .Values.image.smb.tag }}"
@@ -141,6 +149,10 @@ spec:
141
149
- name : csi-proxy-smb-pipe-v1beta1
142
150
mountPath : \\.\pipe\csi-proxy-smb-v1beta1
143
151
resources : {{- toYaml .Values.windows.resources.smb | nindent 12 }}
152
+ securityContext :
153
+ capabilities :
154
+ drop :
155
+ - ALL
144
156
volumes :
145
157
- name : csi-proxy-fs-pipe-v1
146
158
hostPath :
Original file line number Diff line number Diff line change 65
65
resources : {{- toYaml .Values.linux.resources.livenessProbe | nindent 12 }}
66
66
securityContext :
67
67
readOnlyRootFilesystem : true
68
+ capabilities :
69
+ drop :
70
+ - ALL
68
71
- name : node-driver-registrar
69
72
{{- if hasPrefix "/" .Values.image.nodeDriverRegistrar.repository }}
70
73
image : " {{ .Values.image.baseRepo }}{{ .Values.image.nodeDriverRegistrar.repository }}:{{ .Values.image.nodeDriverRegistrar.tag }}"
95
98
- name : registration-dir
96
99
mountPath : /registration
97
100
resources : {{- toYaml .Values.linux.resources.nodeDriverRegistrar | nindent 12 }}
101
+ securityContext :
102
+ capabilities :
103
+ drop :
104
+ - ALL
98
105
- name : smb
99
106
{{- if hasPrefix "/" .Values.image.smb.repository }}
100
107
image : " {{ .Values.image.baseRepo }}{{ .Values.image.smb.repository }}:{{ .Values.image.smb.tag }}"
@@ -129,6 +136,9 @@ spec:
129
136
securityContext :
130
137
readOnlyRootFilesystem : true
131
138
privileged : true
139
+ capabilities :
140
+ drop :
141
+ - ALL
132
142
volumeMounts :
133
143
- mountPath : /csi
134
144
name : socket-dir
Original file line number Diff line number Diff line change 57
57
value : unix://C:\\csi\\csi.sock
58
58
imagePullPolicy : {{ .Values.image.livenessProbe.pullPolicy }}
59
59
resources : {{- toYaml .Values.windows.resources.livenessProbe | nindent 12 }}
60
+ securityContext :
61
+ capabilities :
62
+ drop :
63
+ - ALL
60
64
- name : node-driver-registrar
61
65
{{- if hasPrefix "/" .Values.image.nodeDriverRegistrar.repository }}
62
66
image : " {{ .Values.image.baseRepo }}{{ .Values.image.nodeDriverRegistrar.repository }}:{{ .Values.image.nodeDriverRegistrar.tag }}"
91
95
- name : registration-dir
92
96
mountPath : C:\registration
93
97
resources : {{- toYaml .Values.windows.resources.nodeDriverRegistrar | nindent 12 }}
98
+ securityContext :
99
+ capabilities :
100
+ drop :
101
+ - ALL
94
102
- name : smb
95
103
{{- if hasPrefix "/" .Values.image.smb.repository }}
96
104
image : " {{ .Values.image.baseRepo }}{{ .Values.image.smb.repository }}:{{ .Values.image.smb.tag }}"
@@ -141,6 +149,10 @@ spec:
141
149
- name : csi-proxy-smb-pipe-v1beta1
142
150
mountPath : \\.\pipe\csi-proxy-smb-v1beta1
143
151
resources : {{- toYaml .Values.windows.resources.smb | nindent 12 }}
152
+ securityContext :
153
+ capabilities :
154
+ drop :
155
+ - ALL
144
156
volumes :
145
157
- name : csi-proxy-fs-pipe-v1
146
158
hostPath :
Original file line number Diff line number Diff line change 65
65
resources : {{- toYaml .Values.linux.resources.livenessProbe | nindent 12 }}
66
66
securityContext :
67
67
readOnlyRootFilesystem : true
68
+ capabilities :
69
+ drop :
70
+ - ALL
68
71
- name : node-driver-registrar
69
72
{{- if hasPrefix "/" .Values.image.nodeDriverRegistrar.repository }}
70
73
image : " {{ .Values.image.baseRepo }}{{ .Values.image.nodeDriverRegistrar.repository }}:{{ .Values.image.nodeDriverRegistrar.tag }}"
95
98
- name : registration-dir
96
99
mountPath : /registration
97
100
resources : {{- toYaml .Values.linux.resources.nodeDriverRegistrar | nindent 12 }}
101
+ securityContext :
102
+ capabilities :
103
+ drop :
104
+ - ALL
98
105
- name : smb
99
106
{{- if hasPrefix "/" .Values.image.smb.repository }}
100
107
image : " {{ .Values.image.baseRepo }}{{ .Values.image.smb.repository }}:{{ .Values.image.smb.tag }}"
@@ -131,6 +138,9 @@ spec:
131
138
securityContext :
132
139
readOnlyRootFilesystem : true
133
140
privileged : true
141
+ capabilities :
142
+ drop :
143
+ - ALL
134
144
volumeMounts :
135
145
- mountPath : /csi
136
146
name : socket-dir
Original file line number Diff line number Diff line change 57
57
value : unix://C:\\csi\\csi.sock
58
58
imagePullPolicy : {{ .Values.image.livenessProbe.pullPolicy }}
59
59
resources : {{- toYaml .Values.windows.resources.livenessProbe | nindent 12 }}
60
+ securityContext :
61
+ capabilities :
62
+ drop :
63
+ - ALL
60
64
- name : node-driver-registrar
61
65
{{- if hasPrefix "/" .Values.image.nodeDriverRegistrar.repository }}
62
66
image : " {{ .Values.image.baseRepo }}{{ .Values.image.nodeDriverRegistrar.repository }}:{{ .Values.image.nodeDriverRegistrar.tag }}"
91
95
- name : registration-dir
92
96
mountPath : C:\registration
93
97
resources : {{- toYaml .Values.windows.resources.nodeDriverRegistrar | nindent 12 }}
98
+ securityContext :
99
+ capabilities :
100
+ drop :
101
+ - ALL
94
102
- name : smb
95
103
{{- if hasPrefix "/" .Values.image.smb.repository }}
96
104
image : " {{ .Values.image.baseRepo }}{{ .Values.image.smb.repository }}:{{ .Values.image.smb.tag }}"
@@ -141,6 +149,10 @@ spec:
141
149
- name : csi-proxy-smb-pipe-v1beta1
142
150
mountPath : \\.\pipe\csi-proxy-smb-v1beta1
143
151
resources : {{- toYaml .Values.windows.resources.smb | nindent 12 }}
152
+ securityContext :
153
+ capabilities :
154
+ drop :
155
+ - ALL
144
156
volumes :
145
157
- name : csi-proxy-fs-pipe-v1
146
158
hostPath :
Original file line number Diff line number Diff line change 65
65
resources : {{- toYaml .Values.linux.resources.livenessProbe | nindent 12 }}
66
66
securityContext :
67
67
readOnlyRootFilesystem : true
68
+ capabilities :
69
+ drop :
70
+ - ALL
68
71
- name : node-driver-registrar
69
72
{{- if hasPrefix "/" .Values.image.nodeDriverRegistrar.repository }}
70
73
image : " {{ .Values.image.baseRepo }}{{ .Values.image.nodeDriverRegistrar.repository }}:{{ .Values.image.nodeDriverRegistrar.tag }}"
95
98
- name : registration-dir
96
99
mountPath : /registration
97
100
resources : {{- toYaml .Values.linux.resources.nodeDriverRegistrar | nindent 12 }}
101
+ securityContext :
102
+ capabilities :
103
+ drop :
104
+ - ALL
98
105
- name : smb
99
106
{{- if hasPrefix "/" .Values.image.smb.repository }}
100
107
image : " {{ .Values.image.baseRepo }}{{ .Values.image.smb.repository }}:{{ .Values.image.smb.tag }}"
@@ -129,6 +136,9 @@ spec:
129
136
securityContext :
130
137
readOnlyRootFilesystem : true
131
138
privileged : true
139
+ capabilities :
140
+ drop :
141
+ - ALL
132
142
volumeMounts :
133
143
- mountPath : /csi
134
144
name : socket-dir
Original file line number Diff line number Diff line change 48
48
requests :
49
49
cpu : 10m
50
50
memory : 40Mi
51
+ securityContext :
52
+ capabilities :
53
+ drop :
54
+ - ALL
51
55
- name : node-driver-registrar
52
56
image : registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.10.0
53
57
args :
84
88
requests :
85
89
cpu : 10m
86
90
memory : 40Mi
91
+ securityContext :
92
+ capabilities :
93
+ drop :
94
+ - ALL
87
95
- name : smb
88
96
image : gcr.io/k8s-staging-sig-storage/smbplugin:canary
89
97
imagePullPolicy : IfNotPresent
@@ -133,6 +141,10 @@ spec:
133
141
requests :
134
142
cpu : 10m
135
143
memory : 40Mi
144
+ securityContext :
145
+ capabilities :
146
+ drop :
147
+ - ALL
136
148
volumes :
137
149
- name : csi-proxy-fs-pipe-v1
138
150
hostPath :
Original file line number Diff line number Diff line change 45
45
requests :
46
46
cpu : 10m
47
47
memory : 20Mi
48
+ securityContext :
49
+ capabilities :
50
+ drop :
51
+ - ALL
48
52
- name : node-driver-registrar
49
53
image : registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.10.0
50
54
args :
75
79
requests :
76
80
cpu : 10m
77
81
memory : 20Mi
82
+ securityContext :
83
+ capabilities :
84
+ drop :
85
+ - ALL
78
86
- name : smb
79
87
image : gcr.io/k8s-staging-sig-storage/smbplugin:canary
80
88
imagePullPolicy : IfNotPresent
@@ -101,6 +109,9 @@ spec:
101
109
fieldPath : spec.nodeName
102
110
securityContext :
103
111
privileged : true
112
+ capabilities :
113
+ drop :
114
+ - ALL
104
115
volumeMounts :
105
116
- mountPath : /csi
106
117
name : socket-dir
Original file line number Diff line number Diff line change 48
48
requests :
49
49
cpu : 10m
50
50
memory : 40Mi
51
+ securityContext :
52
+ capabilities :
53
+ drop :
54
+ - ALL
51
55
- name : node-driver-registrar
52
56
image : registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.9.0
53
57
args :
84
88
requests :
85
89
cpu : 10m
86
90
memory : 40Mi
91
+ securityContext :
92
+ capabilities :
93
+ drop :
94
+ - ALL
87
95
- name : smb
88
96
image : registry.k8s.io/sig-storage/smbplugin:v1.13.0
89
97
imagePullPolicy : IfNotPresent
@@ -133,6 +141,10 @@ spec:
133
141
requests :
134
142
cpu : 10m
135
143
memory : 40Mi
144
+ securityContext :
145
+ capabilities :
146
+ drop :
147
+ - ALL
136
148
volumes :
137
149
- name : csi-proxy-fs-pipe-v1
138
150
hostPath :
Original file line number Diff line number Diff line change 45
45
requests :
46
46
cpu : 10m
47
47
memory : 20Mi
48
+ securityContext :
49
+ capabilities :
50
+ drop :
51
+ - ALL
48
52
- name : node-driver-registrar
49
53
image : registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.9.0
50
54
args :
75
79
requests :
76
80
cpu : 10m
77
81
memory : 20Mi
82
+ securityContext :
83
+ capabilities :
84
+ drop :
85
+ - ALL
78
86
- name : smb
79
87
image : registry.k8s.io/sig-storage/smbplugin:v1.13.0
80
88
imagePullPolicy : IfNotPresent
@@ -104,6 +112,9 @@ spec:
104
112
fieldPath : spec.nodeName
105
113
securityContext :
106
114
privileged : true
115
+ capabilities :
116
+ drop :
117
+ - ALL
107
118
volumeMounts :
108
119
- mountPath : /csi
109
120
name : socket-dir
Original file line number Diff line number Diff line change 48
48
requests :
49
49
cpu : 10m
50
50
memory : 40Mi
51
+ securityContext :
52
+ capabilities :
53
+ drop :
54
+ - ALL
51
55
- name : node-driver-registrar
52
56
image : registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.10.0
53
57
args :
84
88
requests :
85
89
cpu : 10m
86
90
memory : 40Mi
91
+ securityContext :
92
+ capabilities :
93
+ drop :
94
+ - ALL
87
95
- name : smb
88
96
image : registry.k8s.io/sig-storage/smbplugin:v1.14.0
89
97
imagePullPolicy : IfNotPresent
@@ -133,6 +141,10 @@ spec:
133
141
requests :
134
142
cpu : 10m
135
143
memory : 40Mi
144
+ securityContext :
145
+ capabilities :
146
+ drop :
147
+ - ALL
136
148
volumes :
137
149
- name : csi-proxy-fs-pipe-v1
138
150
hostPath :
Original file line number Diff line number Diff line change 45
45
requests :
46
46
cpu : 10m
47
47
memory : 20Mi
48
+ securityContext :
49
+ capabilities :
50
+ drop :
51
+ - ALL
48
52
- name : node-driver-registrar
49
53
image : registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.10.0
50
54
args :
75
79
requests :
76
80
cpu : 10m
77
81
memory : 20Mi
82
+ securityContext :
83
+ capabilities :
84
+ drop :
85
+ - ALL
78
86
- name : smb
79
87
image : registry.k8s.io/sig-storage/smbplugin:v1.14.0
80
88
imagePullPolicy : IfNotPresent
@@ -101,6 +109,9 @@ spec:
101
109
fieldPath : spec.nodeName
102
110
securityContext :
103
111
privileged : true
112
+ capabilities :
113
+ drop :
114
+ - ALL
104
115
volumeMounts :
105
116
- mountPath : /csi
106
117
name : socket-dir
You can’t perform that action at this time.
0 commit comments