Skip to content

Commit 6864816

Browse files
committed
refactor(cloudnativepg_operator): Split manifests to single files
ref: #15 #13 infrastructure/argo#3
1 parent 2d4ee99 commit 6864816

16 files changed

+16424
-16079
lines changed
Lines changed: 345 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,345 @@
1+
---
2+
apiVersion: rbac.authorization.k8s.io/v1
3+
kind: ClusterRole
4+
metadata:
5+
name: cnpg-manager
6+
rules:
7+
- apiGroups:
8+
- ''
9+
resources:
10+
- configmaps
11+
verbs:
12+
- create
13+
- delete
14+
- get
15+
- list
16+
- patch
17+
- update
18+
- watch
19+
- apiGroups:
20+
- ''
21+
resources:
22+
- configmaps/status
23+
verbs:
24+
- get
25+
- patch
26+
- update
27+
- apiGroups:
28+
- ''
29+
resources:
30+
- events
31+
verbs:
32+
- create
33+
- patch
34+
- apiGroups:
35+
- ''
36+
resources:
37+
- nodes
38+
verbs:
39+
- get
40+
- list
41+
- watch
42+
- apiGroups:
43+
- ''
44+
resources:
45+
- persistentvolumeclaims
46+
verbs:
47+
- create
48+
- delete
49+
- get
50+
- list
51+
- patch
52+
- watch
53+
- apiGroups:
54+
- ''
55+
resources:
56+
- pods
57+
verbs:
58+
- create
59+
- delete
60+
- get
61+
- list
62+
- patch
63+
- watch
64+
- apiGroups:
65+
- ''
66+
resources:
67+
- pods/exec
68+
verbs:
69+
- create
70+
- delete
71+
- get
72+
- list
73+
- patch
74+
- watch
75+
- apiGroups:
76+
- ''
77+
resources:
78+
- pods/status
79+
verbs:
80+
- get
81+
- apiGroups:
82+
- ''
83+
resources:
84+
- secrets
85+
verbs:
86+
- create
87+
- delete
88+
- get
89+
- list
90+
- patch
91+
- update
92+
- watch
93+
- apiGroups:
94+
- ''
95+
resources:
96+
- secrets/status
97+
verbs:
98+
- get
99+
- patch
100+
- update
101+
- apiGroups:
102+
- ''
103+
resources:
104+
- serviceaccounts
105+
verbs:
106+
- create
107+
- get
108+
- list
109+
- patch
110+
- update
111+
- watch
112+
- apiGroups:
113+
- ''
114+
resources:
115+
- services
116+
verbs:
117+
- create
118+
- delete
119+
- get
120+
- list
121+
- patch
122+
- update
123+
- watch
124+
- apiGroups:
125+
- admissionregistration.k8s.io
126+
resources:
127+
- mutatingwebhookconfigurations
128+
verbs:
129+
- get
130+
- list
131+
- patch
132+
- update
133+
- apiGroups:
134+
- admissionregistration.k8s.io
135+
resources:
136+
- validatingwebhookconfigurations
137+
verbs:
138+
- get
139+
- list
140+
- patch
141+
- update
142+
- apiGroups:
143+
- apiextensions.k8s.io
144+
resources:
145+
- customresourcedefinitions
146+
verbs:
147+
- get
148+
- list
149+
- update
150+
- apiGroups:
151+
- apps
152+
resources:
153+
- deployments
154+
verbs:
155+
- create
156+
- delete
157+
- get
158+
- list
159+
- patch
160+
- update
161+
- watch
162+
- apiGroups:
163+
- batch
164+
resources:
165+
- jobs
166+
verbs:
167+
- create
168+
- delete
169+
- get
170+
- list
171+
- patch
172+
- watch
173+
- apiGroups:
174+
- coordination.k8s.io
175+
resources:
176+
- leases
177+
verbs:
178+
- create
179+
- get
180+
- update
181+
- apiGroups:
182+
- monitoring.coreos.com
183+
resources:
184+
- podmonitors
185+
verbs:
186+
- create
187+
- delete
188+
- get
189+
- list
190+
- patch
191+
- watch
192+
- apiGroups:
193+
- policy
194+
resources:
195+
- poddisruptionbudgets
196+
verbs:
197+
- create
198+
- delete
199+
- get
200+
- list
201+
- patch
202+
- update
203+
- watch
204+
- apiGroups:
205+
- postgresql.cnpg.io
206+
resources:
207+
- backups
208+
verbs:
209+
- create
210+
- delete
211+
- get
212+
- list
213+
- patch
214+
- update
215+
- watch
216+
- apiGroups:
217+
- postgresql.cnpg.io
218+
resources:
219+
- backups/status
220+
verbs:
221+
- get
222+
- patch
223+
- update
224+
- apiGroups:
225+
- postgresql.cnpg.io
226+
resources:
227+
- clusterimagecatalogs
228+
verbs:
229+
- get
230+
- list
231+
- watch
232+
- apiGroups:
233+
- postgresql.cnpg.io
234+
resources:
235+
- clusters
236+
verbs:
237+
- create
238+
- delete
239+
- get
240+
- list
241+
- patch
242+
- update
243+
- watch
244+
- apiGroups:
245+
- postgresql.cnpg.io
246+
resources:
247+
- clusters/finalizers
248+
verbs:
249+
- update
250+
- apiGroups:
251+
- postgresql.cnpg.io
252+
resources:
253+
- clusters/status
254+
verbs:
255+
- get
256+
- patch
257+
- update
258+
- watch
259+
- apiGroups:
260+
- postgresql.cnpg.io
261+
resources:
262+
- imagecatalogs
263+
verbs:
264+
- get
265+
- list
266+
- watch
267+
- apiGroups:
268+
- postgresql.cnpg.io
269+
resources:
270+
- poolers
271+
verbs:
272+
- create
273+
- delete
274+
- get
275+
- list
276+
- patch
277+
- update
278+
- watch
279+
- apiGroups:
280+
- postgresql.cnpg.io
281+
resources:
282+
- poolers/finalizers
283+
verbs:
284+
- update
285+
- apiGroups:
286+
- postgresql.cnpg.io
287+
resources:
288+
- poolers/status
289+
verbs:
290+
- get
291+
- patch
292+
- update
293+
- watch
294+
- apiGroups:
295+
- postgresql.cnpg.io
296+
resources:
297+
- scheduledbackups
298+
verbs:
299+
- create
300+
- delete
301+
- get
302+
- list
303+
- patch
304+
- update
305+
- watch
306+
- apiGroups:
307+
- postgresql.cnpg.io
308+
resources:
309+
- scheduledbackups/status
310+
verbs:
311+
- get
312+
- patch
313+
- update
314+
- apiGroups:
315+
- rbac.authorization.k8s.io
316+
resources:
317+
- rolebindings
318+
verbs:
319+
- create
320+
- get
321+
- list
322+
- patch
323+
- update
324+
- watch
325+
- apiGroups:
326+
- rbac.authorization.k8s.io
327+
resources:
328+
- roles
329+
verbs:
330+
- create
331+
- get
332+
- list
333+
- patch
334+
- update
335+
- watch
336+
- apiGroups:
337+
- snapshot.storage.k8s.io
338+
resources:
339+
- volumesnapshots
340+
verbs:
341+
- create
342+
- get
343+
- list
344+
- patch
345+
- watch
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
apiVersion: rbac.authorization.k8s.io/v1
3+
kind: ClusterRoleBinding
4+
metadata:
5+
name: cnpg-manager-rolebinding
6+
roleRef:
7+
apiGroup: rbac.authorization.k8s.io
8+
kind: ClusterRole
9+
name: cnpg-manager
10+
subjects:
11+
- kind: ServiceAccount
12+
name: cnpg-manager
13+
namespace: postgres

0 commit comments

Comments
 (0)