...
1# This is an auto-generated file. DO NOT EDIT
2apiVersion: apiextensions.k8s.io/v1
3kind: CustomResourceDefinition
4metadata:
5 name: clusterworkflowtemplates.argoproj.io
6spec:
7 group: argoproj.io
8 names:
9 kind: ClusterWorkflowTemplate
10 listKind: ClusterWorkflowTemplateList
11 plural: clusterworkflowtemplates
12 shortNames:
13 - clusterwftmpl
14 - cwft
15 singular: clusterworkflowtemplate
16 scope: Cluster
17 versions:
18 - name: v1alpha1
19 schema:
20 openAPIV3Schema:
21 properties:
22 apiVersion:
23 type: string
24 kind:
25 type: string
26 metadata:
27 type: object
28 spec:
29 type: object
30 x-kubernetes-map-type: atomic
31 x-kubernetes-preserve-unknown-fields: true
32 required:
33 - metadata
34 - spec
35 type: object
36 served: true
37 storage: true
38---
39apiVersion: apiextensions.k8s.io/v1
40kind: CustomResourceDefinition
41metadata:
42 name: cronworkflows.argoproj.io
43spec:
44 group: argoproj.io
45 names:
46 kind: CronWorkflow
47 listKind: CronWorkflowList
48 plural: cronworkflows
49 shortNames:
50 - cwf
51 - cronwf
52 singular: cronworkflow
53 scope: Namespaced
54 versions:
55 - name: v1alpha1
56 schema:
57 openAPIV3Schema:
58 properties:
59 apiVersion:
60 type: string
61 kind:
62 type: string
63 metadata:
64 type: object
65 spec:
66 type: object
67 x-kubernetes-map-type: atomic
68 x-kubernetes-preserve-unknown-fields: true
69 status:
70 type: object
71 x-kubernetes-map-type: atomic
72 x-kubernetes-preserve-unknown-fields: true
73 required:
74 - metadata
75 - spec
76 type: object
77 served: true
78 storage: true
79---
80apiVersion: apiextensions.k8s.io/v1
81kind: CustomResourceDefinition
82metadata:
83 name: workflowartifactgctasks.argoproj.io
84spec:
85 group: argoproj.io
86 names:
87 kind: WorkflowArtifactGCTask
88 listKind: WorkflowArtifactGCTaskList
89 plural: workflowartifactgctasks
90 shortNames:
91 - wfat
92 singular: workflowartifactgctask
93 scope: Namespaced
94 versions:
95 - name: v1alpha1
96 schema:
97 openAPIV3Schema:
98 properties:
99 apiVersion:
100 type: string
101 kind:
102 type: string
103 metadata:
104 type: object
105 spec:
106 type: object
107 x-kubernetes-map-type: atomic
108 x-kubernetes-preserve-unknown-fields: true
109 status:
110 type: object
111 x-kubernetes-map-type: atomic
112 x-kubernetes-preserve-unknown-fields: true
113 required:
114 - metadata
115 - spec
116 type: object
117 served: true
118 storage: true
119 subresources:
120 status: {}
121---
122apiVersion: apiextensions.k8s.io/v1
123kind: CustomResourceDefinition
124metadata:
125 name: workfloweventbindings.argoproj.io
126spec:
127 group: argoproj.io
128 names:
129 kind: WorkflowEventBinding
130 listKind: WorkflowEventBindingList
131 plural: workfloweventbindings
132 shortNames:
133 - wfeb
134 singular: workfloweventbinding
135 scope: Namespaced
136 versions:
137 - name: v1alpha1
138 schema:
139 openAPIV3Schema:
140 properties:
141 apiVersion:
142 type: string
143 kind:
144 type: string
145 metadata:
146 type: object
147 spec:
148 type: object
149 x-kubernetes-map-type: atomic
150 x-kubernetes-preserve-unknown-fields: true
151 required:
152 - metadata
153 - spec
154 type: object
155 served: true
156 storage: true
157---
158apiVersion: apiextensions.k8s.io/v1
159kind: CustomResourceDefinition
160metadata:
161 name: workflows.argoproj.io
162spec:
163 group: argoproj.io
164 names:
165 kind: Workflow
166 listKind: WorkflowList
167 plural: workflows
168 shortNames:
169 - wf
170 singular: workflow
171 scope: Namespaced
172 versions:
173 - additionalPrinterColumns:
174 - description: Status of the workflow
175 jsonPath: .status.phase
176 name: Status
177 type: string
178 - description: When the workflow was started
179 format: date-time
180 jsonPath: .status.startedAt
181 name: Age
182 type: date
183 - description: Human readable message indicating details about why the workflow
184 is in this condition.
185 jsonPath: .status.message
186 name: Message
187 type: string
188 name: v1alpha1
189 schema:
190 openAPIV3Schema:
191 properties:
192 apiVersion:
193 type: string
194 kind:
195 type: string
196 metadata:
197 type: object
198 spec:
199 type: object
200 x-kubernetes-map-type: atomic
201 x-kubernetes-preserve-unknown-fields: true
202 status:
203 type: object
204 x-kubernetes-map-type: atomic
205 x-kubernetes-preserve-unknown-fields: true
206 required:
207 - metadata
208 - spec
209 type: object
210 served: true
211 storage: true
212 subresources: {}
213---
214apiVersion: apiextensions.k8s.io/v1
215kind: CustomResourceDefinition
216metadata:
217 name: workflowtaskresults.argoproj.io
218spec:
219 group: argoproj.io
220 names:
221 kind: WorkflowTaskResult
222 listKind: WorkflowTaskResultList
223 plural: workflowtaskresults
224 singular: workflowtaskresult
225 scope: Namespaced
226 versions:
227 - name: v1alpha1
228 schema:
229 openAPIV3Schema:
230 properties:
231 apiVersion:
232 type: string
233 kind:
234 type: string
235 message:
236 type: string
237 metadata:
238 type: object
239 outputs:
240 properties:
241 artifacts:
242 items:
243 properties:
244 archive:
245 properties:
246 none:
247 type: object
248 tar:
249 properties:
250 compressionLevel:
251 format: int32
252 type: integer
253 type: object
254 zip:
255 type: object
256 type: object
257 archiveLogs:
258 type: boolean
259 artifactGC:
260 properties:
261 podMetadata:
262 properties:
263 annotations:
264 additionalProperties:
265 type: string
266 type: object
267 labels:
268 additionalProperties:
269 type: string
270 type: object
271 type: object
272 serviceAccountName:
273 type: string
274 strategy:
275 enum:
276 - ""
277 - OnWorkflowCompletion
278 - OnWorkflowDeletion
279 - Never
280 type: string
281 type: object
282 artifactory:
283 properties:
284 passwordSecret:
285 properties:
286 key:
287 type: string
288 name:
289 type: string
290 optional:
291 type: boolean
292 required:
293 - key
294 type: object
295 url:
296 type: string
297 usernameSecret:
298 properties:
299 key:
300 type: string
301 name:
302 type: string
303 optional:
304 type: boolean
305 required:
306 - key
307 type: object
308 required:
309 - url
310 type: object
311 azure:
312 properties:
313 accountKeySecret:
314 properties:
315 key:
316 type: string
317 name:
318 type: string
319 optional:
320 type: boolean
321 required:
322 - key
323 type: object
324 blob:
325 type: string
326 container:
327 type: string
328 endpoint:
329 type: string
330 useSDKCreds:
331 type: boolean
332 required:
333 - blob
334 - container
335 - endpoint
336 type: object
337 deleted:
338 type: boolean
339 from:
340 type: string
341 fromExpression:
342 type: string
343 gcs:
344 properties:
345 bucket:
346 type: string
347 key:
348 type: string
349 serviceAccountKeySecret:
350 properties:
351 key:
352 type: string
353 name:
354 type: string
355 optional:
356 type: boolean
357 required:
358 - key
359 type: object
360 required:
361 - key
362 type: object
363 git:
364 properties:
365 branch:
366 type: string
367 depth:
368 format: int64
369 type: integer
370 disableSubmodules:
371 type: boolean
372 fetch:
373 items:
374 type: string
375 type: array
376 insecureIgnoreHostKey:
377 type: boolean
378 passwordSecret:
379 properties:
380 key:
381 type: string
382 name:
383 type: string
384 optional:
385 type: boolean
386 required:
387 - key
388 type: object
389 repo:
390 type: string
391 revision:
392 type: string
393 singleBranch:
394 type: boolean
395 sshPrivateKeySecret:
396 properties:
397 key:
398 type: string
399 name:
400 type: string
401 optional:
402 type: boolean
403 required:
404 - key
405 type: object
406 usernameSecret:
407 properties:
408 key:
409 type: string
410 name:
411 type: string
412 optional:
413 type: boolean
414 required:
415 - key
416 type: object
417 required:
418 - repo
419 type: object
420 globalName:
421 type: string
422 hdfs:
423 properties:
424 addresses:
425 items:
426 type: string
427 type: array
428 force:
429 type: boolean
430 hdfsUser:
431 type: string
432 krbCCacheSecret:
433 properties:
434 key:
435 type: string
436 name:
437 type: string
438 optional:
439 type: boolean
440 required:
441 - key
442 type: object
443 krbConfigConfigMap:
444 properties:
445 key:
446 type: string
447 name:
448 type: string
449 optional:
450 type: boolean
451 required:
452 - key
453 type: object
454 krbKeytabSecret:
455 properties:
456 key:
457 type: string
458 name:
459 type: string
460 optional:
461 type: boolean
462 required:
463 - key
464 type: object
465 krbRealm:
466 type: string
467 krbServicePrincipalName:
468 type: string
469 krbUsername:
470 type: string
471 path:
472 type: string
473 required:
474 - path
475 type: object
476 http:
477 properties:
478 auth:
479 properties:
480 basicAuth:
481 properties:
482 passwordSecret:
483 properties:
484 key:
485 type: string
486 name:
487 type: string
488 optional:
489 type: boolean
490 required:
491 - key
492 type: object
493 usernameSecret:
494 properties:
495 key:
496 type: string
497 name:
498 type: string
499 optional:
500 type: boolean
501 required:
502 - key
503 type: object
504 type: object
505 clientCert:
506 properties:
507 clientCertSecret:
508 properties:
509 key:
510 type: string
511 name:
512 type: string
513 optional:
514 type: boolean
515 required:
516 - key
517 type: object
518 clientKeySecret:
519 properties:
520 key:
521 type: string
522 name:
523 type: string
524 optional:
525 type: boolean
526 required:
527 - key
528 type: object
529 type: object
530 oauth2:
531 properties:
532 clientIDSecret:
533 properties:
534 key:
535 type: string
536 name:
537 type: string
538 optional:
539 type: boolean
540 required:
541 - key
542 type: object
543 clientSecretSecret:
544 properties:
545 key:
546 type: string
547 name:
548 type: string
549 optional:
550 type: boolean
551 required:
552 - key
553 type: object
554 endpointParams:
555 items:
556 properties:
557 key:
558 type: string
559 value:
560 type: string
561 required:
562 - key
563 type: object
564 type: array
565 scopes:
566 items:
567 type: string
568 type: array
569 tokenURLSecret:
570 properties:
571 key:
572 type: string
573 name:
574 type: string
575 optional:
576 type: boolean
577 required:
578 - key
579 type: object
580 type: object
581 type: object
582 headers:
583 items:
584 properties:
585 name:
586 type: string
587 value:
588 type: string
589 required:
590 - name
591 - value
592 type: object
593 type: array
594 url:
595 type: string
596 required:
597 - url
598 type: object
599 mode:
600 format: int32
601 type: integer
602 name:
603 type: string
604 optional:
605 type: boolean
606 oss:
607 properties:
608 accessKeySecret:
609 properties:
610 key:
611 type: string
612 name:
613 type: string
614 optional:
615 type: boolean
616 required:
617 - key
618 type: object
619 bucket:
620 type: string
621 createBucketIfNotPresent:
622 type: boolean
623 endpoint:
624 type: string
625 key:
626 type: string
627 lifecycleRule:
628 properties:
629 markDeletionAfterDays:
630 format: int32
631 type: integer
632 markInfrequentAccessAfterDays:
633 format: int32
634 type: integer
635 type: object
636 secretKeySecret:
637 properties:
638 key:
639 type: string
640 name:
641 type: string
642 optional:
643 type: boolean
644 required:
645 - key
646 type: object
647 securityToken:
648 type: string
649 useSDKCreds:
650 type: boolean
651 required:
652 - key
653 type: object
654 path:
655 type: string
656 raw:
657 properties:
658 data:
659 type: string
660 required:
661 - data
662 type: object
663 recurseMode:
664 type: boolean
665 s3:
666 properties:
667 accessKeySecret:
668 properties:
669 key:
670 type: string
671 name:
672 type: string
673 optional:
674 type: boolean
675 required:
676 - key
677 type: object
678 bucket:
679 type: string
680 caSecret:
681 properties:
682 key:
683 type: string
684 name:
685 type: string
686 optional:
687 type: boolean
688 required:
689 - key
690 type: object
691 createBucketIfNotPresent:
692 properties:
693 objectLocking:
694 type: boolean
695 type: object
696 encryptionOptions:
697 properties:
698 enableEncryption:
699 type: boolean
700 kmsEncryptionContext:
701 type: string
702 kmsKeyId:
703 type: string
704 serverSideCustomerKeySecret:
705 properties:
706 key:
707 type: string
708 name:
709 type: string
710 optional:
711 type: boolean
712 required:
713 - key
714 type: object
715 type: object
716 endpoint:
717 type: string
718 insecure:
719 type: boolean
720 key:
721 type: string
722 region:
723 type: string
724 roleARN:
725 type: string
726 secretKeySecret:
727 properties:
728 key:
729 type: string
730 name:
731 type: string
732 optional:
733 type: boolean
734 required:
735 - key
736 type: object
737 useSDKCreds:
738 type: boolean
739 type: object
740 subPath:
741 type: string
742 required:
743 - name
744 type: object
745 type: array
746 exitCode:
747 type: string
748 parameters:
749 items:
750 properties:
751 default:
752 type: string
753 description:
754 type: string
755 enum:
756 items:
757 type: string
758 type: array
759 globalName:
760 type: string
761 name:
762 type: string
763 value:
764 type: string
765 valueFrom:
766 properties:
767 configMapKeyRef:
768 properties:
769 key:
770 type: string
771 name:
772 type: string
773 optional:
774 type: boolean
775 required:
776 - key
777 type: object
778 default:
779 type: string
780 event:
781 type: string
782 expression:
783 type: string
784 jqFilter:
785 type: string
786 jsonPath:
787 type: string
788 parameter:
789 type: string
790 path:
791 type: string
792 supplied:
793 type: object
794 type: object
795 required:
796 - name
797 type: object
798 type: array
799 result:
800 type: string
801 type: object
802 phase:
803 type: string
804 progress:
805 type: string
806 required:
807 - metadata
808 type: object
809 served: true
810 storage: true
811---
812apiVersion: apiextensions.k8s.io/v1
813kind: CustomResourceDefinition
814metadata:
815 name: workflowtasksets.argoproj.io
816spec:
817 group: argoproj.io
818 names:
819 kind: WorkflowTaskSet
820 listKind: WorkflowTaskSetList
821 plural: workflowtasksets
822 shortNames:
823 - wfts
824 singular: workflowtaskset
825 scope: Namespaced
826 versions:
827 - name: v1alpha1
828 schema:
829 openAPIV3Schema:
830 properties:
831 apiVersion:
832 type: string
833 kind:
834 type: string
835 metadata:
836 type: object
837 spec:
838 type: object
839 x-kubernetes-map-type: atomic
840 x-kubernetes-preserve-unknown-fields: true
841 status:
842 type: object
843 x-kubernetes-map-type: atomic
844 x-kubernetes-preserve-unknown-fields: true
845 required:
846 - metadata
847 - spec
848 type: object
849 served: true
850 storage: true
851 subresources:
852 status: {}
853---
854apiVersion: apiextensions.k8s.io/v1
855kind: CustomResourceDefinition
856metadata:
857 name: workflowtemplates.argoproj.io
858spec:
859 group: argoproj.io
860 names:
861 kind: WorkflowTemplate
862 listKind: WorkflowTemplateList
863 plural: workflowtemplates
864 shortNames:
865 - wftmpl
866 singular: workflowtemplate
867 scope: Namespaced
868 versions:
869 - name: v1alpha1
870 schema:
871 openAPIV3Schema:
872 properties:
873 apiVersion:
874 type: string
875 kind:
876 type: string
877 metadata:
878 type: object
879 spec:
880 type: object
881 x-kubernetes-map-type: atomic
882 x-kubernetes-preserve-unknown-fields: true
883 required:
884 - metadata
885 - spec
886 type: object
887 served: true
888 storage: true
889---
890apiVersion: v1
891kind: ServiceAccount
892metadata:
893 name: argo
894 namespace: argo
895---
896apiVersion: v1
897kind: ServiceAccount
898metadata:
899 name: argo-server
900 namespace: argo
901---
902apiVersion: rbac.authorization.k8s.io/v1
903kind: Role
904metadata:
905 name: argo-role
906 namespace: argo
907rules:
908- apiGroups:
909 - coordination.k8s.io
910 resources:
911 - leases
912 verbs:
913 - create
914 - get
915 - update
916- apiGroups:
917 - ""
918 resources:
919 - secrets
920 verbs:
921 - get
922---
923apiVersion: rbac.authorization.k8s.io/v1
924kind: ClusterRole
925metadata:
926 labels:
927 rbac.authorization.k8s.io/aggregate-to-admin: "true"
928 name: argo-aggregate-to-admin
929rules:
930- apiGroups:
931 - argoproj.io
932 resources:
933 - workflows
934 - workflows/finalizers
935 - workfloweventbindings
936 - workfloweventbindings/finalizers
937 - workflowtemplates
938 - workflowtemplates/finalizers
939 - cronworkflows
940 - cronworkflows/finalizers
941 - clusterworkflowtemplates
942 - clusterworkflowtemplates/finalizers
943 - workflowtasksets
944 - workflowtasksets/finalizers
945 - workflowtaskresults
946 - workflowtaskresults/finalizers
947 verbs:
948 - create
949 - delete
950 - deletecollection
951 - get
952 - list
953 - patch
954 - update
955 - watch
956---
957apiVersion: rbac.authorization.k8s.io/v1
958kind: ClusterRole
959metadata:
960 labels:
961 rbac.authorization.k8s.io/aggregate-to-edit: "true"
962 name: argo-aggregate-to-edit
963rules:
964- apiGroups:
965 - argoproj.io
966 resources:
967 - workflows
968 - workflows/finalizers
969 - workfloweventbindings
970 - workfloweventbindings/finalizers
971 - workflowtemplates
972 - workflowtemplates/finalizers
973 - cronworkflows
974 - cronworkflows/finalizers
975 - clusterworkflowtemplates
976 - clusterworkflowtemplates/finalizers
977 - workflowtaskresults
978 - workflowtaskresults/finalizers
979 verbs:
980 - create
981 - delete
982 - deletecollection
983 - get
984 - list
985 - patch
986 - update
987 - watch
988---
989apiVersion: rbac.authorization.k8s.io/v1
990kind: ClusterRole
991metadata:
992 labels:
993 rbac.authorization.k8s.io/aggregate-to-view: "true"
994 name: argo-aggregate-to-view
995rules:
996- apiGroups:
997 - argoproj.io
998 resources:
999 - workflows
1000 - workflows/finalizers
1001 - workfloweventbindings
1002 - workfloweventbindings/finalizers
1003 - workflowtemplates
1004 - workflowtemplates/finalizers
1005 - cronworkflows
1006 - cronworkflows/finalizers
1007 - clusterworkflowtemplates
1008 - clusterworkflowtemplates/finalizers
1009 - workflowtaskresults
1010 - workflowtaskresults/finalizers
1011 verbs:
1012 - get
1013 - list
1014 - watch
1015---
1016apiVersion: rbac.authorization.k8s.io/v1
1017kind: ClusterRole
1018metadata:
1019 name: argo-cluster-role
1020rules:
1021- apiGroups:
1022 - ""
1023 resources:
1024 - pods
1025 - pods/exec
1026 verbs:
1027 - create
1028 - get
1029 - list
1030 - watch
1031 - update
1032 - patch
1033 - delete
1034- apiGroups:
1035 - ""
1036 resources:
1037 - configmaps
1038 verbs:
1039 - get
1040 - watch
1041 - list
1042- apiGroups:
1043 - ""
1044 resources:
1045 - persistentvolumeclaims
1046 - persistentvolumeclaims/finalizers
1047 verbs:
1048 - create
1049 - update
1050 - delete
1051 - get
1052- apiGroups:
1053 - argoproj.io
1054 resources:
1055 - workflows
1056 - workflows/finalizers
1057 - workflowtasksets
1058 - workflowtasksets/finalizers
1059 - workflowartifactgctasks
1060 verbs:
1061 - get
1062 - list
1063 - watch
1064 - update
1065 - patch
1066 - delete
1067 - create
1068- apiGroups:
1069 - argoproj.io
1070 resources:
1071 - workflowtemplates
1072 - workflowtemplates/finalizers
1073 - clusterworkflowtemplates
1074 - clusterworkflowtemplates/finalizers
1075 verbs:
1076 - get
1077 - list
1078 - watch
1079- apiGroups:
1080 - argoproj.io
1081 resources:
1082 - workflowtaskresults
1083 verbs:
1084 - list
1085 - watch
1086 - deletecollection
1087- apiGroups:
1088 - ""
1089 resources:
1090 - serviceaccounts
1091 verbs:
1092 - get
1093 - list
1094- apiGroups:
1095 - argoproj.io
1096 resources:
1097 - cronworkflows
1098 - cronworkflows/finalizers
1099 verbs:
1100 - get
1101 - list
1102 - watch
1103 - update
1104 - patch
1105 - delete
1106- apiGroups:
1107 - ""
1108 resources:
1109 - events
1110 verbs:
1111 - create
1112 - patch
1113- apiGroups:
1114 - policy
1115 resources:
1116 - poddisruptionbudgets
1117 verbs:
1118 - create
1119 - get
1120 - delete
1121---
1122apiVersion: rbac.authorization.k8s.io/v1
1123kind: ClusterRole
1124metadata:
1125 name: argo-server-cluster-role
1126rules:
1127- apiGroups:
1128 - ""
1129 resources:
1130 - configmaps
1131 verbs:
1132 - get
1133 - watch
1134 - list
1135- apiGroups:
1136 - ""
1137 resources:
1138 - secrets
1139 verbs:
1140 - get
1141 - create
1142- apiGroups:
1143 - ""
1144 resources:
1145 - pods
1146 - pods/exec
1147 - pods/log
1148 verbs:
1149 - get
1150 - list
1151 - watch
1152 - delete
1153- apiGroups:
1154 - ""
1155 resources:
1156 - events
1157 verbs:
1158 - watch
1159 - create
1160 - patch
1161- apiGroups:
1162 - ""
1163 resources:
1164 - serviceaccounts
1165 verbs:
1166 - get
1167 - list
1168 - watch
1169- apiGroups:
1170 - argoproj.io
1171 resources:
1172 - eventsources
1173 - sensors
1174 - workflows
1175 - workfloweventbindings
1176 - workflowtemplates
1177 - cronworkflows
1178 - clusterworkflowtemplates
1179 verbs:
1180 - create
1181 - get
1182 - list
1183 - watch
1184 - update
1185 - patch
1186 - delete
1187---
1188apiVersion: rbac.authorization.k8s.io/v1
1189kind: RoleBinding
1190metadata:
1191 name: argo-binding
1192 namespace: argo
1193roleRef:
1194 apiGroup: rbac.authorization.k8s.io
1195 kind: Role
1196 name: argo-role
1197subjects:
1198- kind: ServiceAccount
1199 name: argo
1200 namespace: argo
1201---
1202apiVersion: rbac.authorization.k8s.io/v1
1203kind: ClusterRoleBinding
1204metadata:
1205 name: argo-binding
1206roleRef:
1207 apiGroup: rbac.authorization.k8s.io
1208 kind: ClusterRole
1209 name: argo-cluster-role
1210subjects:
1211- kind: ServiceAccount
1212 name: argo
1213 namespace: argo
1214---
1215apiVersion: rbac.authorization.k8s.io/v1
1216kind: ClusterRoleBinding
1217metadata:
1218 name: argo-server-binding
1219roleRef:
1220 apiGroup: rbac.authorization.k8s.io
1221 kind: ClusterRole
1222 name: argo-server-cluster-role
1223subjects:
1224- kind: ServiceAccount
1225 name: argo-server
1226 namespace: argo
1227---
1228apiVersion: v1
1229kind: ConfigMap
1230metadata:
1231 name: workflow-controller-configmap
1232 namespace: argo
1233---
1234apiVersion: v1
1235kind: Service
1236metadata:
1237 name: argo-server
1238 namespace: argo
1239spec:
1240 ports:
1241 - name: web
1242 port: 2746
1243 targetPort: 2746
1244 selector:
1245 app: argo-server
1246---
1247apiVersion: scheduling.k8s.io/v1
1248kind: PriorityClass
1249metadata:
1250 name: workflow-controller
1251value: 1000000
1252---
1253apiVersion: apps/v1
1254kind: Deployment
1255metadata:
1256 name: argo-server
1257 namespace: argo
1258spec:
1259 selector:
1260 matchLabels:
1261 app: argo-server
1262 template:
1263 metadata:
1264 labels:
1265 app: argo-server
1266 spec:
1267 containers:
1268 - args:
1269 - server
1270 env: []
1271 image: quay.io/argoproj/argocli:v3.5.5
1272 name: argo-server
1273 ports:
1274 - containerPort: 2746
1275 name: web
1276 readinessProbe:
1277 httpGet:
1278 path: /
1279 port: 2746
1280 scheme: HTTPS
1281 initialDelaySeconds: 10
1282 periodSeconds: 20
1283 securityContext:
1284 allowPrivilegeEscalation: false
1285 capabilities:
1286 drop:
1287 - ALL
1288 readOnlyRootFilesystem: true
1289 runAsNonRoot: true
1290 volumeMounts:
1291 - mountPath: /tmp
1292 name: tmp
1293 nodeSelector:
1294 kubernetes.io/os: linux
1295 securityContext:
1296 runAsNonRoot: true
1297 serviceAccountName: argo-server
1298 volumes:
1299 - emptyDir: {}
1300 name: tmp
1301---
1302apiVersion: apps/v1
1303kind: Deployment
1304metadata:
1305 name: workflow-controller
1306 namespace: argo
1307spec:
1308 selector:
1309 matchLabels:
1310 app: workflow-controller
1311 template:
1312 metadata:
1313 labels:
1314 app: workflow-controller
1315 spec:
1316 containers:
1317 - args: []
1318 command:
1319 - workflow-controller
1320 env:
1321 - name: LEADER_ELECTION_IDENTITY
1322 valueFrom:
1323 fieldRef:
1324 apiVersion: v1
1325 fieldPath: metadata.name
1326 image: quay.io/argoproj/workflow-controller:v3.5.5
1327 livenessProbe:
1328 failureThreshold: 3
1329 httpGet:
1330 path: /healthz
1331 port: 6060
1332 initialDelaySeconds: 90
1333 periodSeconds: 60
1334 timeoutSeconds: 30
1335 name: workflow-controller
1336 ports:
1337 - containerPort: 9090
1338 name: metrics
1339 - containerPort: 6060
1340 securityContext:
1341 allowPrivilegeEscalation: false
1342 capabilities:
1343 drop:
1344 - ALL
1345 readOnlyRootFilesystem: true
1346 runAsNonRoot: true
1347 nodeSelector:
1348 kubernetes.io/os: linux
1349 priorityClassName: workflow-controller
1350 securityContext:
1351 runAsNonRoot: true
1352 serviceAccountName: argo
View as plain text