quick-start-minimal.yaml 53 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975
  1. # This is an auto-generated file. DO NOT EDIT
  2. apiVersion: apiextensions.k8s.io/v1
  3. kind: CustomResourceDefinition
  4. metadata:
  5. name: clusterworkflowtemplates.argoproj.io
  6. spec:
  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. ---
  39. apiVersion: apiextensions.k8s.io/v1
  40. kind: CustomResourceDefinition
  41. metadata:
  42. name: cronworkflows.argoproj.io
  43. spec:
  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. ---
  80. apiVersion: apiextensions.k8s.io/v1
  81. kind: CustomResourceDefinition
  82. metadata:
  83. name: workflowartifactgctasks.argoproj.io
  84. spec:
  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. ---
  122. apiVersion: apiextensions.k8s.io/v1
  123. kind: CustomResourceDefinition
  124. metadata:
  125. name: workfloweventbindings.argoproj.io
  126. spec:
  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. ---
  158. apiVersion: apiextensions.k8s.io/v1
  159. kind: CustomResourceDefinition
  160. metadata:
  161. name: workflows.argoproj.io
  162. spec:
  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. ---
  214. apiVersion: apiextensions.k8s.io/v1
  215. kind: CustomResourceDefinition
  216. metadata:
  217. name: workflowtaskresults.argoproj.io
  218. spec:
  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. ---
  812. apiVersion: apiextensions.k8s.io/v1
  813. kind: CustomResourceDefinition
  814. metadata:
  815. name: workflowtasksets.argoproj.io
  816. spec:
  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. ---
  854. apiVersion: apiextensions.k8s.io/v1
  855. kind: CustomResourceDefinition
  856. metadata:
  857. name: workflowtemplates.argoproj.io
  858. spec:
  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. ---
  890. apiVersion: v1
  891. kind: ServiceAccount
  892. metadata:
  893. name: argo
  894. namespace: cicd
  895. ---
  896. apiVersion: v1
  897. kind: ServiceAccount
  898. metadata:
  899. name: argo-server
  900. namespace: cicd
  901. ---
  902. apiVersion: v1
  903. kind: ServiceAccount
  904. metadata:
  905. name: github.com
  906. ---
  907. apiVersion: rbac.authorization.k8s.io/v1
  908. kind: Role
  909. metadata:
  910. name: argo-role
  911. namespace: cicd
  912. rules:
  913. - apiGroups:
  914. - coordination.k8s.io
  915. resources:
  916. - leases
  917. verbs:
  918. - create
  919. - get
  920. - update
  921. - apiGroups:
  922. - ""
  923. resources:
  924. - secrets
  925. verbs:
  926. - get
  927. ---
  928. apiVersion: rbac.authorization.k8s.io/v1
  929. kind: Role
  930. metadata:
  931. annotations:
  932. workflows.argoproj.io/description: |
  933. This is the minimum recommended permissions needed if you want to use the agent, e.g. for HTTP or plugin templates.
  934. If <= v3.2 you must replace `workflowtasksets/status` with `patch workflowtasksets`.
  935. name: agent
  936. rules:
  937. - apiGroups:
  938. - argoproj.io
  939. resources:
  940. - workflowtasksets
  941. verbs:
  942. - list
  943. - watch
  944. - apiGroups:
  945. - argoproj.io
  946. resources:
  947. - workflowtasksets/status
  948. verbs:
  949. - patch
  950. ---
  951. apiVersion: rbac.authorization.k8s.io/v1
  952. kind: Role
  953. metadata:
  954. annotations:
  955. workflows.argoproj.io/description: |
  956. This is the minimum recommended permissions needed if you want to use artifact GC.
  957. name: artifactgc
  958. rules:
  959. - apiGroups:
  960. - argoproj.io
  961. resources:
  962. - workflowartifactgctasks
  963. verbs:
  964. - list
  965. - watch
  966. - apiGroups:
  967. - argoproj.io
  968. resources:
  969. - workflowartifactgctasks/status
  970. verbs:
  971. - patch
  972. ---
  973. apiVersion: rbac.authorization.k8s.io/v1
  974. kind: Role
  975. metadata:
  976. annotations:
  977. workflows.argoproj.io/description: |
  978. Recomended minimum permissions for the `emissary` executor.
  979. name: executor
  980. rules:
  981. - apiGroups:
  982. - argoproj.io
  983. resources:
  984. - workflowtaskresults
  985. verbs:
  986. - create
  987. - patch
  988. ---
  989. apiVersion: rbac.authorization.k8s.io/v1
  990. kind: Role
  991. metadata:
  992. annotations:
  993. workflows.argoproj.io/description: |
  994. This is an example of the permissions you would need if you wanted to use a resource template to create and manage
  995. other pods. The same pattern would be suitable for other resurces, e.g. a service
  996. name: pod-manager
  997. rules:
  998. - apiGroups:
  999. - ""
  1000. resources:
  1001. - pods
  1002. verbs:
  1003. - create
  1004. - get
  1005. - patch
  1006. ---
  1007. apiVersion: rbac.authorization.k8s.io/v1
  1008. kind: Role
  1009. metadata:
  1010. name: submit-workflow-template
  1011. rules:
  1012. - apiGroups:
  1013. - argoproj.io
  1014. resources:
  1015. - workfloweventbindings
  1016. verbs:
  1017. - list
  1018. - apiGroups:
  1019. - argoproj.io
  1020. resources:
  1021. - workflowtemplates
  1022. verbs:
  1023. - get
  1024. - apiGroups:
  1025. - argoproj.io
  1026. resources:
  1027. - workflows
  1028. verbs:
  1029. - create
  1030. ---
  1031. apiVersion: rbac.authorization.k8s.io/v1
  1032. kind: Role
  1033. metadata:
  1034. annotations:
  1035. workflows.argoproj.io/description: |
  1036. This is an example of the permissions you would need if you wanted to use a resource template to create and manage
  1037. other workflows. The same pattern would be suitable for other resurces, e.g. a service
  1038. name: workflow-manager
  1039. rules:
  1040. - apiGroups:
  1041. - argoproj.io
  1042. resources:
  1043. - workflows
  1044. verbs:
  1045. - create
  1046. - get
  1047. ---
  1048. apiVersion: rbac.authorization.k8s.io/v1
  1049. kind: ClusterRole
  1050. metadata:
  1051. labels:
  1052. rbac.authorization.k8s.io/aggregate-to-admin: "true"
  1053. name: argo-aggregate-to-admin
  1054. rules:
  1055. - apiGroups:
  1056. - argoproj.io
  1057. resources:
  1058. - workflows
  1059. - workflows/finalizers
  1060. - workfloweventbindings
  1061. - workfloweventbindings/finalizers
  1062. - workflowtemplates
  1063. - workflowtemplates/finalizers
  1064. - cronworkflows
  1065. - cronworkflows/finalizers
  1066. - clusterworkflowtemplates
  1067. - clusterworkflowtemplates/finalizers
  1068. - workflowtasksets
  1069. - workflowtasksets/finalizers
  1070. - workflowtaskresults
  1071. - workflowtaskresults/finalizers
  1072. verbs:
  1073. - create
  1074. - delete
  1075. - deletecollection
  1076. - get
  1077. - list
  1078. - patch
  1079. - update
  1080. - watch
  1081. ---
  1082. apiVersion: rbac.authorization.k8s.io/v1
  1083. kind: ClusterRole
  1084. metadata:
  1085. labels:
  1086. rbac.authorization.k8s.io/aggregate-to-edit: "true"
  1087. name: argo-aggregate-to-edit
  1088. rules:
  1089. - apiGroups:
  1090. - argoproj.io
  1091. resources:
  1092. - workflows
  1093. - workflows/finalizers
  1094. - workfloweventbindings
  1095. - workfloweventbindings/finalizers
  1096. - workflowtemplates
  1097. - workflowtemplates/finalizers
  1098. - cronworkflows
  1099. - cronworkflows/finalizers
  1100. - clusterworkflowtemplates
  1101. - clusterworkflowtemplates/finalizers
  1102. - workflowtaskresults
  1103. - workflowtaskresults/finalizers
  1104. verbs:
  1105. - create
  1106. - delete
  1107. - deletecollection
  1108. - get
  1109. - list
  1110. - patch
  1111. - update
  1112. - watch
  1113. ---
  1114. apiVersion: rbac.authorization.k8s.io/v1
  1115. kind: ClusterRole
  1116. metadata:
  1117. labels:
  1118. rbac.authorization.k8s.io/aggregate-to-view: "true"
  1119. name: argo-aggregate-to-view
  1120. rules:
  1121. - apiGroups:
  1122. - argoproj.io
  1123. resources:
  1124. - workflows
  1125. - workflows/finalizers
  1126. - workfloweventbindings
  1127. - workfloweventbindings/finalizers
  1128. - workflowtemplates
  1129. - workflowtemplates/finalizers
  1130. - cronworkflows
  1131. - cronworkflows/finalizers
  1132. - clusterworkflowtemplates
  1133. - clusterworkflowtemplates/finalizers
  1134. - workflowtaskresults
  1135. - workflowtaskresults/finalizers
  1136. verbs:
  1137. - get
  1138. - list
  1139. - watch
  1140. ---
  1141. apiVersion: rbac.authorization.k8s.io/v1
  1142. kind: ClusterRole
  1143. metadata:
  1144. name: argo-cluster-role
  1145. rules:
  1146. - apiGroups:
  1147. - ""
  1148. resources:
  1149. - pods
  1150. - pods/exec
  1151. verbs:
  1152. - create
  1153. - get
  1154. - list
  1155. - watch
  1156. - update
  1157. - patch
  1158. - delete
  1159. - apiGroups:
  1160. - ""
  1161. resources:
  1162. - configmaps
  1163. verbs:
  1164. - get
  1165. - watch
  1166. - list
  1167. - apiGroups:
  1168. - ""
  1169. resources:
  1170. - persistentvolumeclaims
  1171. - persistentvolumeclaims/finalizers
  1172. verbs:
  1173. - create
  1174. - update
  1175. - delete
  1176. - get
  1177. - apiGroups:
  1178. - argoproj.io
  1179. resources:
  1180. - workflows
  1181. - workflows/finalizers
  1182. - workflowtasksets
  1183. - workflowtasksets/finalizers
  1184. - workflowartifactgctasks
  1185. verbs:
  1186. - get
  1187. - list
  1188. - watch
  1189. - update
  1190. - patch
  1191. - delete
  1192. - create
  1193. - apiGroups:
  1194. - argoproj.io
  1195. resources:
  1196. - workflowtemplates
  1197. - workflowtemplates/finalizers
  1198. - clusterworkflowtemplates
  1199. - clusterworkflowtemplates/finalizers
  1200. verbs:
  1201. - get
  1202. - list
  1203. - watch
  1204. - apiGroups:
  1205. - argoproj.io
  1206. resources:
  1207. - workflowtaskresults
  1208. verbs:
  1209. - list
  1210. - watch
  1211. - deletecollection
  1212. - apiGroups:
  1213. - ""
  1214. resources:
  1215. - serviceaccounts
  1216. verbs:
  1217. - get
  1218. - list
  1219. - apiGroups:
  1220. - argoproj.io
  1221. resources:
  1222. - cronworkflows
  1223. - cronworkflows/finalizers
  1224. verbs:
  1225. - get
  1226. - list
  1227. - watch
  1228. - update
  1229. - patch
  1230. - delete
  1231. - apiGroups:
  1232. - ""
  1233. resources:
  1234. - events
  1235. verbs:
  1236. - create
  1237. - patch
  1238. - apiGroups:
  1239. - policy
  1240. resources:
  1241. - poddisruptionbudgets
  1242. verbs:
  1243. - create
  1244. - get
  1245. - delete
  1246. ---
  1247. apiVersion: rbac.authorization.k8s.io/v1
  1248. kind: ClusterRole
  1249. metadata:
  1250. name: argo-clusterworkflowtemplate-role
  1251. rules:
  1252. - apiGroups:
  1253. - argoproj.io
  1254. resources:
  1255. - clusterworkflowtemplates
  1256. - clusterworkflowtemplates/finalizers
  1257. verbs:
  1258. - get
  1259. - list
  1260. - watch
  1261. ---
  1262. apiVersion: rbac.authorization.k8s.io/v1
  1263. kind: ClusterRole
  1264. metadata:
  1265. name: argo-server-cluster-role
  1266. rules:
  1267. - apiGroups:
  1268. - ""
  1269. resources:
  1270. - configmaps
  1271. verbs:
  1272. - get
  1273. - watch
  1274. - list
  1275. - apiGroups:
  1276. - ""
  1277. resources:
  1278. - secrets
  1279. verbs:
  1280. - get
  1281. - create
  1282. - apiGroups:
  1283. - ""
  1284. resources:
  1285. - pods
  1286. - pods/exec
  1287. - pods/log
  1288. verbs:
  1289. - get
  1290. - list
  1291. - watch
  1292. - delete
  1293. - apiGroups:
  1294. - ""
  1295. resources:
  1296. - events
  1297. verbs:
  1298. - watch
  1299. - create
  1300. - patch
  1301. - apiGroups:
  1302. - ""
  1303. resources:
  1304. - serviceaccounts
  1305. verbs:
  1306. - get
  1307. - list
  1308. - watch
  1309. - apiGroups:
  1310. - argoproj.io
  1311. resources:
  1312. - eventsources
  1313. - sensors
  1314. - workflows
  1315. - workfloweventbindings
  1316. - workflowtemplates
  1317. - cronworkflows
  1318. - clusterworkflowtemplates
  1319. verbs:
  1320. - create
  1321. - get
  1322. - list
  1323. - watch
  1324. - update
  1325. - patch
  1326. - delete
  1327. ---
  1328. apiVersion: rbac.authorization.k8s.io/v1
  1329. kind: ClusterRole
  1330. metadata:
  1331. name: argo-server-clusterworkflowtemplate-role
  1332. rules:
  1333. - apiGroups:
  1334. - argoproj.io
  1335. resources:
  1336. - clusterworkflowtemplates
  1337. - clusterworkflowtemplates/finalizers
  1338. verbs:
  1339. - create
  1340. - delete
  1341. - watch
  1342. - get
  1343. - list
  1344. - watch
  1345. ---
  1346. apiVersion: rbac.authorization.k8s.io/v1
  1347. kind: RoleBinding
  1348. metadata:
  1349. name: argo-binding
  1350. namespace: cicd
  1351. roleRef:
  1352. apiGroup: rbac.authorization.k8s.io
  1353. kind: Role
  1354. name: argo-role
  1355. subjects:
  1356. - kind: ServiceAccount
  1357. name: argo
  1358. namespace: cicd
  1359. ---
  1360. apiVersion: rbac.authorization.k8s.io/v1
  1361. kind: RoleBinding
  1362. metadata:
  1363. name: agent-default
  1364. roleRef:
  1365. apiGroup: rbac.authorization.k8s.io
  1366. kind: Role
  1367. name: agent
  1368. subjects:
  1369. - kind: ServiceAccount
  1370. name: default
  1371. ---
  1372. apiVersion: rbac.authorization.k8s.io/v1
  1373. kind: RoleBinding
  1374. metadata:
  1375. name: artifactgc-default
  1376. roleRef:
  1377. apiGroup: rbac.authorization.k8s.io
  1378. kind: Role
  1379. name: artifactgc
  1380. subjects:
  1381. - kind: ServiceAccount
  1382. name: default
  1383. ---
  1384. apiVersion: rbac.authorization.k8s.io/v1
  1385. kind: RoleBinding
  1386. metadata:
  1387. name: executor-default
  1388. roleRef:
  1389. apiGroup: rbac.authorization.k8s.io
  1390. kind: Role
  1391. name: executor
  1392. subjects:
  1393. - kind: ServiceAccount
  1394. name: default
  1395. ---
  1396. apiVersion: rbac.authorization.k8s.io/v1
  1397. kind: RoleBinding
  1398. metadata:
  1399. name: github.com
  1400. roleRef:
  1401. apiGroup: rbac.authorization.k8s.io
  1402. kind: Role
  1403. name: submit-workflow-template
  1404. subjects:
  1405. - kind: ServiceAccount
  1406. name: github.com
  1407. namespace: cicd
  1408. ---
  1409. apiVersion: rbac.authorization.k8s.io/v1
  1410. kind: RoleBinding
  1411. metadata:
  1412. name: pod-manager-default
  1413. roleRef:
  1414. apiGroup: rbac.authorization.k8s.io
  1415. kind: Role
  1416. name: pod-manager
  1417. subjects:
  1418. - kind: ServiceAccount
  1419. name: default
  1420. ---
  1421. apiVersion: rbac.authorization.k8s.io/v1
  1422. kind: RoleBinding
  1423. metadata:
  1424. name: workflow-manager-default
  1425. roleRef:
  1426. apiGroup: rbac.authorization.k8s.io
  1427. kind: Role
  1428. name: workflow-manager
  1429. subjects:
  1430. - kind: ServiceAccount
  1431. name: default
  1432. ---
  1433. apiVersion: rbac.authorization.k8s.io/v1
  1434. kind: ClusterRoleBinding
  1435. metadata:
  1436. name: argo-binding
  1437. roleRef:
  1438. apiGroup: rbac.authorization.k8s.io
  1439. kind: ClusterRole
  1440. name: argo-cluster-role
  1441. subjects:
  1442. - kind: ServiceAccount
  1443. name: argo
  1444. namespace: cicd
  1445. ---
  1446. apiVersion: rbac.authorization.k8s.io/v1
  1447. kind: ClusterRoleBinding
  1448. metadata:
  1449. name: argo-clusterworkflowtemplate-role-binding
  1450. roleRef:
  1451. apiGroup: rbac.authorization.k8s.io
  1452. kind: ClusterRole
  1453. name: argo-clusterworkflowtemplate-role
  1454. subjects:
  1455. - kind: ServiceAccount
  1456. name: argo
  1457. namespace: cicd
  1458. ---
  1459. apiVersion: rbac.authorization.k8s.io/v1
  1460. kind: ClusterRoleBinding
  1461. metadata:
  1462. name: argo-server-binding
  1463. roleRef:
  1464. apiGroup: rbac.authorization.k8s.io
  1465. kind: ClusterRole
  1466. name: argo-server-cluster-role
  1467. subjects:
  1468. - kind: ServiceAccount
  1469. name: argo-server
  1470. namespace: cicd
  1471. ---
  1472. apiVersion: rbac.authorization.k8s.io/v1
  1473. kind: ClusterRoleBinding
  1474. metadata:
  1475. name: argo-server-clusterworkflowtemplate-role-binding
  1476. roleRef:
  1477. apiGroup: rbac.authorization.k8s.io
  1478. kind: ClusterRole
  1479. name: argo-server-clusterworkflowtemplate-role
  1480. subjects:
  1481. - kind: ServiceAccount
  1482. name: argo-server
  1483. namespace: cicd
  1484. ---
  1485. apiVersion: v1
  1486. data:
  1487. artifactRepository: |
  1488. s3:
  1489. bucket: my-bucket
  1490. endpoint: minio:9000
  1491. insecure: true
  1492. accessKeySecret:
  1493. name: my-minio-cred
  1494. key: accesskey
  1495. secretKeySecret:
  1496. name: my-minio-cred
  1497. key: secretkey
  1498. columns: |
  1499. - name: Workflow Completed
  1500. type: label
  1501. key: workflows.argoproj.io/completed
  1502. executor: |
  1503. resources:
  1504. requests:
  1505. cpu: 10m
  1506. memory: 64Mi
  1507. images: |
  1508. docker/whalesay:v3.5.10:
  1509. cmd: [cowsay]
  1510. links: |
  1511. - name: Workflow Link
  1512. scope: workflow
  1513. url: http://logging-facility?namespace=${metadata.namespace}&workflowName=${metadata.name}&startedAt=${status.startedAt}&finishedAt=${status.finishedAt}
  1514. - name: Pod Link
  1515. scope: pod
  1516. url: http://logging-facility?namespace=${metadata.namespace}&podName=${metadata.name}&startedAt=${status.startedAt}&finishedAt=${status.finishedAt}
  1517. - name: Pod Logs Link
  1518. scope: pod-logs
  1519. url: http://logging-facility?namespace=${metadata.namespace}&podName=${metadata.name}&startedAt=${status.startedAt}&finishedAt=${status.finishedAt}
  1520. - name: Event Source Logs Link
  1521. scope: event-source-logs
  1522. url: http://logging-facility?namespace=${metadata.namespace}&podName=${metadata.name}&startedAt=${status.startedAt}&finishedAt=${status.finishedAt}
  1523. - name: Sensor Logs Link
  1524. scope: sensor-logs
  1525. url: http://logging-facility?namespace=${metadata.namespace}&podName=${metadata.name}&startedAt=${status.startedAt}&finishedAt=${status.finishedAt}
  1526. - name: Completed Workflows
  1527. scope: workflow-list
  1528. url: http://workflows?label=workflows.argoproj.io/completed=true
  1529. metricsConfig: |
  1530. enabled: true
  1531. path: /metrics
  1532. port: 9090
  1533. namespaceParallelism: "10"
  1534. retentionPolicy: |
  1535. completed: 10
  1536. failed: 3
  1537. errored: 3
  1538. kind: ConfigMap
  1539. metadata:
  1540. name: workflow-controller-configmap
  1541. namespace: cicd
  1542. ---
  1543. apiVersion: v1
  1544. data:
  1545. default-v1: |
  1546. archiveLogs: true
  1547. s3:
  1548. bucket: my-bucket
  1549. endpoint: minio:9000
  1550. insecure: true
  1551. accessKeySecret:
  1552. name: my-minio-cred
  1553. key: accesskey
  1554. secretKeySecret:
  1555. name: my-minio-cred
  1556. key: secretkey
  1557. empty: ""
  1558. my-key: |
  1559. archiveLogs: true
  1560. s3:
  1561. bucket: my-bucket
  1562. endpoint: minio:9000
  1563. insecure: true
  1564. accessKeySecret:
  1565. name: my-minio-cred
  1566. key: accesskey
  1567. secretKeySecret:
  1568. name: my-minio-cred
  1569. key: secretkey
  1570. kind: ConfigMap
  1571. metadata:
  1572. annotations:
  1573. workflows.argoproj.io/default-artifact-repository: default-v1
  1574. name: artifact-repositories
  1575. ---
  1576. apiVersion: v1
  1577. kind: Secret
  1578. metadata:
  1579. name: argo-server-sso
  1580. stringData:
  1581. clientID: argo-server
  1582. clientSecret: ZXhhbXBsZS1hcHAtc2VjcmV0
  1583. ---
  1584. apiVersion: v1
  1585. kind: Secret
  1586. metadata:
  1587. name: argo-workflows-webhook-clients
  1588. stringData:
  1589. bitbucket.org: |
  1590. type: bitbucket
  1591. secret: "my-uuid"
  1592. bitbucketserver: |
  1593. type: bitbucketserver
  1594. secret: "shh!"
  1595. github.com: |
  1596. type: github
  1597. secret: "shh!"
  1598. gitlab.com: |-
  1599. type: gitlab
  1600. secret: "shh!"
  1601. ---
  1602. apiVersion: v1
  1603. kind: Secret
  1604. metadata:
  1605. annotations:
  1606. kubernetes.io/service-account.name: default
  1607. name: default.service-account-token
  1608. type: kubernetes.io/service-account-token
  1609. ---
  1610. apiVersion: v1
  1611. kind: Secret
  1612. metadata:
  1613. annotations:
  1614. kubernetes.io/service-account.name: github.com
  1615. name: github.com.service-account-token
  1616. type: kubernetes.io/service-account-token
  1617. ---
  1618. apiVersion: v1
  1619. kind: Secret
  1620. metadata:
  1621. labels:
  1622. app: httpbin
  1623. name: my-httpbin-cred
  1624. stringData:
  1625. cert.pem: |
  1626. -----BEGIN CERTIFICATE-----
  1627. MIIEmjCCAoICCQDQejieQSZTxzANBgkqhkiG9w0BAQsFADAPMQ0wCwYDVQQDDAR0
  1628. ZXN0MB4XDTIyMDQyNTEzNDc0MloXDTMyMDQyMjEzNDc0MlowDzENMAsGA1UEAwwE
  1629. dGVzdDCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMHT/tfskuXizar1
  1630. 5DDrSkaT1cuCdQhEO7b6haxfvfMJPY9sxaxR570bw5TWQzA0xdAeUzSCbRsvxw6b
  1631. fEyLD4NajdXtcKocYUUcLclzjgyogTDPqlzAfDVZD25ySOTZ150pQaBuIi6TgnqH
  1632. WdJEh9w5//5VZmKyMx49JZMW7ADb9qYxkKVPIan3aNEXOO4SxyjsSekUFefkZOld
  1633. /RVZ8nO8hnDQ7r5NXsIIWVh35A94CA8y6QpKL2qiEFW1fofRcr/Fe/Y/5ohBQ1Ur
  1634. NMcX87zm9kXX1y6wbp3wn5f1PUa1sCUPlxChmRmPPmr4yIqq0a8C1d71jOIbhkox
  1635. 7A30HsP1D3rdxU6eb7KBYb7kShZge1batHRogRe5uX6hGO8iHBV/GdDE6jszoGPU
  1636. ejhfwblr6AeR6ImrWmrJ4rAx/jNqcHPuktnMRlLsBzdhqRwelwgnN13O5ZYiEJg4
  1637. X3YYp678kHnc58aOkhG2nM32cIGha4tkoGM/GpDnFAd0P0gyJVwKo2A2Wc4cMlzQ
  1638. 7dokXbkkzK6lrHJnJjiOfzjD5yMB1Q1zQXKGHB2hJSWAMTjJ9f6qQd3ZaarYPTLx
  1639. vc4WTu+547Sx81Vlnes2xTSgt6pyFSBppHpS7KkOxb+wRF2oIpgLA3mQmsq2c60+
  1640. G8/ro91YAYN+cl+v7m1DyEpD9TW/AgMBAAEwDQYJKoZIhvcNAQELBQADggIBACO7
  1641. 2hU2BSGU66FwpIOihgcaADH0SwokjrEJVXlnMv26JzG/Ja63gTNE5OyghufsJtUi
  1642. E7E1gOH+dH6lVOIEmQdgGZazGxye20diLlicBATa5W2IuaBzb8Bq7ap75jOB7/sH
  1643. Yh+ZV9w0CWgV7KgzJQsp6KPfpMUXn9aJkRkLlCToCj60tC1agw5wzQcokDhOMJaY
  1644. 49FFVoKtVYwN6DfXL5Qi4GUmg7NwMUQAOGD6BQ8VLdbSJoWSHvgR2z5SDIubpdyy
  1645. XDe2V6lusdka8jdRsFH+TUKyGubs3c5YVq80A8itavxPXBUM/OJCHhUA1VpL3rvz
  1646. VgANVV7XFn5fN5TdTOrgJa2LBjflYBC3KiLf1jiW68ZT2rLDrC0yVdHFY0UJG/du
  1647. kWWQpZTfdpGbZOl1rQcYQ3BREWkr5kAv8Sh3sPliibVRvyFzwAqpEUDbpCz/Z3kZ
  1648. mRPU1Ukz8gjr5FBwzNn4x/l+80kgM22qXLMgxf7cqSLxH+dylmIieLGU0s1k7BqK
  1649. Dw77DP1QZe4G6WwrdGooxSYSBn4joKV4TI9sbyd34HJQnkMch0ugz9dlpZyT1P8Y
  1650. 3xU8Qj1BIF8yoyRuzbOokd9cEjNC6N+Z4g5lLEKYM/j1f0r3tGEoZAu2p39UGLa8
  1651. aszMnFjeymK5OCkMUhg/KNr4WK58pc/3uFMhy8bn
  1652. -----END CERTIFICATE-----
  1653. clientID: admin
  1654. clientSecret: password
  1655. key.pem: |
  1656. -----BEGIN PRIVATE KEY-----
  1657. MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQDB0/7X7JLl4s2q
  1658. 9eQw60pGk9XLgnUIRDu2+oWsX73zCT2PbMWsUee9G8OU1kMwNMXQHlM0gm0bL8cO
  1659. m3xMiw+DWo3V7XCqHGFFHC3Jc44MqIEwz6pcwHw1WQ9uckjk2dedKUGgbiIuk4J6
  1660. h1nSRIfcOf/+VWZisjMePSWTFuwA2/amMZClTyGp92jRFzjuEsco7EnpFBXn5GTp
  1661. Xf0VWfJzvIZw0O6+TV7CCFlYd+QPeAgPMukKSi9qohBVtX6H0XK/xXv2P+aIQUNV
  1662. KzTHF/O85vZF19cusG6d8J+X9T1GtbAlD5cQoZkZjz5q+MiKqtGvAtXe9YziG4ZK
  1663. MewN9B7D9Q963cVOnm+ygWG+5EoWYHtW2rR0aIEXubl+oRjvIhwVfxnQxOo7M6Bj
  1664. 1Ho4X8G5a+gHkeiJq1pqyeKwMf4zanBz7pLZzEZS7Ac3YakcHpcIJzddzuWWIhCY
  1665. OF92GKeu/JB53OfGjpIRtpzN9nCBoWuLZKBjPxqQ5xQHdD9IMiVcCqNgNlnOHDJc
  1666. 0O3aJF25JMyupaxyZyY4jn84w+cjAdUNc0FyhhwdoSUlgDE4yfX+qkHd2Wmq2D0y
  1667. 8b3OFk7vueO0sfNVZZ3rNsU0oLeqchUgaaR6UuypDsW/sERdqCKYCwN5kJrKtnOt
  1668. PhvP66PdWAGDfnJfr+5tQ8hKQ/U1vwIDAQABAoICAQCL2aAIv4MGJ2zpq10oBryi
  1669. y8v4eHpkqobDcWK9ip8NGl+2em7t9HLWOZAWdboosAsCLL8wJeL/OKvRWFKJD9Tz
  1670. m4S3FAi0VKHCMaC/t4aIj5QXWd676Y41F7tQn1kE9kDh/oCBdrVnEbuVGM+wLQ4x
  1671. 0g9ovMmQ8K59ZPUVefZycEM4io6pF71cW0zfgHftHtNgLYzuhTWBCYPd9ZjDrRCI
  1672. fUArajS4Ti7OpSOB948vshVukfcfG4O21pQeo0NWT8MRpzXX6Sc2rJAehXwhIqEU
  1673. bTjIEAIMh/RoNNOR2rqJqFIdi3Ad6dsDXB1XJYXct39vXQZfRqCOC/oK0pZVQwxm
  1674. aMbb6VzMjE/paHcBLKorvSIEpuAkgesUkqJeMPxhVnVG6Tg5Xl0WM0pCh/mfir6i
  1675. gFGz/xXb0h8pj9Ksk6QpTOTqDf9JAHCuhp9hnuUR+wpnfKyOfOoDXfAyKjHR0bXz
  1676. XF9DhycErHDY4CWlhFiu8+qzrtR/sZ/AIp2MfjOzBZYoq7Zj2Z3yXDsvr5fpXUW8
  1677. EU+ClnE/dgRBj5z1sKEQd471+R7PU3Q5apw3YlQZClsaaciTIeWOMOwBjxm9PbZL
  1678. CX9BzYaobVAy19ib+/7JgqNxsZ/3gL2xBQU1JoKeY2GnAyyyr8arLZaFR/CUGYyV
  1679. SWOdWwLxgThXIJofA3c5QQKCAQEA701sUqcRN8W/m6nCcav8I2EMU/4h18J3bk88
  1680. NbK8vCsDvvFl/2EcjU/6iKcuxhNg1CjHD96H42FeXVXApkdnf2pF24nJHW8M18yH
  1681. uwPNzIDnLn9LSN6nJsgyo5LuVCXhf2C4UImv9P3Ae1meI/ApBJsad/bAY8MMHwtS
  1682. G/ph/yzhbAb2xF4oJwgOXBm0G2c9sfA0OlHSvYM/kvsQE6770BQ5S1ltrfIv++4J
  1683. qydiJ0Hq0RFM4aHCCi02cWp+43ALhh3EAPHN3ANpmV1IQKqyAeRFX1sqQuqpryQs
  1684. wHQxdF9FLCXHwaF8JOwheu9MTclUZdrkIRf2xac2qdFIszxCkQKCAQEAz1pHtm+f
  1685. HYJdOT3XKKgri4/OPZ7nzb1NcT34NbOPKmhRi38ZxutKrFTy+DCtpjUwF4YlE7oa
  1686. r13upHaxgxHMa9cpLN+69hmT2Pg2oMBvfEIkAiDKt4dcFQBDDKw98lpXNIStsCDp
  1687. nRcToI2TO1AMJNWCulAONov9vGggjS7mxt76cQ2QZH4k6W4yYDcC6g311vR+obA9
  1688. MwJxZfuESw1CLzvE8Ua0esQnXQzpwECC05Q6oObeJ/44huQF7R2MP5iEmDLkgYjj
  1689. G5cmHAdD3u0Ceol3zFqF0YDxcfuglMvpmdBpjNj2rl093ufziy84iVTXJ50CRceS
  1690. e17et+3kKNF7TwKCAQBJpEHZjaA20ZwNg0hbQtns6Uip8GLpyuaGA8w7mi2KmpIk
  1691. iJUi6fenZR1sQEacngoGQCZCM/ENgEFR57nJcd/fzgyBav2BGVOSdVavrpP+gwyh
  1692. unqoihxWSvWKcQT20FF8qX8PCdAkTJKXYxTPanC1AiY7FKxQBw4L36f9BCh0JpOY
  1693. cuwtsewZVtlUbnSGmlbaE1l/OP7pYyKFUM25wPetKQwYrAScqxMpLC+9g/koq5hf
  1694. jjtilCzqhM9kR6mUxD5Hn5FZ2Q/IzSQKFjLN87mj62ON3Lg8r4pYY4GCGD+/2DGp
  1695. TFcUt2VE14XWFx4cMgDO93WM2ZsPaE3iJI2C2uCBAoIBADGmr5da4SICzmnfif7d
  1696. ThgMJlmRDHayhrHAIghR581Cz4v0smp0exwK92dA2MP85ngrkgNIRA2ME5HkLhtx
  1697. jp6gFeb959n4Q/Pnc8VIbym0+MRdr80Ep6MLvgJx2B+JTGpx/tk2+Fm6ZePDIudI
  1698. ArBrQ/NzKgQbv3V3BZxpB6/FQvkBQ3sczZ/r2Do70gHTt/Nx9kSnW/Az/I1sDcCe
  1699. +yMuT7lqsdrXz4kzh2GW0Pzy+JsAzV+MO2LphRXDRosP7Wg4f4kZCzDXH7QEdVcT
  1700. L83BzyLq5jJFiws9MrWOonBHfI7SgTc9coxGxIWmmAYif6anrRyibkwGapRmbYTs
  1701. rHcCggEATsKrZHJkZIfxVdw1uELZxDssxtSd3KS09xN2aypGPdSvWg2Di3NbQsNt
  1702. 4xSljnjWsYLZpxKYv3dUOOJIiIFGxVCPNCF1vL3ofqrBelXF3AAICa+ktzPQqBDI
  1703. eGPj1/h/HodY2pVHVyhZmFFsFy8We/wD64QRx4xI0w9xFAt0qmKVMoCsJmdrXGcO
  1704. kYqZnhkq3OyCswrk78OvFcB2Wnk7SWH2tYhBhOqFv8uPojaiRLOb/6xZaZOA9TPi
  1705. 0mpJScl+pVxs1UGShVH74lIvhPaPq0AHgK1y1yYphKc1A07l2z0+S1tSYOvdQY8k
  1706. NuJLvtwCMGDCxhdYm7OrJ0aUfZzP6w==
  1707. -----END PRIVATE KEY-----
  1708. pass: password
  1709. tokenURL: http://httpbin:9100/response-headers?access_token=faketoken&token_type=Bearer
  1710. user: admin
  1711. type: Opaque
  1712. ---
  1713. apiVersion: v1
  1714. kind: Secret
  1715. metadata:
  1716. labels:
  1717. app: minio
  1718. name: my-minio-cred
  1719. stringData:
  1720. accesskey: admin
  1721. secretkey: password
  1722. type: Opaque
  1723. ---
  1724. apiVersion: v1
  1725. kind: Service
  1726. metadata:
  1727. name: argo-server
  1728. namespace: cicd
  1729. spec:
  1730. ports:
  1731. - name: web
  1732. port: 2746
  1733. targetPort: 2746
  1734. selector:
  1735. app: argo-server
  1736. ---
  1737. apiVersion: v1
  1738. kind: Service
  1739. metadata:
  1740. labels:
  1741. app: httpbin
  1742. name: httpbin
  1743. spec:
  1744. ports:
  1745. - name: api
  1746. port: 9100
  1747. protocol: TCP
  1748. targetPort: 80
  1749. selector:
  1750. app: httpbin
  1751. ---
  1752. apiVersion: v1
  1753. kind: Service
  1754. metadata:
  1755. labels:
  1756. app: minio
  1757. name: minio
  1758. spec:
  1759. ports:
  1760. - name: api
  1761. port: 9000
  1762. protocol: TCP
  1763. targetPort: 9000
  1764. - name: dashboard
  1765. port: 9001
  1766. protocol: TCP
  1767. targetPort: 9001
  1768. selector:
  1769. app: minio
  1770. ---
  1771. apiVersion: scheduling.k8s.io/v1
  1772. kind: PriorityClass
  1773. metadata:
  1774. name: workflow-controller
  1775. value: 1000000
  1776. ---
  1777. apiVersion: apps/v1
  1778. kind: Deployment
  1779. metadata:
  1780. name: argo-server
  1781. namespace: cicd
  1782. spec:
  1783. selector:
  1784. matchLabels:
  1785. app: argo-server
  1786. template:
  1787. metadata:
  1788. labels:
  1789. app: argo-server
  1790. spec:
  1791. containers:
  1792. - args:
  1793. - server
  1794. - --auth-mode
  1795. - server
  1796. - --auth-mode
  1797. - client
  1798. env: []
  1799. image: quay.io/argoproj/argocli:v3.5.10
  1800. name: argo-server
  1801. ports:
  1802. - containerPort: 2746
  1803. name: web
  1804. readinessProbe:
  1805. httpGet:
  1806. path: /
  1807. port: 2746
  1808. scheme: HTTPS
  1809. initialDelaySeconds: 10
  1810. periodSeconds: 20
  1811. securityContext:
  1812. allowPrivilegeEscalation: false
  1813. capabilities:
  1814. drop:
  1815. - ALL
  1816. readOnlyRootFilesystem: true
  1817. runAsNonRoot: true
  1818. volumeMounts:
  1819. - mountPath: /tmp
  1820. name: tmp
  1821. nodeSelector:
  1822. kubernetes.io/os: linux
  1823. securityContext:
  1824. runAsNonRoot: true
  1825. serviceAccountName: argo-server
  1826. volumes:
  1827. - emptyDir: {}
  1828. name: tmp
  1829. ---
  1830. apiVersion: apps/v1
  1831. kind: Deployment
  1832. metadata:
  1833. name: workflow-controller
  1834. namespace: cicd
  1835. spec:
  1836. hostAliases:
  1837. - ip: "172.24.100.101"
  1838. hostnames:
  1839. - "reg.cestong.com.cn"
  1840. selector:
  1841. matchLabels:
  1842. app: workflow-controller
  1843. template:
  1844. metadata:
  1845. labels:
  1846. app: workflow-controller
  1847. spec:
  1848. containers:
  1849. - args: []
  1850. command:
  1851. - workflow-controller
  1852. env:
  1853. - name: LEADER_ELECTION_IDENTITY
  1854. valueFrom:
  1855. fieldRef:
  1856. apiVersion: v1
  1857. fieldPath: metadata.name
  1858. image: quay.io/argoproj/workflow-controller:v3.5.10
  1859. livenessProbe:
  1860. failureThreshold: 3
  1861. httpGet:
  1862. path: /healthz
  1863. port: 6060
  1864. initialDelaySeconds: 90
  1865. periodSeconds: 60
  1866. timeoutSeconds: 30
  1867. name: workflow-controller
  1868. ports:
  1869. - containerPort: 9090
  1870. name: metrics
  1871. - containerPort: 6060
  1872. securityContext:
  1873. allowPrivilegeEscalation: false
  1874. capabilities:
  1875. drop:
  1876. - ALL
  1877. readOnlyRootFilesystem: true
  1878. runAsNonRoot: true
  1879. nodeSelector:
  1880. kubernetes.io/os: linux
  1881. priorityClassName: workflow-controller
  1882. securityContext:
  1883. runAsNonRoot: true
  1884. serviceAccountName: argo
  1885. ---
  1886. apiVersion: apps/v1
  1887. kind: Deployment
  1888. metadata:
  1889. labels:
  1890. app: httpbin
  1891. name: httpbin
  1892. spec:
  1893. selector:
  1894. matchLabels:
  1895. app: httpbin
  1896. template:
  1897. metadata:
  1898. labels:
  1899. app: httpbin
  1900. spec:
  1901. automountServiceAccountToken: false
  1902. containers:
  1903. - image: kong/httpbin
  1904. livenessProbe:
  1905. httpGet:
  1906. path: /get
  1907. port: 80
  1908. initialDelaySeconds: 5
  1909. periodSeconds: 10
  1910. name: main
  1911. ports:
  1912. - containerPort: 80
  1913. name: api
  1914. readinessProbe:
  1915. httpGet:
  1916. path: /get
  1917. port: 80
  1918. initialDelaySeconds: 5
  1919. periodSeconds: 10
  1920. ---
  1921. apiVersion: apps/v1
  1922. kind: Deployment
  1923. metadata:
  1924. labels:
  1925. app: minio
  1926. name: minio
  1927. spec:
  1928. selector:
  1929. matchLabels:
  1930. app: minio
  1931. template:
  1932. metadata:
  1933. labels:
  1934. app: minio
  1935. spec:
  1936. automountServiceAccountToken: false
  1937. containers:
  1938. - command:
  1939. - minio
  1940. - server
  1941. - --console-address
  1942. - :9001
  1943. - /data
  1944. env:
  1945. - name: MINIO_ACCESS_KEY
  1946. value: admin
  1947. - name: MINIO_SECRET_KEY
  1948. value: password
  1949. image: minio/minio:RELEASE.2022-11-17T23-20-09Z
  1950. lifecycle:
  1951. postStart:
  1952. exec:
  1953. command:
  1954. - mkdir
  1955. - -p
  1956. - /data/my-bucket
  1957. livenessProbe:
  1958. httpGet:
  1959. path: /minio/health/live
  1960. port: 9000
  1961. initialDelaySeconds: 5
  1962. periodSeconds: 10
  1963. name: main
  1964. ports:
  1965. - containerPort: 9000
  1966. name: api
  1967. - containerPort: 9001
  1968. name: dashboard
  1969. readinessProbe:
  1970. httpGet:
  1971. path: /minio/health/ready
  1972. port: 9000
  1973. initialDelaySeconds: 5
  1974. periodSeconds: 10