File tree 9 files changed +60
-0
lines changed
9 files changed +60
-0
lines changed Original file line number Diff line number Diff line change 74
74
resources : {{- toYaml .Values.controller.resources.csiProvisioner | nindent 12 }}
75
75
securityContext :
76
76
readOnlyRootFilesystem : true
77
+ capabilities :
78
+ drop :
79
+ - ALL
77
80
- name : liveness-probe
78
81
{{- if hasPrefix "/" .Values.image.livenessProbe.repository }}
79
82
image : " {{ .Values.image.baseRepo }}{{ .Values.image.livenessProbe.repository }}:{{ .Values.image.livenessProbe.tag }}"
92
95
resources : {{- toYaml .Values.controller.resources.livenessProbe | nindent 12 }}
93
96
securityContext :
94
97
readOnlyRootFilesystem : true
98
+ capabilities :
99
+ drop :
100
+ - ALL
95
101
- name : smb
96
102
{{- if hasPrefix "/" .Values.image.smb.repository }}
97
103
image : " {{ .Values.image.baseRepo }}{{ .Values.image.smb.repository }}:{{ .Values.image.smb.tag }}"
@@ -124,6 +130,9 @@ spec:
124
130
securityContext :
125
131
privileged : true
126
132
readOnlyRootFilesystem : true
133
+ capabilities :
134
+ drop :
135
+ - ALL
127
136
volumeMounts :
128
137
- mountPath : /csi
129
138
name : socket-dir
Original file line number Diff line number Diff line change 74
74
resources : {{- toYaml .Values.controller.resources.csiProvisioner | nindent 12 }}
75
75
securityContext :
76
76
readOnlyRootFilesystem : true
77
+ capabilities :
78
+ drop :
79
+ - ALL
77
80
- name : liveness-probe
78
81
{{- if hasPrefix "/" .Values.image.livenessProbe.repository }}
79
82
image : " {{ .Values.image.baseRepo }}{{ .Values.image.livenessProbe.repository }}:{{ .Values.image.livenessProbe.tag }}"
92
95
resources : {{- toYaml .Values.controller.resources.livenessProbe | nindent 12 }}
93
96
securityContext :
94
97
readOnlyRootFilesystem : true
98
+ capabilities :
99
+ drop :
100
+ - ALL
95
101
- name : smb
96
102
{{- if hasPrefix "/" .Values.image.smb.repository }}
97
103
image : " {{ .Values.image.baseRepo }}{{ .Values.image.smb.repository }}:{{ .Values.image.smb.tag }}"
@@ -126,6 +132,9 @@ spec:
126
132
securityContext :
127
133
privileged : true
128
134
readOnlyRootFilesystem : true
135
+ capabilities :
136
+ drop :
137
+ - ALL
129
138
volumeMounts :
130
139
- mountPath : /csi
131
140
name : socket-dir
Original file line number Diff line number Diff line change 74
74
resources : {{- toYaml .Values.controller.resources.csiProvisioner | nindent 12 }}
75
75
securityContext :
76
76
readOnlyRootFilesystem : true
77
+ capabilities :
78
+ drop :
79
+ - ALL
77
80
- name : liveness-probe
78
81
{{- if hasPrefix "/" .Values.image.livenessProbe.repository }}
79
82
image : " {{ .Values.image.baseRepo }}{{ .Values.image.livenessProbe.repository }}:{{ .Values.image.livenessProbe.tag }}"
92
95
resources : {{- toYaml .Values.controller.resources.livenessProbe | nindent 12 }}
93
96
securityContext :
94
97
readOnlyRootFilesystem : true
98
+ capabilities :
99
+ drop :
100
+ - ALL
95
101
- name : smb
96
102
{{- if hasPrefix "/" .Values.image.smb.repository }}
97
103
image : " {{ .Values.image.baseRepo }}{{ .Values.image.smb.repository }}:{{ .Values.image.smb.tag }}"
@@ -124,6 +130,9 @@ spec:
124
130
securityContext :
125
131
privileged : true
126
132
readOnlyRootFilesystem : true
133
+ capabilities :
134
+ drop :
135
+ - ALL
127
136
volumeMounts :
128
137
- mountPath : /csi
129
138
name : socket-dir
Original file line number Diff line number Diff line change 55
55
requests :
56
56
cpu : 10m
57
57
memory : 20Mi
58
+ securityContext :
59
+ capabilities :
60
+ drop :
61
+ - ALL
58
62
- name : liveness-probe
59
63
image : registry.k8s.io/sig-storage/livenessprobe:v2.12.0
60
64
args :
72
76
requests :
73
77
cpu : 10m
74
78
memory : 20Mi
79
+ securityContext :
80
+ capabilities :
81
+ drop :
82
+ - ALL
75
83
- name : smb
76
84
image : gcr.io/k8s-staging-sig-storage/smbplugin:canary
77
85
imagePullPolicy : IfNotPresent
97
105
value : unix:///csi/csi.sock
98
106
securityContext :
99
107
privileged : true
108
+ capabilities :
109
+ drop :
110
+ - ALL
100
111
volumeMounts :
101
112
- mountPath : /csi
102
113
name : socket-dir
Original file line number Diff line number Diff line change 55
55
requests :
56
56
cpu : 10m
57
57
memory : 20Mi
58
+ securityContext :
59
+ capabilities :
60
+ drop :
61
+ - ALL
58
62
- name : liveness-probe
59
63
image : registry.k8s.io/sig-storage/livenessprobe:v2.11.0
60
64
args :
72
76
requests :
73
77
cpu : 10m
74
78
memory : 20Mi
79
+ securityContext :
80
+ capabilities :
81
+ drop :
82
+ - ALL
75
83
- name : smb
76
84
image : registry.k8s.io/sig-storage/smbplugin:v1.13.0
77
85
imagePullPolicy : IfNotPresent
99
107
value : unix:///csi/csi.sock
100
108
securityContext :
101
109
privileged : true
110
+ capabilities :
111
+ drop :
112
+ - ALL
102
113
volumeMounts :
103
114
- mountPath : /csi
104
115
name : socket-dir
Original file line number Diff line number Diff line change 55
55
requests :
56
56
cpu : 10m
57
57
memory : 20Mi
58
+ securityContext :
59
+ capabilities :
60
+ drop :
61
+ - ALL
58
62
- name : liveness-probe
59
63
image : registry.k8s.io/sig-storage/livenessprobe:v2.12.0
60
64
args :
72
76
requests :
73
77
cpu : 10m
74
78
memory : 20Mi
79
+ securityContext :
80
+ capabilities :
81
+ drop :
82
+ - ALL
75
83
- name : smb
76
84
image : registry.k8s.io/sig-storage/smbplugin:v1.14.0
77
85
imagePullPolicy : IfNotPresent
97
105
value : unix:///csi/csi.sock
98
106
securityContext :
99
107
privileged : true
108
+ capabilities :
109
+ drop :
110
+ - ALL
100
111
volumeMounts :
101
112
- mountPath : /csi
102
113
name : socket-dir
You can’t perform that action at this time.
0 commit comments