blob: c800f6a044fb9c34c2c30f2b5a42066933b83626 [file] [log] [blame]
giolekvafb52e0d2020-04-23 22:52:13 +04001# This is an auto-generated file. DO NOT EDIT
2apiVersion: apiextensions.k8s.io/v1beta1
3kind: CustomResourceDefinition
4metadata:
5 name: cronworkflows.argoproj.io
6spec:
7 group: argoproj.io
8 names:
9 kind: CronWorkflow
10 plural: cronworkflows
11 shortNames:
12 - cronwf
13 - cwf
14 scope: Namespaced
15 version: v1alpha1
16---
17apiVersion: apiextensions.k8s.io/v1beta1
18kind: CustomResourceDefinition
19metadata:
20 name: workflows.argoproj.io
21spec:
22 additionalPrinterColumns:
23 - JSONPath: .status.phase
24 description: Status of the workflow
25 name: Status
26 type: string
27 - JSONPath: .status.startedAt
28 description: When the workflow was started
29 format: date-time
30 name: Age
31 type: date
32 group: argoproj.io
33 names:
34 kind: Workflow
35 plural: workflows
36 shortNames:
37 - wf
38 scope: Namespaced
39 version: v1alpha1
40---
41apiVersion: apiextensions.k8s.io/v1beta1
42kind: CustomResourceDefinition
43metadata:
44 name: workflowtemplates.argoproj.io
45spec:
46 group: argoproj.io
47 names:
48 kind: WorkflowTemplate
49 plural: workflowtemplates
50 shortNames:
51 - wftmpl
52 scope: Namespaced
53 version: v1alpha1
54# ---
55# apiVersion: v1
56# kind: ServiceAccount
57# metadata:
58# name: argo
59# ---
60# apiVersion: v1
61# kind: ServiceAccount
62# metadata:
63# name: argo-server
64---
65apiVersion: rbac.authorization.k8s.io/v1
66kind: Role
67metadata:
68 name: argo-role
69rules:
70- apiGroups:
71 - ""
72 resources:
73 - secrets
74 verbs:
75 - get
76---
77apiVersion: rbac.authorization.k8s.io/v1
78kind: ClusterRole
79metadata:
80 labels:
81 rbac.authorization.k8s.io/aggregate-to-admin: "true"
82 name: argo-aggregate-to-admin
83rules:
84- apiGroups:
85 - argoproj.io
86 resources:
87 - workflows
88 - workflows/finalizers
89 - workflowtemplates
90 - workflowtemplates/finalizers
91 - cronworkflows
92 - cronworkflows/finalizers
93 verbs:
94 - create
95 - delete
96 - deletecollection
97 - get
98 - list
99 - patch
100 - update
101 - watch
102---
103apiVersion: rbac.authorization.k8s.io/v1
104kind: ClusterRole
105metadata:
106 labels:
107 rbac.authorization.k8s.io/aggregate-to-edit: "true"
108 name: argo-aggregate-to-edit
109rules:
110- apiGroups:
111 - argoproj.io
112 resources:
113 - workflows
114 - workflows/finalizers
115 - workflowtemplates
116 - workflowtemplates/finalizers
117 - cronworkflows
118 - cronworkflows/finalizers
119 verbs:
120 - create
121 - delete
122 - deletecollection
123 - get
124 - list
125 - patch
126 - update
127 - watch
128---
129apiVersion: rbac.authorization.k8s.io/v1
130kind: ClusterRole
131metadata:
132 labels:
133 rbac.authorization.k8s.io/aggregate-to-view: "true"
134 name: argo-aggregate-to-view
135rules:
136- apiGroups:
137 - argoproj.io
138 resources:
139 - workflows
140 - workflows/finalizers
141 - workflowtemplates
142 - workflowtemplates/finalizers
143 - cronworkflows
144 - cronworkflows/finalizers
145 verbs:
146 - get
147 - list
148 - watch
149---
150apiVersion: rbac.authorization.k8s.io/v1
151kind: ClusterRole
152metadata:
153 name: argo-cluster-role
154rules:
155- apiGroups:
156 - ""
157 resources:
158 - pods
159 - pods/exec
160 verbs:
161 - create
162 - get
163 - list
164 - watch
165 - update
166 - patch
167 - delete
168- apiGroups:
169 - ""
170 resources:
171 - configmaps
172 verbs:
173 - get
174 - watch
175 - list
176- apiGroups:
177 - ""
178 resources:
179 - persistentvolumeclaims
180 verbs:
181 - create
182 - delete
183- apiGroups:
184 - argoproj.io
185 resources:
186 - workflows
187 - workflows/finalizers
188 verbs:
189 - get
190 - list
191 - watch
192 - update
193 - patch
194 - delete
195 - create
196- apiGroups:
197 - argoproj.io
198 resources:
199 - workflowtemplates
200 - workflowtemplates/finalizers
201 verbs:
202 - get
203 - list
204 - watch
205- apiGroups:
206 - ""
207 resources:
208 - serviceaccounts
209 verbs:
210 - get
211 - list
212- apiGroups:
213 - argoproj.io
214 resources:
215 - cronworkflows
216 - cronworkflows/finalizers
217 verbs:
218 - get
219 - list
220 - watch
221 - update
222 - patch
223 - delete
224- apiGroups:
225 - ""
226 resources:
227 - events
228 verbs:
229 - create
230- apiGroups:
231 - policy
232 resources:
233 - poddisruptionbudgets
234 verbs:
235 - create
236 - get
237 - delete
238---
239apiVersion: rbac.authorization.k8s.io/v1
240kind: ClusterRole
241metadata:
242 name: argo-server-cluster-role
243rules:
244- apiGroups:
245 - ""
246 resources:
247 - configmaps
248 verbs:
249 - get
250 - watch
251 - list
252- apiGroups:
253 - ""
254 resources:
255 - secrets
256 verbs:
257 - get
258- apiGroups:
259 - ""
260 resources:
261 - pods
262 - pods/exec
263 - pods/log
264 verbs:
265 - get
266 - list
267 - watch
268 - delete
269- apiGroups:
270 - ""
271 resources:
272 - secrets
273 verbs:
274 - get
275- apiGroups:
276 - argoproj.io
277 resources:
278 - workflows
279 - workflowtemplates
280 - cronworkflows
281 verbs:
282 - create
283 - get
284 - list
285 - watch
286 - update
287 - patch
288 - delete
289---
290apiVersion: rbac.authorization.k8s.io/v1
291kind: RoleBinding
292metadata:
293 name: argo-binding
294roleRef:
295 apiGroup: rbac.authorization.k8s.io
296 kind: Role
297 name: argo-role
298subjects:
299- kind: ServiceAccount
300 name: default
301---
302apiVersion: rbac.authorization.k8s.io/v1
303kind: ClusterRoleBinding
304metadata:
305 name: argo-binding
306roleRef:
307 apiGroup: rbac.authorization.k8s.io
308 kind: ClusterRole
309 name: argo-cluster-role
310subjects:
311- kind: ServiceAccount
312 name: default
313 namespace: pcloud
314---
315apiVersion: rbac.authorization.k8s.io/v1
316kind: ClusterRoleBinding
317metadata:
318 name: argo-server-binding
319roleRef:
320 apiGroup: rbac.authorization.k8s.io
321 kind: ClusterRole
322 name: argo-server-cluster-role
323subjects:
324- kind: ServiceAccount
325 name: default
326 namespace: pcloud
327---
328apiVersion: v1
329kind: ConfigMap
330metadata:
331 name: workflow-controller-configmap
332---
333apiVersion: v1
334kind: Service
335metadata:
336 name: argo-server
337spec:
338 ports:
339 - port: 2746
340 targetPort: 2746
341 selector:
342 app: argo-server
343---
344apiVersion: v1
345kind: Service
346metadata:
347 name: workflow-controller-metrics
348spec:
349 ports:
350 - port: 9090
351 protocol: TCP
352 targetPort: 9090
353 selector:
354 app: workflow-controller
355---
356apiVersion: apps/v1
357kind: Deployment
358metadata:
359 name: argo-server
360spec:
361 selector:
362 matchLabels:
363 app: argo-server
364 template:
365 metadata:
366 labels:
367 app: argo-server
368 spec:
369 containers:
370 - args:
371 - server
372 image: argoproj/argocli:v2.7.4
373 name: argo-server
374 ports:
375 - containerPort: 2746
376 readinessProbe:
377 httpGet:
378 path: /
379 port: 2746
380 scheme: HTTP
381 initialDelaySeconds: 10
382 periodSeconds: 20
383 serviceAccountName: default
384---
385apiVersion: apps/v1
386kind: Deployment
387metadata:
388 name: workflow-controller
389spec:
390 selector:
391 matchLabels:
392 app: workflow-controller
393 template:
394 metadata:
395 labels:
396 app: workflow-controller
397 spec:
398 containers:
399 - args:
400 - --configmap
401 - workflow-controller-configmap
402 - --executor-image
403 - argoproj/argoexec:v2.7.4
404 command:
405 - workflow-controller
406 image: argoproj/workflow-controller:v2.7.4
407 name: workflow-controller
408 serviceAccountName: default