@@ -6,19 +6,11 @@ kind: ServiceAccount
6
6
metadata :
7
7
name : csi-cinder-controller-sa
8
8
namespace : {{ .Release.Namespace }}
9
- annotations :
10
- {{- with .Values.commonAnnotations }}
11
- {{- toYaml . | nindent 4 }}
12
- {{- end }}
13
9
---
14
10
kind : ClusterRole
15
11
apiVersion : rbac.authorization.k8s.io/v1
16
12
metadata :
17
13
name : csi-attacher-role
18
- annotations :
19
- {{- with .Values.commonAnnotations }}
20
- {{- toYaml . | nindent 4 }}
21
- {{- end }}
22
14
rules :
23
15
- apiGroups : [""]
24
16
resources : ["persistentvolumes"]
@@ -40,10 +32,6 @@ kind: ClusterRoleBinding
40
32
apiVersion : rbac.authorization.k8s.io/v1
41
33
metadata :
42
34
name : csi-attacher-binding
43
- annotations :
44
- {{- with .Values.commonAnnotations }}
45
- {{- toYaml . | nindent 4 }}
46
- {{- end }}
47
35
subjects :
48
36
- kind : ServiceAccount
49
37
name : csi-cinder-controller-sa
@@ -58,10 +46,6 @@ kind: ClusterRole
58
46
apiVersion : rbac.authorization.k8s.io/v1
59
47
metadata :
60
48
name : csi-provisioner-role
61
- annotations :
62
- {{- with .Values.commonAnnotations }}
63
- {{- toYaml . | nindent 4 }}
64
- {{- end }}
65
49
rules :
66
50
- apiGroups : [""]
67
51
resources : ["persistentvolumes"]
@@ -95,10 +79,6 @@ kind: ClusterRoleBinding
95
79
apiVersion : rbac.authorization.k8s.io/v1
96
80
metadata :
97
81
name : csi-provisioner-binding
98
- annotations :
99
- {{- with .Values.commonAnnotations }}
100
- {{- toYaml . | nindent 4 }}
101
- {{- end }}
102
82
subjects :
103
83
- kind : ServiceAccount
104
84
name : csi-cinder-controller-sa
@@ -113,10 +93,6 @@ kind: ClusterRole
113
93
apiVersion : rbac.authorization.k8s.io/v1
114
94
metadata :
115
95
name : csi-snapshotter-role
116
- annotations :
117
- {{- with .Values.commonAnnotations }}
118
- {{- toYaml . | nindent 4 }}
119
- {{- end }}
120
96
rules :
121
97
- apiGroups : [""]
122
98
resources : ["events"]
@@ -145,10 +121,6 @@ kind: ClusterRoleBinding
145
121
apiVersion : rbac.authorization.k8s.io/v1
146
122
metadata :
147
123
name : csi-snapshotter-binding
148
- annotations :
149
- {{- with .Values.commonAnnotations }}
150
- {{- toYaml . | nindent 4 }}
151
- {{- end }}
152
124
subjects :
153
125
- kind : ServiceAccount
154
126
name : csi-cinder-controller-sa
@@ -162,10 +134,6 @@ kind: ClusterRole
162
134
apiVersion : rbac.authorization.k8s.io/v1
163
135
metadata :
164
136
name : csi-resizer-role
165
- annotations :
166
- {{- with .Values.commonAnnotations }}
167
- {{- toYaml . | nindent 4 }}
168
- {{- end }}
169
137
rules :
170
138
# The following rule should be uncommented for plugins that require secrets
171
139
# for provisioning.
@@ -195,10 +163,6 @@ kind: ClusterRoleBinding
195
163
apiVersion : rbac.authorization.k8s.io/v1
196
164
metadata :
197
165
name : csi-resizer-binding
198
- annotations :
199
- {{- with .Values.commonAnnotations }}
200
- {{- toYaml . | nindent 4 }}
201
- {{- end }}
202
166
subjects :
203
167
- kind : ServiceAccount
204
168
name : csi-cinder-controller-sa
0 commit comments