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