argocd.yaml 593 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695
  1. # This is an auto-generated file. DO NOT EDIT
  2. apiVersion: apiextensions.k8s.io/v1
  3. kind: CustomResourceDefinition
  4. metadata:
  5. labels:
  6. app.kubernetes.io/name: applications.argoproj.io
  7. app.kubernetes.io/part-of: argocd
  8. name: applications.argoproj.io
  9. spec:
  10. group: argoproj.io
  11. names:
  12. kind: Application
  13. listKind: ApplicationList
  14. plural: applications
  15. shortNames:
  16. - app
  17. - apps
  18. singular: application
  19. scope: Namespaced
  20. versions:
  21. - additionalPrinterColumns:
  22. - jsonPath: .status.sync.status
  23. name: Sync Status
  24. type: string
  25. - jsonPath: .status.health.status
  26. name: Health Status
  27. type: string
  28. - jsonPath: .status.sync.revision
  29. name: Revision
  30. priority: 10
  31. type: string
  32. name: v1alpha1
  33. schema:
  34. openAPIV3Schema:
  35. description: Application is a definition of Application resource.
  36. properties:
  37. apiVersion:
  38. description: 'APIVersion defines the versioned schema of this representation
  39. of an object. Servers should convert recognized schemas to the latest
  40. internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
  41. type: string
  42. kind:
  43. description: 'Kind is a string value representing the REST resource this
  44. object represents. Servers may infer this from the endpoint the client
  45. submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
  46. type: string
  47. metadata:
  48. type: object
  49. operation:
  50. description: Operation contains information about a requested or running
  51. operation
  52. properties:
  53. info:
  54. description: Info is a list of informational items for this operation
  55. items:
  56. properties:
  57. name:
  58. type: string
  59. value:
  60. type: string
  61. required:
  62. - name
  63. - value
  64. type: object
  65. type: array
  66. initiatedBy:
  67. description: InitiatedBy contains information about who initiated
  68. the operations
  69. properties:
  70. automated:
  71. description: Automated is set to true if operation was initiated
  72. automatically by the application controller.
  73. type: boolean
  74. username:
  75. description: Username contains the name of a user who started
  76. operation
  77. type: string
  78. type: object
  79. retry:
  80. description: Retry controls the strategy to apply if a sync fails
  81. properties:
  82. backoff:
  83. description: Backoff controls how to backoff on subsequent retries
  84. of failed syncs
  85. properties:
  86. duration:
  87. description: Duration is the amount to back off. Default unit
  88. is seconds, but could also be a duration (e.g. "2m", "1h")
  89. type: string
  90. factor:
  91. description: Factor is a factor to multiply the base duration
  92. after each failed retry
  93. format: int64
  94. type: integer
  95. maxDuration:
  96. description: MaxDuration is the maximum amount of time allowed
  97. for the backoff strategy
  98. type: string
  99. type: object
  100. limit:
  101. description: Limit is the maximum number of attempts for retrying
  102. a failed sync. If set to 0, no retries will be performed.
  103. format: int64
  104. type: integer
  105. type: object
  106. sync:
  107. description: Sync contains parameters for the operation
  108. properties:
  109. dryRun:
  110. description: DryRun specifies to perform a `kubectl apply --dry-run`
  111. without actually performing the sync
  112. type: boolean
  113. manifests:
  114. description: Manifests is an optional field that overrides sync
  115. source with a local directory for development
  116. items:
  117. type: string
  118. type: array
  119. prune:
  120. description: Prune specifies to delete resources from the cluster
  121. that are no longer tracked in git
  122. type: boolean
  123. resources:
  124. description: Resources describes which resources shall be part
  125. of the sync
  126. items:
  127. description: SyncOperationResource contains resources to sync.
  128. properties:
  129. group:
  130. type: string
  131. kind:
  132. type: string
  133. name:
  134. type: string
  135. namespace:
  136. type: string
  137. required:
  138. - kind
  139. - name
  140. type: object
  141. type: array
  142. revision:
  143. description: Revision is the revision (Git) or chart version (Helm)
  144. which to sync the application to If omitted, will use the revision
  145. specified in app spec.
  146. type: string
  147. source:
  148. description: Source overrides the source definition set in the
  149. application. This is typically set in a Rollback operation and
  150. is nil during a Sync operation
  151. properties:
  152. chart:
  153. description: Chart is a Helm chart name, and must be specified
  154. for applications sourced from a Helm repo.
  155. type: string
  156. directory:
  157. description: Directory holds path/directory specific options
  158. properties:
  159. exclude:
  160. description: Exclude contains a glob pattern to match
  161. paths against that should be explicitly excluded from
  162. being used during manifest generation
  163. type: string
  164. include:
  165. description: Include contains a glob pattern to match
  166. paths against that should be explicitly included during
  167. manifest generation
  168. type: string
  169. jsonnet:
  170. description: Jsonnet holds options specific to Jsonnet
  171. properties:
  172. extVars:
  173. description: ExtVars is a list of Jsonnet External
  174. Variables
  175. items:
  176. description: JsonnetVar represents a variable to
  177. be passed to jsonnet during manifest generation
  178. properties:
  179. code:
  180. type: boolean
  181. name:
  182. type: string
  183. value:
  184. type: string
  185. required:
  186. - name
  187. - value
  188. type: object
  189. type: array
  190. libs:
  191. description: Additional library search dirs
  192. items:
  193. type: string
  194. type: array
  195. tlas:
  196. description: TLAS is a list of Jsonnet Top-level Arguments
  197. items:
  198. description: JsonnetVar represents a variable to
  199. be passed to jsonnet during manifest generation
  200. properties:
  201. code:
  202. type: boolean
  203. name:
  204. type: string
  205. value:
  206. type: string
  207. required:
  208. - name
  209. - value
  210. type: object
  211. type: array
  212. type: object
  213. recurse:
  214. description: Recurse specifies whether to scan a directory
  215. recursively for manifests
  216. type: boolean
  217. type: object
  218. helm:
  219. description: Helm holds helm specific options
  220. properties:
  221. fileParameters:
  222. description: FileParameters are file parameters to the
  223. helm template
  224. items:
  225. description: HelmFileParameter is a file parameter that's
  226. passed to helm template during manifest generation
  227. properties:
  228. name:
  229. description: Name is the name of the Helm parameter
  230. type: string
  231. path:
  232. description: Path is the path to the file containing
  233. the values for the Helm parameter
  234. type: string
  235. type: object
  236. type: array
  237. ignoreMissingValueFiles:
  238. description: IgnoreMissingValueFiles prevents helm template
  239. from failing when valueFiles do not exist locally by
  240. not appending them to helm template --values
  241. type: boolean
  242. parameters:
  243. description: Parameters is a list of Helm parameters which
  244. are passed to the helm template command upon manifest
  245. generation
  246. items:
  247. description: HelmParameter is a parameter that's passed
  248. to helm template during manifest generation
  249. properties:
  250. forceString:
  251. description: ForceString determines whether to tell
  252. Helm to interpret booleans and numbers as strings
  253. type: boolean
  254. name:
  255. description: Name is the name of the Helm parameter
  256. type: string
  257. value:
  258. description: Value is the value for the Helm parameter
  259. type: string
  260. type: object
  261. type: array
  262. passCredentials:
  263. description: PassCredentials pass credentials to all domains
  264. (Helm's --pass-credentials)
  265. type: boolean
  266. releaseName:
  267. description: ReleaseName is the Helm release name to use.
  268. If omitted it will use the application name
  269. type: string
  270. skipCrds:
  271. description: SkipCrds skips custom resource definition
  272. installation step (Helm's --skip-crds)
  273. type: boolean
  274. valueFiles:
  275. description: ValuesFiles is a list of Helm value files
  276. to use when generating a template
  277. items:
  278. type: string
  279. type: array
  280. values:
  281. description: Values specifies Helm values to be passed
  282. to helm template, typically defined as a block
  283. type: string
  284. version:
  285. description: Version is the Helm version to use for templating
  286. ("3")
  287. type: string
  288. type: object
  289. kustomize:
  290. description: Kustomize holds kustomize specific options
  291. properties:
  292. commonAnnotations:
  293. additionalProperties:
  294. type: string
  295. description: CommonAnnotations is a list of additional
  296. annotations to add to rendered manifests
  297. type: object
  298. commonLabels:
  299. additionalProperties:
  300. type: string
  301. description: CommonLabels is a list of additional labels
  302. to add to rendered manifests
  303. type: object
  304. forceCommonAnnotations:
  305. description: ForceCommonAnnotations specifies whether
  306. to force applying common annotations to resources for
  307. Kustomize apps
  308. type: boolean
  309. forceCommonLabels:
  310. description: ForceCommonLabels specifies whether to force
  311. applying common labels to resources for Kustomize apps
  312. type: boolean
  313. images:
  314. description: Images is a list of Kustomize image override
  315. specifications
  316. items:
  317. description: KustomizeImage represents a Kustomize image
  318. definition in the format [old_image_name=]<image_name>:<image_tag>
  319. type: string
  320. type: array
  321. namePrefix:
  322. description: NamePrefix is a prefix appended to resources
  323. for Kustomize apps
  324. type: string
  325. nameSuffix:
  326. description: NameSuffix is a suffix appended to resources
  327. for Kustomize apps
  328. type: string
  329. version:
  330. description: Version controls which version of Kustomize
  331. to use for rendering manifests
  332. type: string
  333. type: object
  334. path:
  335. description: Path is a directory path within the Git repository,
  336. and is only valid for applications sourced from Git.
  337. type: string
  338. plugin:
  339. description: Plugin holds config management plugin specific
  340. options
  341. properties:
  342. env:
  343. description: Env is a list of environment variable entries
  344. items:
  345. description: EnvEntry represents an entry in the application's
  346. environment
  347. properties:
  348. name:
  349. description: Name is the name of the variable, usually
  350. expressed in uppercase
  351. type: string
  352. value:
  353. description: Value is the value of the variable
  354. type: string
  355. required:
  356. - name
  357. - value
  358. type: object
  359. type: array
  360. name:
  361. type: string
  362. type: object
  363. repoURL:
  364. description: RepoURL is the URL to the repository (Git or
  365. Helm) that contains the application manifests
  366. type: string
  367. targetRevision:
  368. description: TargetRevision defines the revision of the source
  369. to sync the application to. In case of Git, this can be
  370. commit, tag, or branch. If omitted, will equal to HEAD.
  371. In case of Helm, this is a semver tag for the Chart's version.
  372. type: string
  373. required:
  374. - repoURL
  375. type: object
  376. syncOptions:
  377. description: SyncOptions provide per-sync sync-options, e.g. Validate=false
  378. items:
  379. type: string
  380. type: array
  381. syncStrategy:
  382. description: SyncStrategy describes how to perform the sync
  383. properties:
  384. apply:
  385. description: Apply will perform a `kubectl apply` to perform
  386. the sync.
  387. properties:
  388. force:
  389. description: Force indicates whether or not to supply
  390. the --force flag to `kubectl apply`. The --force flag
  391. deletes and re-create the resource, when PATCH encounters
  392. conflict and has retried for 5 times.
  393. type: boolean
  394. type: object
  395. hook:
  396. description: Hook will submit any referenced resources to
  397. perform the sync. This is the default strategy
  398. properties:
  399. force:
  400. description: Force indicates whether or not to supply
  401. the --force flag to `kubectl apply`. The --force flag
  402. deletes and re-create the resource, when PATCH encounters
  403. conflict and has retried for 5 times.
  404. type: boolean
  405. type: object
  406. type: object
  407. type: object
  408. type: object
  409. spec:
  410. description: ApplicationSpec represents desired application state. Contains
  411. link to repository with application definition and additional parameters
  412. link definition revision.
  413. properties:
  414. destination:
  415. description: Destination is a reference to the target Kubernetes server
  416. and namespace
  417. properties:
  418. name:
  419. description: Name is an alternate way of specifying the target
  420. cluster by its symbolic name
  421. type: string
  422. namespace:
  423. description: Namespace specifies the target namespace for the
  424. application's resources. The namespace will only be set for
  425. namespace-scoped resources that have not set a value for .metadata.namespace
  426. type: string
  427. server:
  428. description: Server specifies the URL of the target cluster and
  429. must be set to the Kubernetes control plane API
  430. type: string
  431. type: object
  432. ignoreDifferences:
  433. description: IgnoreDifferences is a list of resources and their fields
  434. which should be ignored during comparison
  435. items:
  436. description: ResourceIgnoreDifferences contains resource filter
  437. and list of json paths which should be ignored during comparison
  438. with live state.
  439. properties:
  440. group:
  441. type: string
  442. jqPathExpressions:
  443. items:
  444. type: string
  445. type: array
  446. jsonPointers:
  447. items:
  448. type: string
  449. type: array
  450. kind:
  451. type: string
  452. managedFieldsManagers:
  453. description: ManagedFieldsManagers is a list of trusted managers.
  454. Fields mutated by those managers will take precedence over
  455. the desired state defined in the SCM and won't be displayed
  456. in diffs
  457. items:
  458. type: string
  459. type: array
  460. name:
  461. type: string
  462. namespace:
  463. type: string
  464. required:
  465. - kind
  466. type: object
  467. type: array
  468. info:
  469. description: Info contains a list of information (URLs, email addresses,
  470. and plain text) that relates to the application
  471. items:
  472. properties:
  473. name:
  474. type: string
  475. value:
  476. type: string
  477. required:
  478. - name
  479. - value
  480. type: object
  481. type: array
  482. project:
  483. description: Project is a reference to the project this application
  484. belongs to. The empty string means that application belongs to the
  485. 'default' project.
  486. type: string
  487. revisionHistoryLimit:
  488. description: RevisionHistoryLimit limits the number of items kept
  489. in the application's revision history, which is used for informational
  490. purposes as well as for rollbacks to previous versions. This should
  491. only be changed in exceptional circumstances. Setting to zero will
  492. store no history. This will reduce storage used. Increasing will
  493. increase the space used to store the history, so we do not recommend
  494. increasing it. Default is 10.
  495. format: int64
  496. type: integer
  497. source:
  498. description: Source is a reference to the location of the application's
  499. manifests or chart
  500. properties:
  501. chart:
  502. description: Chart is a Helm chart name, and must be specified
  503. for applications sourced from a Helm repo.
  504. type: string
  505. directory:
  506. description: Directory holds path/directory specific options
  507. properties:
  508. exclude:
  509. description: Exclude contains a glob pattern to match paths
  510. against that should be explicitly excluded from being used
  511. during manifest generation
  512. type: string
  513. include:
  514. description: Include contains a glob pattern to match paths
  515. against that should be explicitly included during manifest
  516. generation
  517. type: string
  518. jsonnet:
  519. description: Jsonnet holds options specific to Jsonnet
  520. properties:
  521. extVars:
  522. description: ExtVars is a list of Jsonnet External Variables
  523. items:
  524. description: JsonnetVar represents a variable to be
  525. passed to jsonnet during manifest generation
  526. properties:
  527. code:
  528. type: boolean
  529. name:
  530. type: string
  531. value:
  532. type: string
  533. required:
  534. - name
  535. - value
  536. type: object
  537. type: array
  538. libs:
  539. description: Additional library search dirs
  540. items:
  541. type: string
  542. type: array
  543. tlas:
  544. description: TLAS is a list of Jsonnet Top-level Arguments
  545. items:
  546. description: JsonnetVar represents a variable to be
  547. passed to jsonnet during manifest generation
  548. properties:
  549. code:
  550. type: boolean
  551. name:
  552. type: string
  553. value:
  554. type: string
  555. required:
  556. - name
  557. - value
  558. type: object
  559. type: array
  560. type: object
  561. recurse:
  562. description: Recurse specifies whether to scan a directory
  563. recursively for manifests
  564. type: boolean
  565. type: object
  566. helm:
  567. description: Helm holds helm specific options
  568. properties:
  569. fileParameters:
  570. description: FileParameters are file parameters to the helm
  571. template
  572. items:
  573. description: HelmFileParameter is a file parameter that's
  574. passed to helm template during manifest generation
  575. properties:
  576. name:
  577. description: Name is the name of the Helm parameter
  578. type: string
  579. path:
  580. description: Path is the path to the file containing
  581. the values for the Helm parameter
  582. type: string
  583. type: object
  584. type: array
  585. ignoreMissingValueFiles:
  586. description: IgnoreMissingValueFiles prevents helm template
  587. from failing when valueFiles do not exist locally by not
  588. appending them to helm template --values
  589. type: boolean
  590. parameters:
  591. description: Parameters is a list of Helm parameters which
  592. are passed to the helm template command upon manifest generation
  593. items:
  594. description: HelmParameter is a parameter that's passed
  595. to helm template during manifest generation
  596. properties:
  597. forceString:
  598. description: ForceString determines whether to tell
  599. Helm to interpret booleans and numbers as strings
  600. type: boolean
  601. name:
  602. description: Name is the name of the Helm parameter
  603. type: string
  604. value:
  605. description: Value is the value for the Helm parameter
  606. type: string
  607. type: object
  608. type: array
  609. passCredentials:
  610. description: PassCredentials pass credentials to all domains
  611. (Helm's --pass-credentials)
  612. type: boolean
  613. releaseName:
  614. description: ReleaseName is the Helm release name to use.
  615. If omitted it will use the application name
  616. type: string
  617. skipCrds:
  618. description: SkipCrds skips custom resource definition installation
  619. step (Helm's --skip-crds)
  620. type: boolean
  621. valueFiles:
  622. description: ValuesFiles is a list of Helm value files to
  623. use when generating a template
  624. items:
  625. type: string
  626. type: array
  627. values:
  628. description: Values specifies Helm values to be passed to
  629. helm template, typically defined as a block
  630. type: string
  631. version:
  632. description: Version is the Helm version to use for templating
  633. ("3")
  634. type: string
  635. type: object
  636. kustomize:
  637. description: Kustomize holds kustomize specific options
  638. properties:
  639. commonAnnotations:
  640. additionalProperties:
  641. type: string
  642. description: CommonAnnotations is a list of additional annotations
  643. to add to rendered manifests
  644. type: object
  645. commonLabels:
  646. additionalProperties:
  647. type: string
  648. description: CommonLabels is a list of additional labels to
  649. add to rendered manifests
  650. type: object
  651. forceCommonAnnotations:
  652. description: ForceCommonAnnotations specifies whether to force
  653. applying common annotations to resources for Kustomize apps
  654. type: boolean
  655. forceCommonLabels:
  656. description: ForceCommonLabels specifies whether to force
  657. applying common labels to resources for Kustomize apps
  658. type: boolean
  659. images:
  660. description: Images is a list of Kustomize image override
  661. specifications
  662. items:
  663. description: KustomizeImage represents a Kustomize image
  664. definition in the format [old_image_name=]<image_name>:<image_tag>
  665. type: string
  666. type: array
  667. namePrefix:
  668. description: NamePrefix is a prefix appended to resources
  669. for Kustomize apps
  670. type: string
  671. nameSuffix:
  672. description: NameSuffix is a suffix appended to resources
  673. for Kustomize apps
  674. type: string
  675. version:
  676. description: Version controls which version of Kustomize to
  677. use for rendering manifests
  678. type: string
  679. type: object
  680. path:
  681. description: Path is a directory path within the Git repository,
  682. and is only valid for applications sourced from Git.
  683. type: string
  684. plugin:
  685. description: Plugin holds config management plugin specific options
  686. properties:
  687. env:
  688. description: Env is a list of environment variable entries
  689. items:
  690. description: EnvEntry represents an entry in the application's
  691. environment
  692. properties:
  693. name:
  694. description: Name is the name of the variable, usually
  695. expressed in uppercase
  696. type: string
  697. value:
  698. description: Value is the value of the variable
  699. type: string
  700. required:
  701. - name
  702. - value
  703. type: object
  704. type: array
  705. name:
  706. type: string
  707. type: object
  708. repoURL:
  709. description: RepoURL is the URL to the repository (Git or Helm)
  710. that contains the application manifests
  711. type: string
  712. targetRevision:
  713. description: TargetRevision defines the revision of the source
  714. to sync the application to. In case of Git, this can be commit,
  715. tag, or branch. If omitted, will equal to HEAD. In case of Helm,
  716. this is a semver tag for the Chart's version.
  717. type: string
  718. required:
  719. - repoURL
  720. type: object
  721. syncPolicy:
  722. description: SyncPolicy controls when and how a sync will be performed
  723. properties:
  724. automated:
  725. description: Automated will keep an application synced to the
  726. target revision
  727. properties:
  728. allowEmpty:
  729. description: 'AllowEmpty allows apps have zero live resources
  730. (default: false)'
  731. type: boolean
  732. prune:
  733. description: 'Prune specifies whether to delete resources
  734. from the cluster that are not found in the sources anymore
  735. as part of automated sync (default: false)'
  736. type: boolean
  737. selfHeal:
  738. description: 'SelfHeal specifes whether to revert resources
  739. back to their desired state upon modification in the cluster
  740. (default: false)'
  741. type: boolean
  742. type: object
  743. managedNamespaceMetadata:
  744. description: ManagedNamespaceMetadata controls metadata in the
  745. given namespace (if CreateNamespace=true)
  746. properties:
  747. annotations:
  748. additionalProperties:
  749. type: string
  750. type: object
  751. labels:
  752. additionalProperties:
  753. type: string
  754. type: object
  755. type: object
  756. retry:
  757. description: Retry controls failed sync retry behavior
  758. properties:
  759. backoff:
  760. description: Backoff controls how to backoff on subsequent
  761. retries of failed syncs
  762. properties:
  763. duration:
  764. description: Duration is the amount to back off. Default
  765. unit is seconds, but could also be a duration (e.g.
  766. "2m", "1h")
  767. type: string
  768. factor:
  769. description: Factor is a factor to multiply the base duration
  770. after each failed retry
  771. format: int64
  772. type: integer
  773. maxDuration:
  774. description: MaxDuration is the maximum amount of time
  775. allowed for the backoff strategy
  776. type: string
  777. type: object
  778. limit:
  779. description: Limit is the maximum number of attempts for retrying
  780. a failed sync. If set to 0, no retries will be performed.
  781. format: int64
  782. type: integer
  783. type: object
  784. syncOptions:
  785. description: Options allow you to specify whole app sync-options
  786. items:
  787. type: string
  788. type: array
  789. type: object
  790. required:
  791. - destination
  792. - project
  793. - source
  794. type: object
  795. status:
  796. description: ApplicationStatus contains status information for the application
  797. properties:
  798. conditions:
  799. description: Conditions is a list of currently observed application
  800. conditions
  801. items:
  802. description: ApplicationCondition contains details about an application
  803. condition, which is usally an error or warning
  804. properties:
  805. lastTransitionTime:
  806. description: LastTransitionTime is the time the condition was
  807. last observed
  808. format: date-time
  809. type: string
  810. message:
  811. description: Message contains human-readable message indicating
  812. details about condition
  813. type: string
  814. type:
  815. description: Type is an application condition type
  816. type: string
  817. required:
  818. - message
  819. - type
  820. type: object
  821. type: array
  822. health:
  823. description: Health contains information about the application's current
  824. health status
  825. properties:
  826. message:
  827. description: Message is a human-readable informational message
  828. describing the health status
  829. type: string
  830. status:
  831. description: Status holds the status code of the application or
  832. resource
  833. type: string
  834. type: object
  835. history:
  836. description: History contains information about the application's
  837. sync history
  838. items:
  839. description: RevisionHistory contains history information about
  840. a previous sync
  841. properties:
  842. deployStartedAt:
  843. description: DeployStartedAt holds the time the sync operation
  844. started
  845. format: date-time
  846. type: string
  847. deployedAt:
  848. description: DeployedAt holds the time the sync operation completed
  849. format: date-time
  850. type: string
  851. id:
  852. description: ID is an auto incrementing identifier of the RevisionHistory
  853. format: int64
  854. type: integer
  855. revision:
  856. description: Revision holds the revision the sync was performed
  857. against
  858. type: string
  859. source:
  860. description: Source is a reference to the application source
  861. used for the sync operation
  862. properties:
  863. chart:
  864. description: Chart is a Helm chart name, and must be specified
  865. for applications sourced from a Helm repo.
  866. type: string
  867. directory:
  868. description: Directory holds path/directory specific options
  869. properties:
  870. exclude:
  871. description: Exclude contains a glob pattern to match
  872. paths against that should be explicitly excluded from
  873. being used during manifest generation
  874. type: string
  875. include:
  876. description: Include contains a glob pattern to match
  877. paths against that should be explicitly included during
  878. manifest generation
  879. type: string
  880. jsonnet:
  881. description: Jsonnet holds options specific to Jsonnet
  882. properties:
  883. extVars:
  884. description: ExtVars is a list of Jsonnet External
  885. Variables
  886. items:
  887. description: JsonnetVar represents a variable
  888. to be passed to jsonnet during manifest generation
  889. properties:
  890. code:
  891. type: boolean
  892. name:
  893. type: string
  894. value:
  895. type: string
  896. required:
  897. - name
  898. - value
  899. type: object
  900. type: array
  901. libs:
  902. description: Additional library search dirs
  903. items:
  904. type: string
  905. type: array
  906. tlas:
  907. description: TLAS is a list of Jsonnet Top-level
  908. Arguments
  909. items:
  910. description: JsonnetVar represents a variable
  911. to be passed to jsonnet during manifest generation
  912. properties:
  913. code:
  914. type: boolean
  915. name:
  916. type: string
  917. value:
  918. type: string
  919. required:
  920. - name
  921. - value
  922. type: object
  923. type: array
  924. type: object
  925. recurse:
  926. description: Recurse specifies whether to scan a directory
  927. recursively for manifests
  928. type: boolean
  929. type: object
  930. helm:
  931. description: Helm holds helm specific options
  932. properties:
  933. fileParameters:
  934. description: FileParameters are file parameters to the
  935. helm template
  936. items:
  937. description: HelmFileParameter is a file parameter
  938. that's passed to helm template during manifest generation
  939. properties:
  940. name:
  941. description: Name is the name of the Helm parameter
  942. type: string
  943. path:
  944. description: Path is the path to the file containing
  945. the values for the Helm parameter
  946. type: string
  947. type: object
  948. type: array
  949. ignoreMissingValueFiles:
  950. description: IgnoreMissingValueFiles prevents helm template
  951. from failing when valueFiles do not exist locally
  952. by not appending them to helm template --values
  953. type: boolean
  954. parameters:
  955. description: Parameters is a list of Helm parameters
  956. which are passed to the helm template command upon
  957. manifest generation
  958. items:
  959. description: HelmParameter is a parameter that's passed
  960. to helm template during manifest generation
  961. properties:
  962. forceString:
  963. description: ForceString determines whether to
  964. tell Helm to interpret booleans and numbers
  965. as strings
  966. type: boolean
  967. name:
  968. description: Name is the name of the Helm parameter
  969. type: string
  970. value:
  971. description: Value is the value for the Helm parameter
  972. type: string
  973. type: object
  974. type: array
  975. passCredentials:
  976. description: PassCredentials pass credentials to all
  977. domains (Helm's --pass-credentials)
  978. type: boolean
  979. releaseName:
  980. description: ReleaseName is the Helm release name to
  981. use. If omitted it will use the application name
  982. type: string
  983. skipCrds:
  984. description: SkipCrds skips custom resource definition
  985. installation step (Helm's --skip-crds)
  986. type: boolean
  987. valueFiles:
  988. description: ValuesFiles is a list of Helm value files
  989. to use when generating a template
  990. items:
  991. type: string
  992. type: array
  993. values:
  994. description: Values specifies Helm values to be passed
  995. to helm template, typically defined as a block
  996. type: string
  997. version:
  998. description: Version is the Helm version to use for
  999. templating ("3")
  1000. type: string
  1001. type: object
  1002. kustomize:
  1003. description: Kustomize holds kustomize specific options
  1004. properties:
  1005. commonAnnotations:
  1006. additionalProperties:
  1007. type: string
  1008. description: CommonAnnotations is a list of additional
  1009. annotations to add to rendered manifests
  1010. type: object
  1011. commonLabels:
  1012. additionalProperties:
  1013. type: string
  1014. description: CommonLabels is a list of additional labels
  1015. to add to rendered manifests
  1016. type: object
  1017. forceCommonAnnotations:
  1018. description: ForceCommonAnnotations specifies whether
  1019. to force applying common annotations to resources
  1020. for Kustomize apps
  1021. type: boolean
  1022. forceCommonLabels:
  1023. description: ForceCommonLabels specifies whether to
  1024. force applying common labels to resources for Kustomize
  1025. apps
  1026. type: boolean
  1027. images:
  1028. description: Images is a list of Kustomize image override
  1029. specifications
  1030. items:
  1031. description: KustomizeImage represents a Kustomize
  1032. image definition in the format [old_image_name=]<image_name>:<image_tag>
  1033. type: string
  1034. type: array
  1035. namePrefix:
  1036. description: NamePrefix is a prefix appended to resources
  1037. for Kustomize apps
  1038. type: string
  1039. nameSuffix:
  1040. description: NameSuffix is a suffix appended to resources
  1041. for Kustomize apps
  1042. type: string
  1043. version:
  1044. description: Version controls which version of Kustomize
  1045. to use for rendering manifests
  1046. type: string
  1047. type: object
  1048. path:
  1049. description: Path is a directory path within the Git repository,
  1050. and is only valid for applications sourced from Git.
  1051. type: string
  1052. plugin:
  1053. description: Plugin holds config management plugin specific
  1054. options
  1055. properties:
  1056. env:
  1057. description: Env is a list of environment variable entries
  1058. items:
  1059. description: EnvEntry represents an entry in the application's
  1060. environment
  1061. properties:
  1062. name:
  1063. description: Name is the name of the variable,
  1064. usually expressed in uppercase
  1065. type: string
  1066. value:
  1067. description: Value is the value of the variable
  1068. type: string
  1069. required:
  1070. - name
  1071. - value
  1072. type: object
  1073. type: array
  1074. name:
  1075. type: string
  1076. type: object
  1077. repoURL:
  1078. description: RepoURL is the URL to the repository (Git or
  1079. Helm) that contains the application manifests
  1080. type: string
  1081. targetRevision:
  1082. description: TargetRevision defines the revision of the
  1083. source to sync the application to. In case of Git, this
  1084. can be commit, tag, or branch. If omitted, will equal
  1085. to HEAD. In case of Helm, this is a semver tag for the
  1086. Chart's version.
  1087. type: string
  1088. required:
  1089. - repoURL
  1090. type: object
  1091. required:
  1092. - deployedAt
  1093. - id
  1094. - revision
  1095. type: object
  1096. type: array
  1097. observedAt:
  1098. description: 'ObservedAt indicates when the application state was
  1099. updated without querying latest git state Deprecated: controller
  1100. no longer updates ObservedAt field'
  1101. format: date-time
  1102. type: string
  1103. operationState:
  1104. description: OperationState contains information about any ongoing
  1105. operations, such as a sync
  1106. properties:
  1107. finishedAt:
  1108. description: FinishedAt contains time of operation completion
  1109. format: date-time
  1110. type: string
  1111. message:
  1112. description: Message holds any pertinent messages when attempting
  1113. to perform operation (typically errors).
  1114. type: string
  1115. operation:
  1116. description: Operation is the original requested operation
  1117. properties:
  1118. info:
  1119. description: Info is a list of informational items for this
  1120. operation
  1121. items:
  1122. properties:
  1123. name:
  1124. type: string
  1125. value:
  1126. type: string
  1127. required:
  1128. - name
  1129. - value
  1130. type: object
  1131. type: array
  1132. initiatedBy:
  1133. description: InitiatedBy contains information about who initiated
  1134. the operations
  1135. properties:
  1136. automated:
  1137. description: Automated is set to true if operation was
  1138. initiated automatically by the application controller.
  1139. type: boolean
  1140. username:
  1141. description: Username contains the name of a user who
  1142. started operation
  1143. type: string
  1144. type: object
  1145. retry:
  1146. description: Retry controls the strategy to apply if a sync
  1147. fails
  1148. properties:
  1149. backoff:
  1150. description: Backoff controls how to backoff on subsequent
  1151. retries of failed syncs
  1152. properties:
  1153. duration:
  1154. description: Duration is the amount to back off. Default
  1155. unit is seconds, but could also be a duration (e.g.
  1156. "2m", "1h")
  1157. type: string
  1158. factor:
  1159. description: Factor is a factor to multiply the base
  1160. duration after each failed retry
  1161. format: int64
  1162. type: integer
  1163. maxDuration:
  1164. description: MaxDuration is the maximum amount of
  1165. time allowed for the backoff strategy
  1166. type: string
  1167. type: object
  1168. limit:
  1169. description: Limit is the maximum number of attempts for
  1170. retrying a failed sync. If set to 0, no retries will
  1171. be performed.
  1172. format: int64
  1173. type: integer
  1174. type: object
  1175. sync:
  1176. description: Sync contains parameters for the operation
  1177. properties:
  1178. dryRun:
  1179. description: DryRun specifies to perform a `kubectl apply
  1180. --dry-run` without actually performing the sync
  1181. type: boolean
  1182. manifests:
  1183. description: Manifests is an optional field that overrides
  1184. sync source with a local directory for development
  1185. items:
  1186. type: string
  1187. type: array
  1188. prune:
  1189. description: Prune specifies to delete resources from
  1190. the cluster that are no longer tracked in git
  1191. type: boolean
  1192. resources:
  1193. description: Resources describes which resources shall
  1194. be part of the sync
  1195. items:
  1196. description: SyncOperationResource contains resources
  1197. to sync.
  1198. properties:
  1199. group:
  1200. type: string
  1201. kind:
  1202. type: string
  1203. name:
  1204. type: string
  1205. namespace:
  1206. type: string
  1207. required:
  1208. - kind
  1209. - name
  1210. type: object
  1211. type: array
  1212. revision:
  1213. description: Revision is the revision (Git) or chart version
  1214. (Helm) which to sync the application to If omitted,
  1215. will use the revision specified in app spec.
  1216. type: string
  1217. source:
  1218. description: Source overrides the source definition set
  1219. in the application. This is typically set in a Rollback
  1220. operation and is nil during a Sync operation
  1221. properties:
  1222. chart:
  1223. description: Chart is a Helm chart name, and must
  1224. be specified for applications sourced from a Helm
  1225. repo.
  1226. type: string
  1227. directory:
  1228. description: Directory holds path/directory specific
  1229. options
  1230. properties:
  1231. exclude:
  1232. description: Exclude contains a glob pattern to
  1233. match paths against that should be explicitly
  1234. excluded from being used during manifest generation
  1235. type: string
  1236. include:
  1237. description: Include contains a glob pattern to
  1238. match paths against that should be explicitly
  1239. included during manifest generation
  1240. type: string
  1241. jsonnet:
  1242. description: Jsonnet holds options specific to
  1243. Jsonnet
  1244. properties:
  1245. extVars:
  1246. description: ExtVars is a list of Jsonnet
  1247. External Variables
  1248. items:
  1249. description: JsonnetVar represents a variable
  1250. to be passed to jsonnet during manifest
  1251. generation
  1252. properties:
  1253. code:
  1254. type: boolean
  1255. name:
  1256. type: string
  1257. value:
  1258. type: string
  1259. required:
  1260. - name
  1261. - value
  1262. type: object
  1263. type: array
  1264. libs:
  1265. description: Additional library search dirs
  1266. items:
  1267. type: string
  1268. type: array
  1269. tlas:
  1270. description: TLAS is a list of Jsonnet Top-level
  1271. Arguments
  1272. items:
  1273. description: JsonnetVar represents a variable
  1274. to be passed to jsonnet during manifest
  1275. generation
  1276. properties:
  1277. code:
  1278. type: boolean
  1279. name:
  1280. type: string
  1281. value:
  1282. type: string
  1283. required:
  1284. - name
  1285. - value
  1286. type: object
  1287. type: array
  1288. type: object
  1289. recurse:
  1290. description: Recurse specifies whether to scan
  1291. a directory recursively for manifests
  1292. type: boolean
  1293. type: object
  1294. helm:
  1295. description: Helm holds helm specific options
  1296. properties:
  1297. fileParameters:
  1298. description: FileParameters are file parameters
  1299. to the helm template
  1300. items:
  1301. description: HelmFileParameter is a file parameter
  1302. that's passed to helm template during manifest
  1303. generation
  1304. properties:
  1305. name:
  1306. description: Name is the name of the Helm
  1307. parameter
  1308. type: string
  1309. path:
  1310. description: Path is the path to the file
  1311. containing the values for the Helm parameter
  1312. type: string
  1313. type: object
  1314. type: array
  1315. ignoreMissingValueFiles:
  1316. description: IgnoreMissingValueFiles prevents
  1317. helm template from failing when valueFiles do
  1318. not exist locally by not appending them to helm
  1319. template --values
  1320. type: boolean
  1321. parameters:
  1322. description: Parameters is a list of Helm parameters
  1323. which are passed to the helm template command
  1324. upon manifest generation
  1325. items:
  1326. description: HelmParameter is a parameter that's
  1327. passed to helm template during manifest generation
  1328. properties:
  1329. forceString:
  1330. description: ForceString determines whether
  1331. to tell Helm to interpret booleans and
  1332. numbers as strings
  1333. type: boolean
  1334. name:
  1335. description: Name is the name of the Helm
  1336. parameter
  1337. type: string
  1338. value:
  1339. description: Value is the value for the
  1340. Helm parameter
  1341. type: string
  1342. type: object
  1343. type: array
  1344. passCredentials:
  1345. description: PassCredentials pass credentials
  1346. to all domains (Helm's --pass-credentials)
  1347. type: boolean
  1348. releaseName:
  1349. description: ReleaseName is the Helm release name
  1350. to use. If omitted it will use the application
  1351. name
  1352. type: string
  1353. skipCrds:
  1354. description: SkipCrds skips custom resource definition
  1355. installation step (Helm's --skip-crds)
  1356. type: boolean
  1357. valueFiles:
  1358. description: ValuesFiles is a list of Helm value
  1359. files to use when generating a template
  1360. items:
  1361. type: string
  1362. type: array
  1363. values:
  1364. description: Values specifies Helm values to be
  1365. passed to helm template, typically defined as
  1366. a block
  1367. type: string
  1368. version:
  1369. description: Version is the Helm version to use
  1370. for templating ("3")
  1371. type: string
  1372. type: object
  1373. kustomize:
  1374. description: Kustomize holds kustomize specific options
  1375. properties:
  1376. commonAnnotations:
  1377. additionalProperties:
  1378. type: string
  1379. description: CommonAnnotations is a list of additional
  1380. annotations to add to rendered manifests
  1381. type: object
  1382. commonLabels:
  1383. additionalProperties:
  1384. type: string
  1385. description: CommonLabels is a list of additional
  1386. labels to add to rendered manifests
  1387. type: object
  1388. forceCommonAnnotations:
  1389. description: ForceCommonAnnotations specifies
  1390. whether to force applying common annotations
  1391. to resources for Kustomize apps
  1392. type: boolean
  1393. forceCommonLabels:
  1394. description: ForceCommonLabels specifies whether
  1395. to force applying common labels to resources
  1396. for Kustomize apps
  1397. type: boolean
  1398. images:
  1399. description: Images is a list of Kustomize image
  1400. override specifications
  1401. items:
  1402. description: KustomizeImage represents a Kustomize
  1403. image definition in the format [old_image_name=]<image_name>:<image_tag>
  1404. type: string
  1405. type: array
  1406. namePrefix:
  1407. description: NamePrefix is a prefix appended to
  1408. resources for Kustomize apps
  1409. type: string
  1410. nameSuffix:
  1411. description: NameSuffix is a suffix appended to
  1412. resources for Kustomize apps
  1413. type: string
  1414. version:
  1415. description: Version controls which version of
  1416. Kustomize to use for rendering manifests
  1417. type: string
  1418. type: object
  1419. path:
  1420. description: Path is a directory path within the Git
  1421. repository, and is only valid for applications sourced
  1422. from Git.
  1423. type: string
  1424. plugin:
  1425. description: Plugin holds config management plugin
  1426. specific options
  1427. properties:
  1428. env:
  1429. description: Env is a list of environment variable
  1430. entries
  1431. items:
  1432. description: EnvEntry represents an entry in
  1433. the application's environment
  1434. properties:
  1435. name:
  1436. description: Name is the name of the variable,
  1437. usually expressed in uppercase
  1438. type: string
  1439. value:
  1440. description: Value is the value of the variable
  1441. type: string
  1442. required:
  1443. - name
  1444. - value
  1445. type: object
  1446. type: array
  1447. name:
  1448. type: string
  1449. type: object
  1450. repoURL:
  1451. description: RepoURL is the URL to the repository
  1452. (Git or Helm) that contains the application manifests
  1453. type: string
  1454. targetRevision:
  1455. description: TargetRevision defines the revision of
  1456. the source to sync the application to. In case of
  1457. Git, this can be commit, tag, or branch. If omitted,
  1458. will equal to HEAD. In case of Helm, this is a semver
  1459. tag for the Chart's version.
  1460. type: string
  1461. required:
  1462. - repoURL
  1463. type: object
  1464. syncOptions:
  1465. description: SyncOptions provide per-sync sync-options,
  1466. e.g. Validate=false
  1467. items:
  1468. type: string
  1469. type: array
  1470. syncStrategy:
  1471. description: SyncStrategy describes how to perform the
  1472. sync
  1473. properties:
  1474. apply:
  1475. description: Apply will perform a `kubectl apply`
  1476. to perform the sync.
  1477. properties:
  1478. force:
  1479. description: Force indicates whether or not to
  1480. supply the --force flag to `kubectl apply`.
  1481. The --force flag deletes and re-create the resource,
  1482. when PATCH encounters conflict and has retried
  1483. for 5 times.
  1484. type: boolean
  1485. type: object
  1486. hook:
  1487. description: Hook will submit any referenced resources
  1488. to perform the sync. This is the default strategy
  1489. properties:
  1490. force:
  1491. description: Force indicates whether or not to
  1492. supply the --force flag to `kubectl apply`.
  1493. The --force flag deletes and re-create the resource,
  1494. when PATCH encounters conflict and has retried
  1495. for 5 times.
  1496. type: boolean
  1497. type: object
  1498. type: object
  1499. type: object
  1500. type: object
  1501. phase:
  1502. description: Phase is the current phase of the operation
  1503. type: string
  1504. retryCount:
  1505. description: RetryCount contains time of operation retries
  1506. format: int64
  1507. type: integer
  1508. startedAt:
  1509. description: StartedAt contains time of operation start
  1510. format: date-time
  1511. type: string
  1512. syncResult:
  1513. description: SyncResult is the result of a Sync operation
  1514. properties:
  1515. resources:
  1516. description: Resources contains a list of sync result items
  1517. for each individual resource in a sync operation
  1518. items:
  1519. description: ResourceResult holds the operation result details
  1520. of a specific resource
  1521. properties:
  1522. group:
  1523. description: Group specifies the API group of the resource
  1524. type: string
  1525. hookPhase:
  1526. description: HookPhase contains the state of any operation
  1527. associated with this resource OR hook This can also
  1528. contain values for non-hook resources.
  1529. type: string
  1530. hookType:
  1531. description: HookType specifies the type of the hook.
  1532. Empty for non-hook resources
  1533. type: string
  1534. kind:
  1535. description: Kind specifies the API kind of the resource
  1536. type: string
  1537. message:
  1538. description: Message contains an informational or error
  1539. message for the last sync OR operation
  1540. type: string
  1541. name:
  1542. description: Name specifies the name of the resource
  1543. type: string
  1544. namespace:
  1545. description: Namespace specifies the target namespace
  1546. of the resource
  1547. type: string
  1548. status:
  1549. description: Status holds the final result of the sync.
  1550. Will be empty if the resources is yet to be applied/pruned
  1551. and is always zero-value for hooks
  1552. type: string
  1553. syncPhase:
  1554. description: SyncPhase indicates the particular phase
  1555. of the sync that this result was acquired in
  1556. type: string
  1557. version:
  1558. description: Version specifies the API version of the
  1559. resource
  1560. type: string
  1561. required:
  1562. - group
  1563. - kind
  1564. - name
  1565. - namespace
  1566. - version
  1567. type: object
  1568. type: array
  1569. revision:
  1570. description: Revision holds the revision this sync operation
  1571. was performed to
  1572. type: string
  1573. source:
  1574. description: Source records the application source information
  1575. of the sync, used for comparing auto-sync
  1576. properties:
  1577. chart:
  1578. description: Chart is a Helm chart name, and must be specified
  1579. for applications sourced from a Helm repo.
  1580. type: string
  1581. directory:
  1582. description: Directory holds path/directory specific options
  1583. properties:
  1584. exclude:
  1585. description: Exclude contains a glob pattern to match
  1586. paths against that should be explicitly excluded
  1587. from being used during manifest generation
  1588. type: string
  1589. include:
  1590. description: Include contains a glob pattern to match
  1591. paths against that should be explicitly included
  1592. during manifest generation
  1593. type: string
  1594. jsonnet:
  1595. description: Jsonnet holds options specific to Jsonnet
  1596. properties:
  1597. extVars:
  1598. description: ExtVars is a list of Jsonnet External
  1599. Variables
  1600. items:
  1601. description: JsonnetVar represents a variable
  1602. to be passed to jsonnet during manifest generation
  1603. properties:
  1604. code:
  1605. type: boolean
  1606. name:
  1607. type: string
  1608. value:
  1609. type: string
  1610. required:
  1611. - name
  1612. - value
  1613. type: object
  1614. type: array
  1615. libs:
  1616. description: Additional library search dirs
  1617. items:
  1618. type: string
  1619. type: array
  1620. tlas:
  1621. description: TLAS is a list of Jsonnet Top-level
  1622. Arguments
  1623. items:
  1624. description: JsonnetVar represents a variable
  1625. to be passed to jsonnet during manifest generation
  1626. properties:
  1627. code:
  1628. type: boolean
  1629. name:
  1630. type: string
  1631. value:
  1632. type: string
  1633. required:
  1634. - name
  1635. - value
  1636. type: object
  1637. type: array
  1638. type: object
  1639. recurse:
  1640. description: Recurse specifies whether to scan a directory
  1641. recursively for manifests
  1642. type: boolean
  1643. type: object
  1644. helm:
  1645. description: Helm holds helm specific options
  1646. properties:
  1647. fileParameters:
  1648. description: FileParameters are file parameters to
  1649. the helm template
  1650. items:
  1651. description: HelmFileParameter is a file parameter
  1652. that's passed to helm template during manifest
  1653. generation
  1654. properties:
  1655. name:
  1656. description: Name is the name of the Helm parameter
  1657. type: string
  1658. path:
  1659. description: Path is the path to the file containing
  1660. the values for the Helm parameter
  1661. type: string
  1662. type: object
  1663. type: array
  1664. ignoreMissingValueFiles:
  1665. description: IgnoreMissingValueFiles prevents helm
  1666. template from failing when valueFiles do not exist
  1667. locally by not appending them to helm template --values
  1668. type: boolean
  1669. parameters:
  1670. description: Parameters is a list of Helm parameters
  1671. which are passed to the helm template command upon
  1672. manifest generation
  1673. items:
  1674. description: HelmParameter is a parameter that's
  1675. passed to helm template during manifest generation
  1676. properties:
  1677. forceString:
  1678. description: ForceString determines whether
  1679. to tell Helm to interpret booleans and numbers
  1680. as strings
  1681. type: boolean
  1682. name:
  1683. description: Name is the name of the Helm parameter
  1684. type: string
  1685. value:
  1686. description: Value is the value for the Helm
  1687. parameter
  1688. type: string
  1689. type: object
  1690. type: array
  1691. passCredentials:
  1692. description: PassCredentials pass credentials to all
  1693. domains (Helm's --pass-credentials)
  1694. type: boolean
  1695. releaseName:
  1696. description: ReleaseName is the Helm release name
  1697. to use. If omitted it will use the application name
  1698. type: string
  1699. skipCrds:
  1700. description: SkipCrds skips custom resource definition
  1701. installation step (Helm's --skip-crds)
  1702. type: boolean
  1703. valueFiles:
  1704. description: ValuesFiles is a list of Helm value files
  1705. to use when generating a template
  1706. items:
  1707. type: string
  1708. type: array
  1709. values:
  1710. description: Values specifies Helm values to be passed
  1711. to helm template, typically defined as a block
  1712. type: string
  1713. version:
  1714. description: Version is the Helm version to use for
  1715. templating ("3")
  1716. type: string
  1717. type: object
  1718. kustomize:
  1719. description: Kustomize holds kustomize specific options
  1720. properties:
  1721. commonAnnotations:
  1722. additionalProperties:
  1723. type: string
  1724. description: CommonAnnotations is a list of additional
  1725. annotations to add to rendered manifests
  1726. type: object
  1727. commonLabels:
  1728. additionalProperties:
  1729. type: string
  1730. description: CommonLabels is a list of additional
  1731. labels to add to rendered manifests
  1732. type: object
  1733. forceCommonAnnotations:
  1734. description: ForceCommonAnnotations specifies whether
  1735. to force applying common annotations to resources
  1736. for Kustomize apps
  1737. type: boolean
  1738. forceCommonLabels:
  1739. description: ForceCommonLabels specifies whether to
  1740. force applying common labels to resources for Kustomize
  1741. apps
  1742. type: boolean
  1743. images:
  1744. description: Images is a list of Kustomize image override
  1745. specifications
  1746. items:
  1747. description: KustomizeImage represents a Kustomize
  1748. image definition in the format [old_image_name=]<image_name>:<image_tag>
  1749. type: string
  1750. type: array
  1751. namePrefix:
  1752. description: NamePrefix is a prefix appended to resources
  1753. for Kustomize apps
  1754. type: string
  1755. nameSuffix:
  1756. description: NameSuffix is a suffix appended to resources
  1757. for Kustomize apps
  1758. type: string
  1759. version:
  1760. description: Version controls which version of Kustomize
  1761. to use for rendering manifests
  1762. type: string
  1763. type: object
  1764. path:
  1765. description: Path is a directory path within the Git repository,
  1766. and is only valid for applications sourced from Git.
  1767. type: string
  1768. plugin:
  1769. description: Plugin holds config management plugin specific
  1770. options
  1771. properties:
  1772. env:
  1773. description: Env is a list of environment variable
  1774. entries
  1775. items:
  1776. description: EnvEntry represents an entry in the
  1777. application's environment
  1778. properties:
  1779. name:
  1780. description: Name is the name of the variable,
  1781. usually expressed in uppercase
  1782. type: string
  1783. value:
  1784. description: Value is the value of the variable
  1785. type: string
  1786. required:
  1787. - name
  1788. - value
  1789. type: object
  1790. type: array
  1791. name:
  1792. type: string
  1793. type: object
  1794. repoURL:
  1795. description: RepoURL is the URL to the repository (Git
  1796. or Helm) that contains the application manifests
  1797. type: string
  1798. targetRevision:
  1799. description: TargetRevision defines the revision of the
  1800. source to sync the application to. In case of Git, this
  1801. can be commit, tag, or branch. If omitted, will equal
  1802. to HEAD. In case of Helm, this is a semver tag for the
  1803. Chart's version.
  1804. type: string
  1805. required:
  1806. - repoURL
  1807. type: object
  1808. required:
  1809. - revision
  1810. type: object
  1811. required:
  1812. - operation
  1813. - phase
  1814. - startedAt
  1815. type: object
  1816. reconciledAt:
  1817. description: ReconciledAt indicates when the application state was
  1818. reconciled using the latest git version
  1819. format: date-time
  1820. type: string
  1821. resourceHealthSource:
  1822. description: 'ResourceHealthSource indicates where the resource health
  1823. status is stored: inline if not set or appTree'
  1824. type: string
  1825. resources:
  1826. description: Resources is a list of Kubernetes resources managed by
  1827. this application
  1828. items:
  1829. description: 'ResourceStatus holds the current sync and health status
  1830. of a resource TODO: describe members of this type'
  1831. properties:
  1832. group:
  1833. type: string
  1834. health:
  1835. description: HealthStatus contains information about the currently
  1836. observed health state of an application or resource
  1837. properties:
  1838. message:
  1839. description: Message is a human-readable informational message
  1840. describing the health status
  1841. type: string
  1842. status:
  1843. description: Status holds the status code of the application
  1844. or resource
  1845. type: string
  1846. type: object
  1847. hook:
  1848. type: boolean
  1849. kind:
  1850. type: string
  1851. name:
  1852. type: string
  1853. namespace:
  1854. type: string
  1855. requiresPruning:
  1856. type: boolean
  1857. status:
  1858. description: SyncStatusCode is a type which represents possible
  1859. comparison results
  1860. type: string
  1861. syncWave:
  1862. format: int64
  1863. type: integer
  1864. version:
  1865. type: string
  1866. type: object
  1867. type: array
  1868. sourceType:
  1869. description: SourceType specifies the type of this application
  1870. type: string
  1871. summary:
  1872. description: Summary contains a list of URLs and container images
  1873. used by this application
  1874. properties:
  1875. externalURLs:
  1876. description: ExternalURLs holds all external URLs of application
  1877. child resources.
  1878. items:
  1879. type: string
  1880. type: array
  1881. images:
  1882. description: Images holds all images of application child resources.
  1883. items:
  1884. type: string
  1885. type: array
  1886. type: object
  1887. sync:
  1888. description: Sync contains information about the application's current
  1889. sync status
  1890. properties:
  1891. comparedTo:
  1892. description: ComparedTo contains information about what has been
  1893. compared
  1894. properties:
  1895. destination:
  1896. description: Destination is a reference to the application's
  1897. destination used for comparison
  1898. properties:
  1899. name:
  1900. description: Name is an alternate way of specifying the
  1901. target cluster by its symbolic name
  1902. type: string
  1903. namespace:
  1904. description: Namespace specifies the target namespace
  1905. for the application's resources. The namespace will
  1906. only be set for namespace-scoped resources that have
  1907. not set a value for .metadata.namespace
  1908. type: string
  1909. server:
  1910. description: Server specifies the URL of the target cluster
  1911. and must be set to the Kubernetes control plane API
  1912. type: string
  1913. type: object
  1914. source:
  1915. description: Source is a reference to the application's source
  1916. used for comparison
  1917. properties:
  1918. chart:
  1919. description: Chart is a Helm chart name, and must be specified
  1920. for applications sourced from a Helm repo.
  1921. type: string
  1922. directory:
  1923. description: Directory holds path/directory specific options
  1924. properties:
  1925. exclude:
  1926. description: Exclude contains a glob pattern to match
  1927. paths against that should be explicitly excluded
  1928. from being used during manifest generation
  1929. type: string
  1930. include:
  1931. description: Include contains a glob pattern to match
  1932. paths against that should be explicitly included
  1933. during manifest generation
  1934. type: string
  1935. jsonnet:
  1936. description: Jsonnet holds options specific to Jsonnet
  1937. properties:
  1938. extVars:
  1939. description: ExtVars is a list of Jsonnet External
  1940. Variables
  1941. items:
  1942. description: JsonnetVar represents a variable
  1943. to be passed to jsonnet during manifest generation
  1944. properties:
  1945. code:
  1946. type: boolean
  1947. name:
  1948. type: string
  1949. value:
  1950. type: string
  1951. required:
  1952. - name
  1953. - value
  1954. type: object
  1955. type: array
  1956. libs:
  1957. description: Additional library search dirs
  1958. items:
  1959. type: string
  1960. type: array
  1961. tlas:
  1962. description: TLAS is a list of Jsonnet Top-level
  1963. Arguments
  1964. items:
  1965. description: JsonnetVar represents a variable
  1966. to be passed to jsonnet during manifest generation
  1967. properties:
  1968. code:
  1969. type: boolean
  1970. name:
  1971. type: string
  1972. value:
  1973. type: string
  1974. required:
  1975. - name
  1976. - value
  1977. type: object
  1978. type: array
  1979. type: object
  1980. recurse:
  1981. description: Recurse specifies whether to scan a directory
  1982. recursively for manifests
  1983. type: boolean
  1984. type: object
  1985. helm:
  1986. description: Helm holds helm specific options
  1987. properties:
  1988. fileParameters:
  1989. description: FileParameters are file parameters to
  1990. the helm template
  1991. items:
  1992. description: HelmFileParameter is a file parameter
  1993. that's passed to helm template during manifest
  1994. generation
  1995. properties:
  1996. name:
  1997. description: Name is the name of the Helm parameter
  1998. type: string
  1999. path:
  2000. description: Path is the path to the file containing
  2001. the values for the Helm parameter
  2002. type: string
  2003. type: object
  2004. type: array
  2005. ignoreMissingValueFiles:
  2006. description: IgnoreMissingValueFiles prevents helm
  2007. template from failing when valueFiles do not exist
  2008. locally by not appending them to helm template --values
  2009. type: boolean
  2010. parameters:
  2011. description: Parameters is a list of Helm parameters
  2012. which are passed to the helm template command upon
  2013. manifest generation
  2014. items:
  2015. description: HelmParameter is a parameter that's
  2016. passed to helm template during manifest generation
  2017. properties:
  2018. forceString:
  2019. description: ForceString determines whether
  2020. to tell Helm to interpret booleans and numbers
  2021. as strings
  2022. type: boolean
  2023. name:
  2024. description: Name is the name of the Helm parameter
  2025. type: string
  2026. value:
  2027. description: Value is the value for the Helm
  2028. parameter
  2029. type: string
  2030. type: object
  2031. type: array
  2032. passCredentials:
  2033. description: PassCredentials pass credentials to all
  2034. domains (Helm's --pass-credentials)
  2035. type: boolean
  2036. releaseName:
  2037. description: ReleaseName is the Helm release name
  2038. to use. If omitted it will use the application name
  2039. type: string
  2040. skipCrds:
  2041. description: SkipCrds skips custom resource definition
  2042. installation step (Helm's --skip-crds)
  2043. type: boolean
  2044. valueFiles:
  2045. description: ValuesFiles is a list of Helm value files
  2046. to use when generating a template
  2047. items:
  2048. type: string
  2049. type: array
  2050. values:
  2051. description: Values specifies Helm values to be passed
  2052. to helm template, typically defined as a block
  2053. type: string
  2054. version:
  2055. description: Version is the Helm version to use for
  2056. templating ("3")
  2057. type: string
  2058. type: object
  2059. kustomize:
  2060. description: Kustomize holds kustomize specific options
  2061. properties:
  2062. commonAnnotations:
  2063. additionalProperties:
  2064. type: string
  2065. description: CommonAnnotations is a list of additional
  2066. annotations to add to rendered manifests
  2067. type: object
  2068. commonLabels:
  2069. additionalProperties:
  2070. type: string
  2071. description: CommonLabels is a list of additional
  2072. labels to add to rendered manifests
  2073. type: object
  2074. forceCommonAnnotations:
  2075. description: ForceCommonAnnotations specifies whether
  2076. to force applying common annotations to resources
  2077. for Kustomize apps
  2078. type: boolean
  2079. forceCommonLabels:
  2080. description: ForceCommonLabels specifies whether to
  2081. force applying common labels to resources for Kustomize
  2082. apps
  2083. type: boolean
  2084. images:
  2085. description: Images is a list of Kustomize image override
  2086. specifications
  2087. items:
  2088. description: KustomizeImage represents a Kustomize
  2089. image definition in the format [old_image_name=]<image_name>:<image_tag>
  2090. type: string
  2091. type: array
  2092. namePrefix:
  2093. description: NamePrefix is a prefix appended to resources
  2094. for Kustomize apps
  2095. type: string
  2096. nameSuffix:
  2097. description: NameSuffix is a suffix appended to resources
  2098. for Kustomize apps
  2099. type: string
  2100. version:
  2101. description: Version controls which version of Kustomize
  2102. to use for rendering manifests
  2103. type: string
  2104. type: object
  2105. path:
  2106. description: Path is a directory path within the Git repository,
  2107. and is only valid for applications sourced from Git.
  2108. type: string
  2109. plugin:
  2110. description: Plugin holds config management plugin specific
  2111. options
  2112. properties:
  2113. env:
  2114. description: Env is a list of environment variable
  2115. entries
  2116. items:
  2117. description: EnvEntry represents an entry in the
  2118. application's environment
  2119. properties:
  2120. name:
  2121. description: Name is the name of the variable,
  2122. usually expressed in uppercase
  2123. type: string
  2124. value:
  2125. description: Value is the value of the variable
  2126. type: string
  2127. required:
  2128. - name
  2129. - value
  2130. type: object
  2131. type: array
  2132. name:
  2133. type: string
  2134. type: object
  2135. repoURL:
  2136. description: RepoURL is the URL to the repository (Git
  2137. or Helm) that contains the application manifests
  2138. type: string
  2139. targetRevision:
  2140. description: TargetRevision defines the revision of the
  2141. source to sync the application to. In case of Git, this
  2142. can be commit, tag, or branch. If omitted, will equal
  2143. to HEAD. In case of Helm, this is a semver tag for the
  2144. Chart's version.
  2145. type: string
  2146. required:
  2147. - repoURL
  2148. type: object
  2149. required:
  2150. - destination
  2151. - source
  2152. type: object
  2153. revision:
  2154. description: Revision contains information about the revision
  2155. the comparison has been performed to
  2156. type: string
  2157. status:
  2158. description: Status is the sync state of the comparison
  2159. type: string
  2160. required:
  2161. - status
  2162. type: object
  2163. type: object
  2164. required:
  2165. - metadata
  2166. - spec
  2167. type: object
  2168. served: true
  2169. storage: true
  2170. subresources: {}
  2171. ---
  2172. apiVersion: apiextensions.k8s.io/v1
  2173. kind: CustomResourceDefinition
  2174. metadata:
  2175. labels:
  2176. app.kubernetes.io/name: applicationsets.argoproj.io
  2177. app.kubernetes.io/part-of: argocd
  2178. name: applicationsets.argoproj.io
  2179. spec:
  2180. group: argoproj.io
  2181. names:
  2182. kind: ApplicationSet
  2183. listKind: ApplicationSetList
  2184. plural: applicationsets
  2185. shortNames:
  2186. - appset
  2187. - appsets
  2188. singular: applicationset
  2189. scope: Namespaced
  2190. versions:
  2191. - name: v1alpha1
  2192. schema:
  2193. openAPIV3Schema:
  2194. properties:
  2195. apiVersion:
  2196. type: string
  2197. kind:
  2198. type: string
  2199. metadata:
  2200. type: object
  2201. spec:
  2202. properties:
  2203. generators:
  2204. items:
  2205. properties:
  2206. clusterDecisionResource:
  2207. properties:
  2208. configMapRef:
  2209. type: string
  2210. labelSelector:
  2211. properties:
  2212. matchExpressions:
  2213. items:
  2214. properties:
  2215. key:
  2216. type: string
  2217. operator:
  2218. type: string
  2219. values:
  2220. items:
  2221. type: string
  2222. type: array
  2223. required:
  2224. - key
  2225. - operator
  2226. type: object
  2227. type: array
  2228. matchLabels:
  2229. additionalProperties:
  2230. type: string
  2231. type: object
  2232. type: object
  2233. name:
  2234. type: string
  2235. requeueAfterSeconds:
  2236. format: int64
  2237. type: integer
  2238. template:
  2239. properties:
  2240. metadata:
  2241. properties:
  2242. annotations:
  2243. additionalProperties:
  2244. type: string
  2245. type: object
  2246. finalizers:
  2247. items:
  2248. type: string
  2249. type: array
  2250. labels:
  2251. additionalProperties:
  2252. type: string
  2253. type: object
  2254. name:
  2255. type: string
  2256. namespace:
  2257. type: string
  2258. type: object
  2259. spec:
  2260. properties:
  2261. destination:
  2262. properties:
  2263. name:
  2264. type: string
  2265. namespace:
  2266. type: string
  2267. server:
  2268. type: string
  2269. type: object
  2270. ignoreDifferences:
  2271. items:
  2272. properties:
  2273. group:
  2274. type: string
  2275. jqPathExpressions:
  2276. items:
  2277. type: string
  2278. type: array
  2279. jsonPointers:
  2280. items:
  2281. type: string
  2282. type: array
  2283. kind:
  2284. type: string
  2285. managedFieldsManagers:
  2286. items:
  2287. type: string
  2288. type: array
  2289. name:
  2290. type: string
  2291. namespace:
  2292. type: string
  2293. required:
  2294. - kind
  2295. type: object
  2296. type: array
  2297. info:
  2298. items:
  2299. properties:
  2300. name:
  2301. type: string
  2302. value:
  2303. type: string
  2304. required:
  2305. - name
  2306. - value
  2307. type: object
  2308. type: array
  2309. project:
  2310. type: string
  2311. revisionHistoryLimit:
  2312. format: int64
  2313. type: integer
  2314. source:
  2315. properties:
  2316. chart:
  2317. type: string
  2318. directory:
  2319. properties:
  2320. exclude:
  2321. type: string
  2322. include:
  2323. type: string
  2324. jsonnet:
  2325. properties:
  2326. extVars:
  2327. items:
  2328. properties:
  2329. code:
  2330. type: boolean
  2331. name:
  2332. type: string
  2333. value:
  2334. type: string
  2335. required:
  2336. - name
  2337. - value
  2338. type: object
  2339. type: array
  2340. libs:
  2341. items:
  2342. type: string
  2343. type: array
  2344. tlas:
  2345. items:
  2346. properties:
  2347. code:
  2348. type: boolean
  2349. name:
  2350. type: string
  2351. value:
  2352. type: string
  2353. required:
  2354. - name
  2355. - value
  2356. type: object
  2357. type: array
  2358. type: object
  2359. recurse:
  2360. type: boolean
  2361. type: object
  2362. helm:
  2363. properties:
  2364. fileParameters:
  2365. items:
  2366. properties:
  2367. name:
  2368. type: string
  2369. path:
  2370. type: string
  2371. type: object
  2372. type: array
  2373. ignoreMissingValueFiles:
  2374. type: boolean
  2375. parameters:
  2376. items:
  2377. properties:
  2378. forceString:
  2379. type: boolean
  2380. name:
  2381. type: string
  2382. value:
  2383. type: string
  2384. type: object
  2385. type: array
  2386. passCredentials:
  2387. type: boolean
  2388. releaseName:
  2389. type: string
  2390. skipCrds:
  2391. type: boolean
  2392. valueFiles:
  2393. items:
  2394. type: string
  2395. type: array
  2396. values:
  2397. type: string
  2398. version:
  2399. type: string
  2400. type: object
  2401. kustomize:
  2402. properties:
  2403. commonAnnotations:
  2404. additionalProperties:
  2405. type: string
  2406. type: object
  2407. commonLabels:
  2408. additionalProperties:
  2409. type: string
  2410. type: object
  2411. forceCommonAnnotations:
  2412. type: boolean
  2413. forceCommonLabels:
  2414. type: boolean
  2415. images:
  2416. items:
  2417. type: string
  2418. type: array
  2419. namePrefix:
  2420. type: string
  2421. nameSuffix:
  2422. type: string
  2423. version:
  2424. type: string
  2425. type: object
  2426. path:
  2427. type: string
  2428. plugin:
  2429. properties:
  2430. env:
  2431. items:
  2432. properties:
  2433. name:
  2434. type: string
  2435. value:
  2436. type: string
  2437. required:
  2438. - name
  2439. - value
  2440. type: object
  2441. type: array
  2442. name:
  2443. type: string
  2444. type: object
  2445. repoURL:
  2446. type: string
  2447. targetRevision:
  2448. type: string
  2449. required:
  2450. - repoURL
  2451. type: object
  2452. syncPolicy:
  2453. properties:
  2454. automated:
  2455. properties:
  2456. allowEmpty:
  2457. type: boolean
  2458. prune:
  2459. type: boolean
  2460. selfHeal:
  2461. type: boolean
  2462. type: object
  2463. managedNamespaceMetadata:
  2464. properties:
  2465. annotations:
  2466. additionalProperties:
  2467. type: string
  2468. type: object
  2469. labels:
  2470. additionalProperties:
  2471. type: string
  2472. type: object
  2473. type: object
  2474. retry:
  2475. properties:
  2476. backoff:
  2477. properties:
  2478. duration:
  2479. type: string
  2480. factor:
  2481. format: int64
  2482. type: integer
  2483. maxDuration:
  2484. type: string
  2485. type: object
  2486. limit:
  2487. format: int64
  2488. type: integer
  2489. type: object
  2490. syncOptions:
  2491. items:
  2492. type: string
  2493. type: array
  2494. type: object
  2495. required:
  2496. - destination
  2497. - project
  2498. - source
  2499. type: object
  2500. required:
  2501. - metadata
  2502. - spec
  2503. type: object
  2504. values:
  2505. additionalProperties:
  2506. type: string
  2507. type: object
  2508. required:
  2509. - configMapRef
  2510. type: object
  2511. clusters:
  2512. properties:
  2513. selector:
  2514. properties:
  2515. matchExpressions:
  2516. items:
  2517. properties:
  2518. key:
  2519. type: string
  2520. operator:
  2521. type: string
  2522. values:
  2523. items:
  2524. type: string
  2525. type: array
  2526. required:
  2527. - key
  2528. - operator
  2529. type: object
  2530. type: array
  2531. matchLabels:
  2532. additionalProperties:
  2533. type: string
  2534. type: object
  2535. type: object
  2536. template:
  2537. properties:
  2538. metadata:
  2539. properties:
  2540. annotations:
  2541. additionalProperties:
  2542. type: string
  2543. type: object
  2544. finalizers:
  2545. items:
  2546. type: string
  2547. type: array
  2548. labels:
  2549. additionalProperties:
  2550. type: string
  2551. type: object
  2552. name:
  2553. type: string
  2554. namespace:
  2555. type: string
  2556. type: object
  2557. spec:
  2558. properties:
  2559. destination:
  2560. properties:
  2561. name:
  2562. type: string
  2563. namespace:
  2564. type: string
  2565. server:
  2566. type: string
  2567. type: object
  2568. ignoreDifferences:
  2569. items:
  2570. properties:
  2571. group:
  2572. type: string
  2573. jqPathExpressions:
  2574. items:
  2575. type: string
  2576. type: array
  2577. jsonPointers:
  2578. items:
  2579. type: string
  2580. type: array
  2581. kind:
  2582. type: string
  2583. managedFieldsManagers:
  2584. items:
  2585. type: string
  2586. type: array
  2587. name:
  2588. type: string
  2589. namespace:
  2590. type: string
  2591. required:
  2592. - kind
  2593. type: object
  2594. type: array
  2595. info:
  2596. items:
  2597. properties:
  2598. name:
  2599. type: string
  2600. value:
  2601. type: string
  2602. required:
  2603. - name
  2604. - value
  2605. type: object
  2606. type: array
  2607. project:
  2608. type: string
  2609. revisionHistoryLimit:
  2610. format: int64
  2611. type: integer
  2612. source:
  2613. properties:
  2614. chart:
  2615. type: string
  2616. directory:
  2617. properties:
  2618. exclude:
  2619. type: string
  2620. include:
  2621. type: string
  2622. jsonnet:
  2623. properties:
  2624. extVars:
  2625. items:
  2626. properties:
  2627. code:
  2628. type: boolean
  2629. name:
  2630. type: string
  2631. value:
  2632. type: string
  2633. required:
  2634. - name
  2635. - value
  2636. type: object
  2637. type: array
  2638. libs:
  2639. items:
  2640. type: string
  2641. type: array
  2642. tlas:
  2643. items:
  2644. properties:
  2645. code:
  2646. type: boolean
  2647. name:
  2648. type: string
  2649. value:
  2650. type: string
  2651. required:
  2652. - name
  2653. - value
  2654. type: object
  2655. type: array
  2656. type: object
  2657. recurse:
  2658. type: boolean
  2659. type: object
  2660. helm:
  2661. properties:
  2662. fileParameters:
  2663. items:
  2664. properties:
  2665. name:
  2666. type: string
  2667. path:
  2668. type: string
  2669. type: object
  2670. type: array
  2671. ignoreMissingValueFiles:
  2672. type: boolean
  2673. parameters:
  2674. items:
  2675. properties:
  2676. forceString:
  2677. type: boolean
  2678. name:
  2679. type: string
  2680. value:
  2681. type: string
  2682. type: object
  2683. type: array
  2684. passCredentials:
  2685. type: boolean
  2686. releaseName:
  2687. type: string
  2688. skipCrds:
  2689. type: boolean
  2690. valueFiles:
  2691. items:
  2692. type: string
  2693. type: array
  2694. values:
  2695. type: string
  2696. version:
  2697. type: string
  2698. type: object
  2699. kustomize:
  2700. properties:
  2701. commonAnnotations:
  2702. additionalProperties:
  2703. type: string
  2704. type: object
  2705. commonLabels:
  2706. additionalProperties:
  2707. type: string
  2708. type: object
  2709. forceCommonAnnotations:
  2710. type: boolean
  2711. forceCommonLabels:
  2712. type: boolean
  2713. images:
  2714. items:
  2715. type: string
  2716. type: array
  2717. namePrefix:
  2718. type: string
  2719. nameSuffix:
  2720. type: string
  2721. version:
  2722. type: string
  2723. type: object
  2724. path:
  2725. type: string
  2726. plugin:
  2727. properties:
  2728. env:
  2729. items:
  2730. properties:
  2731. name:
  2732. type: string
  2733. value:
  2734. type: string
  2735. required:
  2736. - name
  2737. - value
  2738. type: object
  2739. type: array
  2740. name:
  2741. type: string
  2742. type: object
  2743. repoURL:
  2744. type: string
  2745. targetRevision:
  2746. type: string
  2747. required:
  2748. - repoURL
  2749. type: object
  2750. syncPolicy:
  2751. properties:
  2752. automated:
  2753. properties:
  2754. allowEmpty:
  2755. type: boolean
  2756. prune:
  2757. type: boolean
  2758. selfHeal:
  2759. type: boolean
  2760. type: object
  2761. managedNamespaceMetadata:
  2762. properties:
  2763. annotations:
  2764. additionalProperties:
  2765. type: string
  2766. type: object
  2767. labels:
  2768. additionalProperties:
  2769. type: string
  2770. type: object
  2771. type: object
  2772. retry:
  2773. properties:
  2774. backoff:
  2775. properties:
  2776. duration:
  2777. type: string
  2778. factor:
  2779. format: int64
  2780. type: integer
  2781. maxDuration:
  2782. type: string
  2783. type: object
  2784. limit:
  2785. format: int64
  2786. type: integer
  2787. type: object
  2788. syncOptions:
  2789. items:
  2790. type: string
  2791. type: array
  2792. type: object
  2793. required:
  2794. - destination
  2795. - project
  2796. - source
  2797. type: object
  2798. required:
  2799. - metadata
  2800. - spec
  2801. type: object
  2802. values:
  2803. additionalProperties:
  2804. type: string
  2805. type: object
  2806. type: object
  2807. git:
  2808. properties:
  2809. directories:
  2810. items:
  2811. properties:
  2812. exclude:
  2813. type: boolean
  2814. path:
  2815. type: string
  2816. required:
  2817. - path
  2818. type: object
  2819. type: array
  2820. files:
  2821. items:
  2822. properties:
  2823. path:
  2824. type: string
  2825. required:
  2826. - path
  2827. type: object
  2828. type: array
  2829. repoURL:
  2830. type: string
  2831. requeueAfterSeconds:
  2832. format: int64
  2833. type: integer
  2834. revision:
  2835. type: string
  2836. template:
  2837. properties:
  2838. metadata:
  2839. properties:
  2840. annotations:
  2841. additionalProperties:
  2842. type: string
  2843. type: object
  2844. finalizers:
  2845. items:
  2846. type: string
  2847. type: array
  2848. labels:
  2849. additionalProperties:
  2850. type: string
  2851. type: object
  2852. name:
  2853. type: string
  2854. namespace:
  2855. type: string
  2856. type: object
  2857. spec:
  2858. properties:
  2859. destination:
  2860. properties:
  2861. name:
  2862. type: string
  2863. namespace:
  2864. type: string
  2865. server:
  2866. type: string
  2867. type: object
  2868. ignoreDifferences:
  2869. items:
  2870. properties:
  2871. group:
  2872. type: string
  2873. jqPathExpressions:
  2874. items:
  2875. type: string
  2876. type: array
  2877. jsonPointers:
  2878. items:
  2879. type: string
  2880. type: array
  2881. kind:
  2882. type: string
  2883. managedFieldsManagers:
  2884. items:
  2885. type: string
  2886. type: array
  2887. name:
  2888. type: string
  2889. namespace:
  2890. type: string
  2891. required:
  2892. - kind
  2893. type: object
  2894. type: array
  2895. info:
  2896. items:
  2897. properties:
  2898. name:
  2899. type: string
  2900. value:
  2901. type: string
  2902. required:
  2903. - name
  2904. - value
  2905. type: object
  2906. type: array
  2907. project:
  2908. type: string
  2909. revisionHistoryLimit:
  2910. format: int64
  2911. type: integer
  2912. source:
  2913. properties:
  2914. chart:
  2915. type: string
  2916. directory:
  2917. properties:
  2918. exclude:
  2919. type: string
  2920. include:
  2921. type: string
  2922. jsonnet:
  2923. properties:
  2924. extVars:
  2925. items:
  2926. properties:
  2927. code:
  2928. type: boolean
  2929. name:
  2930. type: string
  2931. value:
  2932. type: string
  2933. required:
  2934. - name
  2935. - value
  2936. type: object
  2937. type: array
  2938. libs:
  2939. items:
  2940. type: string
  2941. type: array
  2942. tlas:
  2943. items:
  2944. properties:
  2945. code:
  2946. type: boolean
  2947. name:
  2948. type: string
  2949. value:
  2950. type: string
  2951. required:
  2952. - name
  2953. - value
  2954. type: object
  2955. type: array
  2956. type: object
  2957. recurse:
  2958. type: boolean
  2959. type: object
  2960. helm:
  2961. properties:
  2962. fileParameters:
  2963. items:
  2964. properties:
  2965. name:
  2966. type: string
  2967. path:
  2968. type: string
  2969. type: object
  2970. type: array
  2971. ignoreMissingValueFiles:
  2972. type: boolean
  2973. parameters:
  2974. items:
  2975. properties:
  2976. forceString:
  2977. type: boolean
  2978. name:
  2979. type: string
  2980. value:
  2981. type: string
  2982. type: object
  2983. type: array
  2984. passCredentials:
  2985. type: boolean
  2986. releaseName:
  2987. type: string
  2988. skipCrds:
  2989. type: boolean
  2990. valueFiles:
  2991. items:
  2992. type: string
  2993. type: array
  2994. values:
  2995. type: string
  2996. version:
  2997. type: string
  2998. type: object
  2999. kustomize:
  3000. properties:
  3001. commonAnnotations:
  3002. additionalProperties:
  3003. type: string
  3004. type: object
  3005. commonLabels:
  3006. additionalProperties:
  3007. type: string
  3008. type: object
  3009. forceCommonAnnotations:
  3010. type: boolean
  3011. forceCommonLabels:
  3012. type: boolean
  3013. images:
  3014. items:
  3015. type: string
  3016. type: array
  3017. namePrefix:
  3018. type: string
  3019. nameSuffix:
  3020. type: string
  3021. version:
  3022. type: string
  3023. type: object
  3024. path:
  3025. type: string
  3026. plugin:
  3027. properties:
  3028. env:
  3029. items:
  3030. properties:
  3031. name:
  3032. type: string
  3033. value:
  3034. type: string
  3035. required:
  3036. - name
  3037. - value
  3038. type: object
  3039. type: array
  3040. name:
  3041. type: string
  3042. type: object
  3043. repoURL:
  3044. type: string
  3045. targetRevision:
  3046. type: string
  3047. required:
  3048. - repoURL
  3049. type: object
  3050. syncPolicy:
  3051. properties:
  3052. automated:
  3053. properties:
  3054. allowEmpty:
  3055. type: boolean
  3056. prune:
  3057. type: boolean
  3058. selfHeal:
  3059. type: boolean
  3060. type: object
  3061. managedNamespaceMetadata:
  3062. properties:
  3063. annotations:
  3064. additionalProperties:
  3065. type: string
  3066. type: object
  3067. labels:
  3068. additionalProperties:
  3069. type: string
  3070. type: object
  3071. type: object
  3072. retry:
  3073. properties:
  3074. backoff:
  3075. properties:
  3076. duration:
  3077. type: string
  3078. factor:
  3079. format: int64
  3080. type: integer
  3081. maxDuration:
  3082. type: string
  3083. type: object
  3084. limit:
  3085. format: int64
  3086. type: integer
  3087. type: object
  3088. syncOptions:
  3089. items:
  3090. type: string
  3091. type: array
  3092. type: object
  3093. required:
  3094. - destination
  3095. - project
  3096. - source
  3097. type: object
  3098. required:
  3099. - metadata
  3100. - spec
  3101. type: object
  3102. required:
  3103. - repoURL
  3104. - revision
  3105. type: object
  3106. list:
  3107. properties:
  3108. elements:
  3109. items:
  3110. x-kubernetes-preserve-unknown-fields: true
  3111. type: array
  3112. template:
  3113. properties:
  3114. metadata:
  3115. properties:
  3116. annotations:
  3117. additionalProperties:
  3118. type: string
  3119. type: object
  3120. finalizers:
  3121. items:
  3122. type: string
  3123. type: array
  3124. labels:
  3125. additionalProperties:
  3126. type: string
  3127. type: object
  3128. name:
  3129. type: string
  3130. namespace:
  3131. type: string
  3132. type: object
  3133. spec:
  3134. properties:
  3135. destination:
  3136. properties:
  3137. name:
  3138. type: string
  3139. namespace:
  3140. type: string
  3141. server:
  3142. type: string
  3143. type: object
  3144. ignoreDifferences:
  3145. items:
  3146. properties:
  3147. group:
  3148. type: string
  3149. jqPathExpressions:
  3150. items:
  3151. type: string
  3152. type: array
  3153. jsonPointers:
  3154. items:
  3155. type: string
  3156. type: array
  3157. kind:
  3158. type: string
  3159. managedFieldsManagers:
  3160. items:
  3161. type: string
  3162. type: array
  3163. name:
  3164. type: string
  3165. namespace:
  3166. type: string
  3167. required:
  3168. - kind
  3169. type: object
  3170. type: array
  3171. info:
  3172. items:
  3173. properties:
  3174. name:
  3175. type: string
  3176. value:
  3177. type: string
  3178. required:
  3179. - name
  3180. - value
  3181. type: object
  3182. type: array
  3183. project:
  3184. type: string
  3185. revisionHistoryLimit:
  3186. format: int64
  3187. type: integer
  3188. source:
  3189. properties:
  3190. chart:
  3191. type: string
  3192. directory:
  3193. properties:
  3194. exclude:
  3195. type: string
  3196. include:
  3197. type: string
  3198. jsonnet:
  3199. properties:
  3200. extVars:
  3201. items:
  3202. properties:
  3203. code:
  3204. type: boolean
  3205. name:
  3206. type: string
  3207. value:
  3208. type: string
  3209. required:
  3210. - name
  3211. - value
  3212. type: object
  3213. type: array
  3214. libs:
  3215. items:
  3216. type: string
  3217. type: array
  3218. tlas:
  3219. items:
  3220. properties:
  3221. code:
  3222. type: boolean
  3223. name:
  3224. type: string
  3225. value:
  3226. type: string
  3227. required:
  3228. - name
  3229. - value
  3230. type: object
  3231. type: array
  3232. type: object
  3233. recurse:
  3234. type: boolean
  3235. type: object
  3236. helm:
  3237. properties:
  3238. fileParameters:
  3239. items:
  3240. properties:
  3241. name:
  3242. type: string
  3243. path:
  3244. type: string
  3245. type: object
  3246. type: array
  3247. ignoreMissingValueFiles:
  3248. type: boolean
  3249. parameters:
  3250. items:
  3251. properties:
  3252. forceString:
  3253. type: boolean
  3254. name:
  3255. type: string
  3256. value:
  3257. type: string
  3258. type: object
  3259. type: array
  3260. passCredentials:
  3261. type: boolean
  3262. releaseName:
  3263. type: string
  3264. skipCrds:
  3265. type: boolean
  3266. valueFiles:
  3267. items:
  3268. type: string
  3269. type: array
  3270. values:
  3271. type: string
  3272. version:
  3273. type: string
  3274. type: object
  3275. kustomize:
  3276. properties:
  3277. commonAnnotations:
  3278. additionalProperties:
  3279. type: string
  3280. type: object
  3281. commonLabels:
  3282. additionalProperties:
  3283. type: string
  3284. type: object
  3285. forceCommonAnnotations:
  3286. type: boolean
  3287. forceCommonLabels:
  3288. type: boolean
  3289. images:
  3290. items:
  3291. type: string
  3292. type: array
  3293. namePrefix:
  3294. type: string
  3295. nameSuffix:
  3296. type: string
  3297. version:
  3298. type: string
  3299. type: object
  3300. path:
  3301. type: string
  3302. plugin:
  3303. properties:
  3304. env:
  3305. items:
  3306. properties:
  3307. name:
  3308. type: string
  3309. value:
  3310. type: string
  3311. required:
  3312. - name
  3313. - value
  3314. type: object
  3315. type: array
  3316. name:
  3317. type: string
  3318. type: object
  3319. repoURL:
  3320. type: string
  3321. targetRevision:
  3322. type: string
  3323. required:
  3324. - repoURL
  3325. type: object
  3326. syncPolicy:
  3327. properties:
  3328. automated:
  3329. properties:
  3330. allowEmpty:
  3331. type: boolean
  3332. prune:
  3333. type: boolean
  3334. selfHeal:
  3335. type: boolean
  3336. type: object
  3337. managedNamespaceMetadata:
  3338. properties:
  3339. annotations:
  3340. additionalProperties:
  3341. type: string
  3342. type: object
  3343. labels:
  3344. additionalProperties:
  3345. type: string
  3346. type: object
  3347. type: object
  3348. retry:
  3349. properties:
  3350. backoff:
  3351. properties:
  3352. duration:
  3353. type: string
  3354. factor:
  3355. format: int64
  3356. type: integer
  3357. maxDuration:
  3358. type: string
  3359. type: object
  3360. limit:
  3361. format: int64
  3362. type: integer
  3363. type: object
  3364. syncOptions:
  3365. items:
  3366. type: string
  3367. type: array
  3368. type: object
  3369. required:
  3370. - destination
  3371. - project
  3372. - source
  3373. type: object
  3374. required:
  3375. - metadata
  3376. - spec
  3377. type: object
  3378. required:
  3379. - elements
  3380. type: object
  3381. matrix:
  3382. properties:
  3383. generators:
  3384. items:
  3385. properties:
  3386. clusterDecisionResource:
  3387. properties:
  3388. configMapRef:
  3389. type: string
  3390. labelSelector:
  3391. properties:
  3392. matchExpressions:
  3393. items:
  3394. properties:
  3395. key:
  3396. type: string
  3397. operator:
  3398. type: string
  3399. values:
  3400. items:
  3401. type: string
  3402. type: array
  3403. required:
  3404. - key
  3405. - operator
  3406. type: object
  3407. type: array
  3408. matchLabels:
  3409. additionalProperties:
  3410. type: string
  3411. type: object
  3412. type: object
  3413. name:
  3414. type: string
  3415. requeueAfterSeconds:
  3416. format: int64
  3417. type: integer
  3418. template:
  3419. properties:
  3420. metadata:
  3421. properties:
  3422. annotations:
  3423. additionalProperties:
  3424. type: string
  3425. type: object
  3426. finalizers:
  3427. items:
  3428. type: string
  3429. type: array
  3430. labels:
  3431. additionalProperties:
  3432. type: string
  3433. type: object
  3434. name:
  3435. type: string
  3436. namespace:
  3437. type: string
  3438. type: object
  3439. spec:
  3440. properties:
  3441. destination:
  3442. properties:
  3443. name:
  3444. type: string
  3445. namespace:
  3446. type: string
  3447. server:
  3448. type: string
  3449. type: object
  3450. ignoreDifferences:
  3451. items:
  3452. properties:
  3453. group:
  3454. type: string
  3455. jqPathExpressions:
  3456. items:
  3457. type: string
  3458. type: array
  3459. jsonPointers:
  3460. items:
  3461. type: string
  3462. type: array
  3463. kind:
  3464. type: string
  3465. managedFieldsManagers:
  3466. items:
  3467. type: string
  3468. type: array
  3469. name:
  3470. type: string
  3471. namespace:
  3472. type: string
  3473. required:
  3474. - kind
  3475. type: object
  3476. type: array
  3477. info:
  3478. items:
  3479. properties:
  3480. name:
  3481. type: string
  3482. value:
  3483. type: string
  3484. required:
  3485. - name
  3486. - value
  3487. type: object
  3488. type: array
  3489. project:
  3490. type: string
  3491. revisionHistoryLimit:
  3492. format: int64
  3493. type: integer
  3494. source:
  3495. properties:
  3496. chart:
  3497. type: string
  3498. directory:
  3499. properties:
  3500. exclude:
  3501. type: string
  3502. include:
  3503. type: string
  3504. jsonnet:
  3505. properties:
  3506. extVars:
  3507. items:
  3508. properties:
  3509. code:
  3510. type: boolean
  3511. name:
  3512. type: string
  3513. value:
  3514. type: string
  3515. required:
  3516. - name
  3517. - value
  3518. type: object
  3519. type: array
  3520. libs:
  3521. items:
  3522. type: string
  3523. type: array
  3524. tlas:
  3525. items:
  3526. properties:
  3527. code:
  3528. type: boolean
  3529. name:
  3530. type: string
  3531. value:
  3532. type: string
  3533. required:
  3534. - name
  3535. - value
  3536. type: object
  3537. type: array
  3538. type: object
  3539. recurse:
  3540. type: boolean
  3541. type: object
  3542. helm:
  3543. properties:
  3544. fileParameters:
  3545. items:
  3546. properties:
  3547. name:
  3548. type: string
  3549. path:
  3550. type: string
  3551. type: object
  3552. type: array
  3553. ignoreMissingValueFiles:
  3554. type: boolean
  3555. parameters:
  3556. items:
  3557. properties:
  3558. forceString:
  3559. type: boolean
  3560. name:
  3561. type: string
  3562. value:
  3563. type: string
  3564. type: object
  3565. type: array
  3566. passCredentials:
  3567. type: boolean
  3568. releaseName:
  3569. type: string
  3570. skipCrds:
  3571. type: boolean
  3572. valueFiles:
  3573. items:
  3574. type: string
  3575. type: array
  3576. values:
  3577. type: string
  3578. version:
  3579. type: string
  3580. type: object
  3581. kustomize:
  3582. properties:
  3583. commonAnnotations:
  3584. additionalProperties:
  3585. type: string
  3586. type: object
  3587. commonLabels:
  3588. additionalProperties:
  3589. type: string
  3590. type: object
  3591. forceCommonAnnotations:
  3592. type: boolean
  3593. forceCommonLabels:
  3594. type: boolean
  3595. images:
  3596. items:
  3597. type: string
  3598. type: array
  3599. namePrefix:
  3600. type: string
  3601. nameSuffix:
  3602. type: string
  3603. version:
  3604. type: string
  3605. type: object
  3606. path:
  3607. type: string
  3608. plugin:
  3609. properties:
  3610. env:
  3611. items:
  3612. properties:
  3613. name:
  3614. type: string
  3615. value:
  3616. type: string
  3617. required:
  3618. - name
  3619. - value
  3620. type: object
  3621. type: array
  3622. name:
  3623. type: string
  3624. type: object
  3625. repoURL:
  3626. type: string
  3627. targetRevision:
  3628. type: string
  3629. required:
  3630. - repoURL
  3631. type: object
  3632. syncPolicy:
  3633. properties:
  3634. automated:
  3635. properties:
  3636. allowEmpty:
  3637. type: boolean
  3638. prune:
  3639. type: boolean
  3640. selfHeal:
  3641. type: boolean
  3642. type: object
  3643. managedNamespaceMetadata:
  3644. properties:
  3645. annotations:
  3646. additionalProperties:
  3647. type: string
  3648. type: object
  3649. labels:
  3650. additionalProperties:
  3651. type: string
  3652. type: object
  3653. type: object
  3654. retry:
  3655. properties:
  3656. backoff:
  3657. properties:
  3658. duration:
  3659. type: string
  3660. factor:
  3661. format: int64
  3662. type: integer
  3663. maxDuration:
  3664. type: string
  3665. type: object
  3666. limit:
  3667. format: int64
  3668. type: integer
  3669. type: object
  3670. syncOptions:
  3671. items:
  3672. type: string
  3673. type: array
  3674. type: object
  3675. required:
  3676. - destination
  3677. - project
  3678. - source
  3679. type: object
  3680. required:
  3681. - metadata
  3682. - spec
  3683. type: object
  3684. values:
  3685. additionalProperties:
  3686. type: string
  3687. type: object
  3688. required:
  3689. - configMapRef
  3690. type: object
  3691. clusters:
  3692. properties:
  3693. selector:
  3694. properties:
  3695. matchExpressions:
  3696. items:
  3697. properties:
  3698. key:
  3699. type: string
  3700. operator:
  3701. type: string
  3702. values:
  3703. items:
  3704. type: string
  3705. type: array
  3706. required:
  3707. - key
  3708. - operator
  3709. type: object
  3710. type: array
  3711. matchLabels:
  3712. additionalProperties:
  3713. type: string
  3714. type: object
  3715. type: object
  3716. template:
  3717. properties:
  3718. metadata:
  3719. properties:
  3720. annotations:
  3721. additionalProperties:
  3722. type: string
  3723. type: object
  3724. finalizers:
  3725. items:
  3726. type: string
  3727. type: array
  3728. labels:
  3729. additionalProperties:
  3730. type: string
  3731. type: object
  3732. name:
  3733. type: string
  3734. namespace:
  3735. type: string
  3736. type: object
  3737. spec:
  3738. properties:
  3739. destination:
  3740. properties:
  3741. name:
  3742. type: string
  3743. namespace:
  3744. type: string
  3745. server:
  3746. type: string
  3747. type: object
  3748. ignoreDifferences:
  3749. items:
  3750. properties:
  3751. group:
  3752. type: string
  3753. jqPathExpressions:
  3754. items:
  3755. type: string
  3756. type: array
  3757. jsonPointers:
  3758. items:
  3759. type: string
  3760. type: array
  3761. kind:
  3762. type: string
  3763. managedFieldsManagers:
  3764. items:
  3765. type: string
  3766. type: array
  3767. name:
  3768. type: string
  3769. namespace:
  3770. type: string
  3771. required:
  3772. - kind
  3773. type: object
  3774. type: array
  3775. info:
  3776. items:
  3777. properties:
  3778. name:
  3779. type: string
  3780. value:
  3781. type: string
  3782. required:
  3783. - name
  3784. - value
  3785. type: object
  3786. type: array
  3787. project:
  3788. type: string
  3789. revisionHistoryLimit:
  3790. format: int64
  3791. type: integer
  3792. source:
  3793. properties:
  3794. chart:
  3795. type: string
  3796. directory:
  3797. properties:
  3798. exclude:
  3799. type: string
  3800. include:
  3801. type: string
  3802. jsonnet:
  3803. properties:
  3804. extVars:
  3805. items:
  3806. properties:
  3807. code:
  3808. type: boolean
  3809. name:
  3810. type: string
  3811. value:
  3812. type: string
  3813. required:
  3814. - name
  3815. - value
  3816. type: object
  3817. type: array
  3818. libs:
  3819. items:
  3820. type: string
  3821. type: array
  3822. tlas:
  3823. items:
  3824. properties:
  3825. code:
  3826. type: boolean
  3827. name:
  3828. type: string
  3829. value:
  3830. type: string
  3831. required:
  3832. - name
  3833. - value
  3834. type: object
  3835. type: array
  3836. type: object
  3837. recurse:
  3838. type: boolean
  3839. type: object
  3840. helm:
  3841. properties:
  3842. fileParameters:
  3843. items:
  3844. properties:
  3845. name:
  3846. type: string
  3847. path:
  3848. type: string
  3849. type: object
  3850. type: array
  3851. ignoreMissingValueFiles:
  3852. type: boolean
  3853. parameters:
  3854. items:
  3855. properties:
  3856. forceString:
  3857. type: boolean
  3858. name:
  3859. type: string
  3860. value:
  3861. type: string
  3862. type: object
  3863. type: array
  3864. passCredentials:
  3865. type: boolean
  3866. releaseName:
  3867. type: string
  3868. skipCrds:
  3869. type: boolean
  3870. valueFiles:
  3871. items:
  3872. type: string
  3873. type: array
  3874. values:
  3875. type: string
  3876. version:
  3877. type: string
  3878. type: object
  3879. kustomize:
  3880. properties:
  3881. commonAnnotations:
  3882. additionalProperties:
  3883. type: string
  3884. type: object
  3885. commonLabels:
  3886. additionalProperties:
  3887. type: string
  3888. type: object
  3889. forceCommonAnnotations:
  3890. type: boolean
  3891. forceCommonLabels:
  3892. type: boolean
  3893. images:
  3894. items:
  3895. type: string
  3896. type: array
  3897. namePrefix:
  3898. type: string
  3899. nameSuffix:
  3900. type: string
  3901. version:
  3902. type: string
  3903. type: object
  3904. path:
  3905. type: string
  3906. plugin:
  3907. properties:
  3908. env:
  3909. items:
  3910. properties:
  3911. name:
  3912. type: string
  3913. value:
  3914. type: string
  3915. required:
  3916. - name
  3917. - value
  3918. type: object
  3919. type: array
  3920. name:
  3921. type: string
  3922. type: object
  3923. repoURL:
  3924. type: string
  3925. targetRevision:
  3926. type: string
  3927. required:
  3928. - repoURL
  3929. type: object
  3930. syncPolicy:
  3931. properties:
  3932. automated:
  3933. properties:
  3934. allowEmpty:
  3935. type: boolean
  3936. prune:
  3937. type: boolean
  3938. selfHeal:
  3939. type: boolean
  3940. type: object
  3941. managedNamespaceMetadata:
  3942. properties:
  3943. annotations:
  3944. additionalProperties:
  3945. type: string
  3946. type: object
  3947. labels:
  3948. additionalProperties:
  3949. type: string
  3950. type: object
  3951. type: object
  3952. retry:
  3953. properties:
  3954. backoff:
  3955. properties:
  3956. duration:
  3957. type: string
  3958. factor:
  3959. format: int64
  3960. type: integer
  3961. maxDuration:
  3962. type: string
  3963. type: object
  3964. limit:
  3965. format: int64
  3966. type: integer
  3967. type: object
  3968. syncOptions:
  3969. items:
  3970. type: string
  3971. type: array
  3972. type: object
  3973. required:
  3974. - destination
  3975. - project
  3976. - source
  3977. type: object
  3978. required:
  3979. - metadata
  3980. - spec
  3981. type: object
  3982. values:
  3983. additionalProperties:
  3984. type: string
  3985. type: object
  3986. type: object
  3987. git:
  3988. properties:
  3989. directories:
  3990. items:
  3991. properties:
  3992. exclude:
  3993. type: boolean
  3994. path:
  3995. type: string
  3996. required:
  3997. - path
  3998. type: object
  3999. type: array
  4000. files:
  4001. items:
  4002. properties:
  4003. path:
  4004. type: string
  4005. required:
  4006. - path
  4007. type: object
  4008. type: array
  4009. repoURL:
  4010. type: string
  4011. requeueAfterSeconds:
  4012. format: int64
  4013. type: integer
  4014. revision:
  4015. type: string
  4016. template:
  4017. properties:
  4018. metadata:
  4019. properties:
  4020. annotations:
  4021. additionalProperties:
  4022. type: string
  4023. type: object
  4024. finalizers:
  4025. items:
  4026. type: string
  4027. type: array
  4028. labels:
  4029. additionalProperties:
  4030. type: string
  4031. type: object
  4032. name:
  4033. type: string
  4034. namespace:
  4035. type: string
  4036. type: object
  4037. spec:
  4038. properties:
  4039. destination:
  4040. properties:
  4041. name:
  4042. type: string
  4043. namespace:
  4044. type: string
  4045. server:
  4046. type: string
  4047. type: object
  4048. ignoreDifferences:
  4049. items:
  4050. properties:
  4051. group:
  4052. type: string
  4053. jqPathExpressions:
  4054. items:
  4055. type: string
  4056. type: array
  4057. jsonPointers:
  4058. items:
  4059. type: string
  4060. type: array
  4061. kind:
  4062. type: string
  4063. managedFieldsManagers:
  4064. items:
  4065. type: string
  4066. type: array
  4067. name:
  4068. type: string
  4069. namespace:
  4070. type: string
  4071. required:
  4072. - kind
  4073. type: object
  4074. type: array
  4075. info:
  4076. items:
  4077. properties:
  4078. name:
  4079. type: string
  4080. value:
  4081. type: string
  4082. required:
  4083. - name
  4084. - value
  4085. type: object
  4086. type: array
  4087. project:
  4088. type: string
  4089. revisionHistoryLimit:
  4090. format: int64
  4091. type: integer
  4092. source:
  4093. properties:
  4094. chart:
  4095. type: string
  4096. directory:
  4097. properties:
  4098. exclude:
  4099. type: string
  4100. include:
  4101. type: string
  4102. jsonnet:
  4103. properties:
  4104. extVars:
  4105. items:
  4106. properties:
  4107. code:
  4108. type: boolean
  4109. name:
  4110. type: string
  4111. value:
  4112. type: string
  4113. required:
  4114. - name
  4115. - value
  4116. type: object
  4117. type: array
  4118. libs:
  4119. items:
  4120. type: string
  4121. type: array
  4122. tlas:
  4123. items:
  4124. properties:
  4125. code:
  4126. type: boolean
  4127. name:
  4128. type: string
  4129. value:
  4130. type: string
  4131. required:
  4132. - name
  4133. - value
  4134. type: object
  4135. type: array
  4136. type: object
  4137. recurse:
  4138. type: boolean
  4139. type: object
  4140. helm:
  4141. properties:
  4142. fileParameters:
  4143. items:
  4144. properties:
  4145. name:
  4146. type: string
  4147. path:
  4148. type: string
  4149. type: object
  4150. type: array
  4151. ignoreMissingValueFiles:
  4152. type: boolean
  4153. parameters:
  4154. items:
  4155. properties:
  4156. forceString:
  4157. type: boolean
  4158. name:
  4159. type: string
  4160. value:
  4161. type: string
  4162. type: object
  4163. type: array
  4164. passCredentials:
  4165. type: boolean
  4166. releaseName:
  4167. type: string
  4168. skipCrds:
  4169. type: boolean
  4170. valueFiles:
  4171. items:
  4172. type: string
  4173. type: array
  4174. values:
  4175. type: string
  4176. version:
  4177. type: string
  4178. type: object
  4179. kustomize:
  4180. properties:
  4181. commonAnnotations:
  4182. additionalProperties:
  4183. type: string
  4184. type: object
  4185. commonLabels:
  4186. additionalProperties:
  4187. type: string
  4188. type: object
  4189. forceCommonAnnotations:
  4190. type: boolean
  4191. forceCommonLabels:
  4192. type: boolean
  4193. images:
  4194. items:
  4195. type: string
  4196. type: array
  4197. namePrefix:
  4198. type: string
  4199. nameSuffix:
  4200. type: string
  4201. version:
  4202. type: string
  4203. type: object
  4204. path:
  4205. type: string
  4206. plugin:
  4207. properties:
  4208. env:
  4209. items:
  4210. properties:
  4211. name:
  4212. type: string
  4213. value:
  4214. type: string
  4215. required:
  4216. - name
  4217. - value
  4218. type: object
  4219. type: array
  4220. name:
  4221. type: string
  4222. type: object
  4223. repoURL:
  4224. type: string
  4225. targetRevision:
  4226. type: string
  4227. required:
  4228. - repoURL
  4229. type: object
  4230. syncPolicy:
  4231. properties:
  4232. automated:
  4233. properties:
  4234. allowEmpty:
  4235. type: boolean
  4236. prune:
  4237. type: boolean
  4238. selfHeal:
  4239. type: boolean
  4240. type: object
  4241. managedNamespaceMetadata:
  4242. properties:
  4243. annotations:
  4244. additionalProperties:
  4245. type: string
  4246. type: object
  4247. labels:
  4248. additionalProperties:
  4249. type: string
  4250. type: object
  4251. type: object
  4252. retry:
  4253. properties:
  4254. backoff:
  4255. properties:
  4256. duration:
  4257. type: string
  4258. factor:
  4259. format: int64
  4260. type: integer
  4261. maxDuration:
  4262. type: string
  4263. type: object
  4264. limit:
  4265. format: int64
  4266. type: integer
  4267. type: object
  4268. syncOptions:
  4269. items:
  4270. type: string
  4271. type: array
  4272. type: object
  4273. required:
  4274. - destination
  4275. - project
  4276. - source
  4277. type: object
  4278. required:
  4279. - metadata
  4280. - spec
  4281. type: object
  4282. required:
  4283. - repoURL
  4284. - revision
  4285. type: object
  4286. list:
  4287. properties:
  4288. elements:
  4289. items:
  4290. x-kubernetes-preserve-unknown-fields: true
  4291. type: array
  4292. template:
  4293. properties:
  4294. metadata:
  4295. properties:
  4296. annotations:
  4297. additionalProperties:
  4298. type: string
  4299. type: object
  4300. finalizers:
  4301. items:
  4302. type: string
  4303. type: array
  4304. labels:
  4305. additionalProperties:
  4306. type: string
  4307. type: object
  4308. name:
  4309. type: string
  4310. namespace:
  4311. type: string
  4312. type: object
  4313. spec:
  4314. properties:
  4315. destination:
  4316. properties:
  4317. name:
  4318. type: string
  4319. namespace:
  4320. type: string
  4321. server:
  4322. type: string
  4323. type: object
  4324. ignoreDifferences:
  4325. items:
  4326. properties:
  4327. group:
  4328. type: string
  4329. jqPathExpressions:
  4330. items:
  4331. type: string
  4332. type: array
  4333. jsonPointers:
  4334. items:
  4335. type: string
  4336. type: array
  4337. kind:
  4338. type: string
  4339. managedFieldsManagers:
  4340. items:
  4341. type: string
  4342. type: array
  4343. name:
  4344. type: string
  4345. namespace:
  4346. type: string
  4347. required:
  4348. - kind
  4349. type: object
  4350. type: array
  4351. info:
  4352. items:
  4353. properties:
  4354. name:
  4355. type: string
  4356. value:
  4357. type: string
  4358. required:
  4359. - name
  4360. - value
  4361. type: object
  4362. type: array
  4363. project:
  4364. type: string
  4365. revisionHistoryLimit:
  4366. format: int64
  4367. type: integer
  4368. source:
  4369. properties:
  4370. chart:
  4371. type: string
  4372. directory:
  4373. properties:
  4374. exclude:
  4375. type: string
  4376. include:
  4377. type: string
  4378. jsonnet:
  4379. properties:
  4380. extVars:
  4381. items:
  4382. properties:
  4383. code:
  4384. type: boolean
  4385. name:
  4386. type: string
  4387. value:
  4388. type: string
  4389. required:
  4390. - name
  4391. - value
  4392. type: object
  4393. type: array
  4394. libs:
  4395. items:
  4396. type: string
  4397. type: array
  4398. tlas:
  4399. items:
  4400. properties:
  4401. code:
  4402. type: boolean
  4403. name:
  4404. type: string
  4405. value:
  4406. type: string
  4407. required:
  4408. - name
  4409. - value
  4410. type: object
  4411. type: array
  4412. type: object
  4413. recurse:
  4414. type: boolean
  4415. type: object
  4416. helm:
  4417. properties:
  4418. fileParameters:
  4419. items:
  4420. properties:
  4421. name:
  4422. type: string
  4423. path:
  4424. type: string
  4425. type: object
  4426. type: array
  4427. ignoreMissingValueFiles:
  4428. type: boolean
  4429. parameters:
  4430. items:
  4431. properties:
  4432. forceString:
  4433. type: boolean
  4434. name:
  4435. type: string
  4436. value:
  4437. type: string
  4438. type: object
  4439. type: array
  4440. passCredentials:
  4441. type: boolean
  4442. releaseName:
  4443. type: string
  4444. skipCrds:
  4445. type: boolean
  4446. valueFiles:
  4447. items:
  4448. type: string
  4449. type: array
  4450. values:
  4451. type: string
  4452. version:
  4453. type: string
  4454. type: object
  4455. kustomize:
  4456. properties:
  4457. commonAnnotations:
  4458. additionalProperties:
  4459. type: string
  4460. type: object
  4461. commonLabels:
  4462. additionalProperties:
  4463. type: string
  4464. type: object
  4465. forceCommonAnnotations:
  4466. type: boolean
  4467. forceCommonLabels:
  4468. type: boolean
  4469. images:
  4470. items:
  4471. type: string
  4472. type: array
  4473. namePrefix:
  4474. type: string
  4475. nameSuffix:
  4476. type: string
  4477. version:
  4478. type: string
  4479. type: object
  4480. path:
  4481. type: string
  4482. plugin:
  4483. properties:
  4484. env:
  4485. items:
  4486. properties:
  4487. name:
  4488. type: string
  4489. value:
  4490. type: string
  4491. required:
  4492. - name
  4493. - value
  4494. type: object
  4495. type: array
  4496. name:
  4497. type: string
  4498. type: object
  4499. repoURL:
  4500. type: string
  4501. targetRevision:
  4502. type: string
  4503. required:
  4504. - repoURL
  4505. type: object
  4506. syncPolicy:
  4507. properties:
  4508. automated:
  4509. properties:
  4510. allowEmpty:
  4511. type: boolean
  4512. prune:
  4513. type: boolean
  4514. selfHeal:
  4515. type: boolean
  4516. type: object
  4517. managedNamespaceMetadata:
  4518. properties:
  4519. annotations:
  4520. additionalProperties:
  4521. type: string
  4522. type: object
  4523. labels:
  4524. additionalProperties:
  4525. type: string
  4526. type: object
  4527. type: object
  4528. retry:
  4529. properties:
  4530. backoff:
  4531. properties:
  4532. duration:
  4533. type: string
  4534. factor:
  4535. format: int64
  4536. type: integer
  4537. maxDuration:
  4538. type: string
  4539. type: object
  4540. limit:
  4541. format: int64
  4542. type: integer
  4543. type: object
  4544. syncOptions:
  4545. items:
  4546. type: string
  4547. type: array
  4548. type: object
  4549. required:
  4550. - destination
  4551. - project
  4552. - source
  4553. type: object
  4554. required:
  4555. - metadata
  4556. - spec
  4557. type: object
  4558. required:
  4559. - elements
  4560. type: object
  4561. matrix:
  4562. x-kubernetes-preserve-unknown-fields: true
  4563. merge:
  4564. x-kubernetes-preserve-unknown-fields: true
  4565. pullRequest:
  4566. properties:
  4567. bitbucketServer:
  4568. properties:
  4569. api:
  4570. type: string
  4571. basicAuth:
  4572. properties:
  4573. passwordRef:
  4574. properties:
  4575. key:
  4576. type: string
  4577. secretName:
  4578. type: string
  4579. required:
  4580. - key
  4581. - secretName
  4582. type: object
  4583. username:
  4584. type: string
  4585. required:
  4586. - passwordRef
  4587. - username
  4588. type: object
  4589. project:
  4590. type: string
  4591. repo:
  4592. type: string
  4593. required:
  4594. - api
  4595. - project
  4596. - repo
  4597. type: object
  4598. filters:
  4599. items:
  4600. properties:
  4601. branchMatch:
  4602. type: string
  4603. type: object
  4604. type: array
  4605. gitea:
  4606. properties:
  4607. api:
  4608. type: string
  4609. insecure:
  4610. type: boolean
  4611. owner:
  4612. type: string
  4613. repo:
  4614. type: string
  4615. tokenRef:
  4616. properties:
  4617. key:
  4618. type: string
  4619. secretName:
  4620. type: string
  4621. required:
  4622. - key
  4623. - secretName
  4624. type: object
  4625. required:
  4626. - api
  4627. - owner
  4628. - repo
  4629. type: object
  4630. github:
  4631. properties:
  4632. api:
  4633. type: string
  4634. appSecretName:
  4635. type: string
  4636. labels:
  4637. items:
  4638. type: string
  4639. type: array
  4640. owner:
  4641. type: string
  4642. repo:
  4643. type: string
  4644. tokenRef:
  4645. properties:
  4646. key:
  4647. type: string
  4648. secretName:
  4649. type: string
  4650. required:
  4651. - key
  4652. - secretName
  4653. type: object
  4654. required:
  4655. - owner
  4656. - repo
  4657. type: object
  4658. gitlab:
  4659. properties:
  4660. api:
  4661. type: string
  4662. labels:
  4663. items:
  4664. type: string
  4665. type: array
  4666. project:
  4667. type: string
  4668. pullRequestState:
  4669. type: string
  4670. tokenRef:
  4671. properties:
  4672. key:
  4673. type: string
  4674. secretName:
  4675. type: string
  4676. required:
  4677. - key
  4678. - secretName
  4679. type: object
  4680. required:
  4681. - project
  4682. type: object
  4683. requeueAfterSeconds:
  4684. format: int64
  4685. type: integer
  4686. template:
  4687. properties:
  4688. metadata:
  4689. properties:
  4690. annotations:
  4691. additionalProperties:
  4692. type: string
  4693. type: object
  4694. finalizers:
  4695. items:
  4696. type: string
  4697. type: array
  4698. labels:
  4699. additionalProperties:
  4700. type: string
  4701. type: object
  4702. name:
  4703. type: string
  4704. namespace:
  4705. type: string
  4706. type: object
  4707. spec:
  4708. properties:
  4709. destination:
  4710. properties:
  4711. name:
  4712. type: string
  4713. namespace:
  4714. type: string
  4715. server:
  4716. type: string
  4717. type: object
  4718. ignoreDifferences:
  4719. items:
  4720. properties:
  4721. group:
  4722. type: string
  4723. jqPathExpressions:
  4724. items:
  4725. type: string
  4726. type: array
  4727. jsonPointers:
  4728. items:
  4729. type: string
  4730. type: array
  4731. kind:
  4732. type: string
  4733. managedFieldsManagers:
  4734. items:
  4735. type: string
  4736. type: array
  4737. name:
  4738. type: string
  4739. namespace:
  4740. type: string
  4741. required:
  4742. - kind
  4743. type: object
  4744. type: array
  4745. info:
  4746. items:
  4747. properties:
  4748. name:
  4749. type: string
  4750. value:
  4751. type: string
  4752. required:
  4753. - name
  4754. - value
  4755. type: object
  4756. type: array
  4757. project:
  4758. type: string
  4759. revisionHistoryLimit:
  4760. format: int64
  4761. type: integer
  4762. source:
  4763. properties:
  4764. chart:
  4765. type: string
  4766. directory:
  4767. properties:
  4768. exclude:
  4769. type: string
  4770. include:
  4771. type: string
  4772. jsonnet:
  4773. properties:
  4774. extVars:
  4775. items:
  4776. properties:
  4777. code:
  4778. type: boolean
  4779. name:
  4780. type: string
  4781. value:
  4782. type: string
  4783. required:
  4784. - name
  4785. - value
  4786. type: object
  4787. type: array
  4788. libs:
  4789. items:
  4790. type: string
  4791. type: array
  4792. tlas:
  4793. items:
  4794. properties:
  4795. code:
  4796. type: boolean
  4797. name:
  4798. type: string
  4799. value:
  4800. type: string
  4801. required:
  4802. - name
  4803. - value
  4804. type: object
  4805. type: array
  4806. type: object
  4807. recurse:
  4808. type: boolean
  4809. type: object
  4810. helm:
  4811. properties:
  4812. fileParameters:
  4813. items:
  4814. properties:
  4815. name:
  4816. type: string
  4817. path:
  4818. type: string
  4819. type: object
  4820. type: array
  4821. ignoreMissingValueFiles:
  4822. type: boolean
  4823. parameters:
  4824. items:
  4825. properties:
  4826. forceString:
  4827. type: boolean
  4828. name:
  4829. type: string
  4830. value:
  4831. type: string
  4832. type: object
  4833. type: array
  4834. passCredentials:
  4835. type: boolean
  4836. releaseName:
  4837. type: string
  4838. skipCrds:
  4839. type: boolean
  4840. valueFiles:
  4841. items:
  4842. type: string
  4843. type: array
  4844. values:
  4845. type: string
  4846. version:
  4847. type: string
  4848. type: object
  4849. kustomize:
  4850. properties:
  4851. commonAnnotations:
  4852. additionalProperties:
  4853. type: string
  4854. type: object
  4855. commonLabels:
  4856. additionalProperties:
  4857. type: string
  4858. type: object
  4859. forceCommonAnnotations:
  4860. type: boolean
  4861. forceCommonLabels:
  4862. type: boolean
  4863. images:
  4864. items:
  4865. type: string
  4866. type: array
  4867. namePrefix:
  4868. type: string
  4869. nameSuffix:
  4870. type: string
  4871. version:
  4872. type: string
  4873. type: object
  4874. path:
  4875. type: string
  4876. plugin:
  4877. properties:
  4878. env:
  4879. items:
  4880. properties:
  4881. name:
  4882. type: string
  4883. value:
  4884. type: string
  4885. required:
  4886. - name
  4887. - value
  4888. type: object
  4889. type: array
  4890. name:
  4891. type: string
  4892. type: object
  4893. repoURL:
  4894. type: string
  4895. targetRevision:
  4896. type: string
  4897. required:
  4898. - repoURL
  4899. type: object
  4900. syncPolicy:
  4901. properties:
  4902. automated:
  4903. properties:
  4904. allowEmpty:
  4905. type: boolean
  4906. prune:
  4907. type: boolean
  4908. selfHeal:
  4909. type: boolean
  4910. type: object
  4911. managedNamespaceMetadata:
  4912. properties:
  4913. annotations:
  4914. additionalProperties:
  4915. type: string
  4916. type: object
  4917. labels:
  4918. additionalProperties:
  4919. type: string
  4920. type: object
  4921. type: object
  4922. retry:
  4923. properties:
  4924. backoff:
  4925. properties:
  4926. duration:
  4927. type: string
  4928. factor:
  4929. format: int64
  4930. type: integer
  4931. maxDuration:
  4932. type: string
  4933. type: object
  4934. limit:
  4935. format: int64
  4936. type: integer
  4937. type: object
  4938. syncOptions:
  4939. items:
  4940. type: string
  4941. type: array
  4942. type: object
  4943. required:
  4944. - destination
  4945. - project
  4946. - source
  4947. type: object
  4948. required:
  4949. - metadata
  4950. - spec
  4951. type: object
  4952. type: object
  4953. scmProvider:
  4954. properties:
  4955. azureDevOps:
  4956. properties:
  4957. accessTokenRef:
  4958. properties:
  4959. key:
  4960. type: string
  4961. secretName:
  4962. type: string
  4963. required:
  4964. - key
  4965. - secretName
  4966. type: object
  4967. allBranches:
  4968. type: boolean
  4969. api:
  4970. type: string
  4971. organization:
  4972. type: string
  4973. teamProject:
  4974. type: string
  4975. required:
  4976. - accessTokenRef
  4977. - organization
  4978. - teamProject
  4979. type: object
  4980. bitbucket:
  4981. properties:
  4982. allBranches:
  4983. type: boolean
  4984. appPasswordRef:
  4985. properties:
  4986. key:
  4987. type: string
  4988. secretName:
  4989. type: string
  4990. required:
  4991. - key
  4992. - secretName
  4993. type: object
  4994. owner:
  4995. type: string
  4996. user:
  4997. type: string
  4998. required:
  4999. - appPasswordRef
  5000. - owner
  5001. - user
  5002. type: object
  5003. bitbucketServer:
  5004. properties:
  5005. allBranches:
  5006. type: boolean
  5007. api:
  5008. type: string
  5009. basicAuth:
  5010. properties:
  5011. passwordRef:
  5012. properties:
  5013. key:
  5014. type: string
  5015. secretName:
  5016. type: string
  5017. required:
  5018. - key
  5019. - secretName
  5020. type: object
  5021. username:
  5022. type: string
  5023. required:
  5024. - passwordRef
  5025. - username
  5026. type: object
  5027. project:
  5028. type: string
  5029. required:
  5030. - api
  5031. - project
  5032. type: object
  5033. cloneProtocol:
  5034. type: string
  5035. filters:
  5036. items:
  5037. properties:
  5038. branchMatch:
  5039. type: string
  5040. labelMatch:
  5041. type: string
  5042. pathsDoNotExist:
  5043. items:
  5044. type: string
  5045. type: array
  5046. pathsExist:
  5047. items:
  5048. type: string
  5049. type: array
  5050. repositoryMatch:
  5051. type: string
  5052. type: object
  5053. type: array
  5054. gitea:
  5055. properties:
  5056. allBranches:
  5057. type: boolean
  5058. api:
  5059. type: string
  5060. insecure:
  5061. type: boolean
  5062. owner:
  5063. type: string
  5064. tokenRef:
  5065. properties:
  5066. key:
  5067. type: string
  5068. secretName:
  5069. type: string
  5070. required:
  5071. - key
  5072. - secretName
  5073. type: object
  5074. required:
  5075. - api
  5076. - owner
  5077. type: object
  5078. github:
  5079. properties:
  5080. allBranches:
  5081. type: boolean
  5082. api:
  5083. type: string
  5084. appSecretName:
  5085. type: string
  5086. organization:
  5087. type: string
  5088. tokenRef:
  5089. properties:
  5090. key:
  5091. type: string
  5092. secretName:
  5093. type: string
  5094. required:
  5095. - key
  5096. - secretName
  5097. type: object
  5098. required:
  5099. - organization
  5100. type: object
  5101. gitlab:
  5102. properties:
  5103. allBranches:
  5104. type: boolean
  5105. api:
  5106. type: string
  5107. group:
  5108. type: string
  5109. includeSubgroups:
  5110. type: boolean
  5111. tokenRef:
  5112. properties:
  5113. key:
  5114. type: string
  5115. secretName:
  5116. type: string
  5117. required:
  5118. - key
  5119. - secretName
  5120. type: object
  5121. required:
  5122. - group
  5123. type: object
  5124. requeueAfterSeconds:
  5125. format: int64
  5126. type: integer
  5127. template:
  5128. properties:
  5129. metadata:
  5130. properties:
  5131. annotations:
  5132. additionalProperties:
  5133. type: string
  5134. type: object
  5135. finalizers:
  5136. items:
  5137. type: string
  5138. type: array
  5139. labels:
  5140. additionalProperties:
  5141. type: string
  5142. type: object
  5143. name:
  5144. type: string
  5145. namespace:
  5146. type: string
  5147. type: object
  5148. spec:
  5149. properties:
  5150. destination:
  5151. properties:
  5152. name:
  5153. type: string
  5154. namespace:
  5155. type: string
  5156. server:
  5157. type: string
  5158. type: object
  5159. ignoreDifferences:
  5160. items:
  5161. properties:
  5162. group:
  5163. type: string
  5164. jqPathExpressions:
  5165. items:
  5166. type: string
  5167. type: array
  5168. jsonPointers:
  5169. items:
  5170. type: string
  5171. type: array
  5172. kind:
  5173. type: string
  5174. managedFieldsManagers:
  5175. items:
  5176. type: string
  5177. type: array
  5178. name:
  5179. type: string
  5180. namespace:
  5181. type: string
  5182. required:
  5183. - kind
  5184. type: object
  5185. type: array
  5186. info:
  5187. items:
  5188. properties:
  5189. name:
  5190. type: string
  5191. value:
  5192. type: string
  5193. required:
  5194. - name
  5195. - value
  5196. type: object
  5197. type: array
  5198. project:
  5199. type: string
  5200. revisionHistoryLimit:
  5201. format: int64
  5202. type: integer
  5203. source:
  5204. properties:
  5205. chart:
  5206. type: string
  5207. directory:
  5208. properties:
  5209. exclude:
  5210. type: string
  5211. include:
  5212. type: string
  5213. jsonnet:
  5214. properties:
  5215. extVars:
  5216. items:
  5217. properties:
  5218. code:
  5219. type: boolean
  5220. name:
  5221. type: string
  5222. value:
  5223. type: string
  5224. required:
  5225. - name
  5226. - value
  5227. type: object
  5228. type: array
  5229. libs:
  5230. items:
  5231. type: string
  5232. type: array
  5233. tlas:
  5234. items:
  5235. properties:
  5236. code:
  5237. type: boolean
  5238. name:
  5239. type: string
  5240. value:
  5241. type: string
  5242. required:
  5243. - name
  5244. - value
  5245. type: object
  5246. type: array
  5247. type: object
  5248. recurse:
  5249. type: boolean
  5250. type: object
  5251. helm:
  5252. properties:
  5253. fileParameters:
  5254. items:
  5255. properties:
  5256. name:
  5257. type: string
  5258. path:
  5259. type: string
  5260. type: object
  5261. type: array
  5262. ignoreMissingValueFiles:
  5263. type: boolean
  5264. parameters:
  5265. items:
  5266. properties:
  5267. forceString:
  5268. type: boolean
  5269. name:
  5270. type: string
  5271. value:
  5272. type: string
  5273. type: object
  5274. type: array
  5275. passCredentials:
  5276. type: boolean
  5277. releaseName:
  5278. type: string
  5279. skipCrds:
  5280. type: boolean
  5281. valueFiles:
  5282. items:
  5283. type: string
  5284. type: array
  5285. values:
  5286. type: string
  5287. version:
  5288. type: string
  5289. type: object
  5290. kustomize:
  5291. properties:
  5292. commonAnnotations:
  5293. additionalProperties:
  5294. type: string
  5295. type: object
  5296. commonLabels:
  5297. additionalProperties:
  5298. type: string
  5299. type: object
  5300. forceCommonAnnotations:
  5301. type: boolean
  5302. forceCommonLabels:
  5303. type: boolean
  5304. images:
  5305. items:
  5306. type: string
  5307. type: array
  5308. namePrefix:
  5309. type: string
  5310. nameSuffix:
  5311. type: string
  5312. version:
  5313. type: string
  5314. type: object
  5315. path:
  5316. type: string
  5317. plugin:
  5318. properties:
  5319. env:
  5320. items:
  5321. properties:
  5322. name:
  5323. type: string
  5324. value:
  5325. type: string
  5326. required:
  5327. - name
  5328. - value
  5329. type: object
  5330. type: array
  5331. name:
  5332. type: string
  5333. type: object
  5334. repoURL:
  5335. type: string
  5336. targetRevision:
  5337. type: string
  5338. required:
  5339. - repoURL
  5340. type: object
  5341. syncPolicy:
  5342. properties:
  5343. automated:
  5344. properties:
  5345. allowEmpty:
  5346. type: boolean
  5347. prune:
  5348. type: boolean
  5349. selfHeal:
  5350. type: boolean
  5351. type: object
  5352. managedNamespaceMetadata:
  5353. properties:
  5354. annotations:
  5355. additionalProperties:
  5356. type: string
  5357. type: object
  5358. labels:
  5359. additionalProperties:
  5360. type: string
  5361. type: object
  5362. type: object
  5363. retry:
  5364. properties:
  5365. backoff:
  5366. properties:
  5367. duration:
  5368. type: string
  5369. factor:
  5370. format: int64
  5371. type: integer
  5372. maxDuration:
  5373. type: string
  5374. type: object
  5375. limit:
  5376. format: int64
  5377. type: integer
  5378. type: object
  5379. syncOptions:
  5380. items:
  5381. type: string
  5382. type: array
  5383. type: object
  5384. required:
  5385. - destination
  5386. - project
  5387. - source
  5388. type: object
  5389. required:
  5390. - metadata
  5391. - spec
  5392. type: object
  5393. type: object
  5394. selector:
  5395. properties:
  5396. matchExpressions:
  5397. items:
  5398. properties:
  5399. key:
  5400. type: string
  5401. operator:
  5402. type: string
  5403. values:
  5404. items:
  5405. type: string
  5406. type: array
  5407. required:
  5408. - key
  5409. - operator
  5410. type: object
  5411. type: array
  5412. matchLabels:
  5413. additionalProperties:
  5414. type: string
  5415. type: object
  5416. type: object
  5417. type: object
  5418. type: array
  5419. template:
  5420. properties:
  5421. metadata:
  5422. properties:
  5423. annotations:
  5424. additionalProperties:
  5425. type: string
  5426. type: object
  5427. finalizers:
  5428. items:
  5429. type: string
  5430. type: array
  5431. labels:
  5432. additionalProperties:
  5433. type: string
  5434. type: object
  5435. name:
  5436. type: string
  5437. namespace:
  5438. type: string
  5439. type: object
  5440. spec:
  5441. properties:
  5442. destination:
  5443. properties:
  5444. name:
  5445. type: string
  5446. namespace:
  5447. type: string
  5448. server:
  5449. type: string
  5450. type: object
  5451. ignoreDifferences:
  5452. items:
  5453. properties:
  5454. group:
  5455. type: string
  5456. jqPathExpressions:
  5457. items:
  5458. type: string
  5459. type: array
  5460. jsonPointers:
  5461. items:
  5462. type: string
  5463. type: array
  5464. kind:
  5465. type: string
  5466. managedFieldsManagers:
  5467. items:
  5468. type: string
  5469. type: array
  5470. name:
  5471. type: string
  5472. namespace:
  5473. type: string
  5474. required:
  5475. - kind
  5476. type: object
  5477. type: array
  5478. info:
  5479. items:
  5480. properties:
  5481. name:
  5482. type: string
  5483. value:
  5484. type: string
  5485. required:
  5486. - name
  5487. - value
  5488. type: object
  5489. type: array
  5490. project:
  5491. type: string
  5492. revisionHistoryLimit:
  5493. format: int64
  5494. type: integer
  5495. source:
  5496. properties:
  5497. chart:
  5498. type: string
  5499. directory:
  5500. properties:
  5501. exclude:
  5502. type: string
  5503. include:
  5504. type: string
  5505. jsonnet:
  5506. properties:
  5507. extVars:
  5508. items:
  5509. properties:
  5510. code:
  5511. type: boolean
  5512. name:
  5513. type: string
  5514. value:
  5515. type: string
  5516. required:
  5517. - name
  5518. - value
  5519. type: object
  5520. type: array
  5521. libs:
  5522. items:
  5523. type: string
  5524. type: array
  5525. tlas:
  5526. items:
  5527. properties:
  5528. code:
  5529. type: boolean
  5530. name:
  5531. type: string
  5532. value:
  5533. type: string
  5534. required:
  5535. - name
  5536. - value
  5537. type: object
  5538. type: array
  5539. type: object
  5540. recurse:
  5541. type: boolean
  5542. type: object
  5543. helm:
  5544. properties:
  5545. fileParameters:
  5546. items:
  5547. properties:
  5548. name:
  5549. type: string
  5550. path:
  5551. type: string
  5552. type: object
  5553. type: array
  5554. ignoreMissingValueFiles:
  5555. type: boolean
  5556. parameters:
  5557. items:
  5558. properties:
  5559. forceString:
  5560. type: boolean
  5561. name:
  5562. type: string
  5563. value:
  5564. type: string
  5565. type: object
  5566. type: array
  5567. passCredentials:
  5568. type: boolean
  5569. releaseName:
  5570. type: string
  5571. skipCrds:
  5572. type: boolean
  5573. valueFiles:
  5574. items:
  5575. type: string
  5576. type: array
  5577. values:
  5578. type: string
  5579. version:
  5580. type: string
  5581. type: object
  5582. kustomize:
  5583. properties:
  5584. commonAnnotations:
  5585. additionalProperties:
  5586. type: string
  5587. type: object
  5588. commonLabels:
  5589. additionalProperties:
  5590. type: string
  5591. type: object
  5592. forceCommonAnnotations:
  5593. type: boolean
  5594. forceCommonLabels:
  5595. type: boolean
  5596. images:
  5597. items:
  5598. type: string
  5599. type: array
  5600. namePrefix:
  5601. type: string
  5602. nameSuffix:
  5603. type: string
  5604. version:
  5605. type: string
  5606. type: object
  5607. path:
  5608. type: string
  5609. plugin:
  5610. properties:
  5611. env:
  5612. items:
  5613. properties:
  5614. name:
  5615. type: string
  5616. value:
  5617. type: string
  5618. required:
  5619. - name
  5620. - value
  5621. type: object
  5622. type: array
  5623. name:
  5624. type: string
  5625. type: object
  5626. repoURL:
  5627. type: string
  5628. targetRevision:
  5629. type: string
  5630. required:
  5631. - repoURL
  5632. type: object
  5633. syncPolicy:
  5634. properties:
  5635. automated:
  5636. properties:
  5637. allowEmpty:
  5638. type: boolean
  5639. prune:
  5640. type: boolean
  5641. selfHeal:
  5642. type: boolean
  5643. type: object
  5644. managedNamespaceMetadata:
  5645. properties:
  5646. annotations:
  5647. additionalProperties:
  5648. type: string
  5649. type: object
  5650. labels:
  5651. additionalProperties:
  5652. type: string
  5653. type: object
  5654. type: object
  5655. retry:
  5656. properties:
  5657. backoff:
  5658. properties:
  5659. duration:
  5660. type: string
  5661. factor:
  5662. format: int64
  5663. type: integer
  5664. maxDuration:
  5665. type: string
  5666. type: object
  5667. limit:
  5668. format: int64
  5669. type: integer
  5670. type: object
  5671. syncOptions:
  5672. items:
  5673. type: string
  5674. type: array
  5675. type: object
  5676. required:
  5677. - destination
  5678. - project
  5679. - source
  5680. type: object
  5681. required:
  5682. - metadata
  5683. - spec
  5684. type: object
  5685. required:
  5686. - generators
  5687. type: object
  5688. merge:
  5689. properties:
  5690. generators:
  5691. items:
  5692. properties:
  5693. clusterDecisionResource:
  5694. properties:
  5695. configMapRef:
  5696. type: string
  5697. labelSelector:
  5698. properties:
  5699. matchExpressions:
  5700. items:
  5701. properties:
  5702. key:
  5703. type: string
  5704. operator:
  5705. type: string
  5706. values:
  5707. items:
  5708. type: string
  5709. type: array
  5710. required:
  5711. - key
  5712. - operator
  5713. type: object
  5714. type: array
  5715. matchLabels:
  5716. additionalProperties:
  5717. type: string
  5718. type: object
  5719. type: object
  5720. name:
  5721. type: string
  5722. requeueAfterSeconds:
  5723. format: int64
  5724. type: integer
  5725. template:
  5726. properties:
  5727. metadata:
  5728. properties:
  5729. annotations:
  5730. additionalProperties:
  5731. type: string
  5732. type: object
  5733. finalizers:
  5734. items:
  5735. type: string
  5736. type: array
  5737. labels:
  5738. additionalProperties:
  5739. type: string
  5740. type: object
  5741. name:
  5742. type: string
  5743. namespace:
  5744. type: string
  5745. type: object
  5746. spec:
  5747. properties:
  5748. destination:
  5749. properties:
  5750. name:
  5751. type: string
  5752. namespace:
  5753. type: string
  5754. server:
  5755. type: string
  5756. type: object
  5757. ignoreDifferences:
  5758. items:
  5759. properties:
  5760. group:
  5761. type: string
  5762. jqPathExpressions:
  5763. items:
  5764. type: string
  5765. type: array
  5766. jsonPointers:
  5767. items:
  5768. type: string
  5769. type: array
  5770. kind:
  5771. type: string
  5772. managedFieldsManagers:
  5773. items:
  5774. type: string
  5775. type: array
  5776. name:
  5777. type: string
  5778. namespace:
  5779. type: string
  5780. required:
  5781. - kind
  5782. type: object
  5783. type: array
  5784. info:
  5785. items:
  5786. properties:
  5787. name:
  5788. type: string
  5789. value:
  5790. type: string
  5791. required:
  5792. - name
  5793. - value
  5794. type: object
  5795. type: array
  5796. project:
  5797. type: string
  5798. revisionHistoryLimit:
  5799. format: int64
  5800. type: integer
  5801. source:
  5802. properties:
  5803. chart:
  5804. type: string
  5805. directory:
  5806. properties:
  5807. exclude:
  5808. type: string
  5809. include:
  5810. type: string
  5811. jsonnet:
  5812. properties:
  5813. extVars:
  5814. items:
  5815. properties:
  5816. code:
  5817. type: boolean
  5818. name:
  5819. type: string
  5820. value:
  5821. type: string
  5822. required:
  5823. - name
  5824. - value
  5825. type: object
  5826. type: array
  5827. libs:
  5828. items:
  5829. type: string
  5830. type: array
  5831. tlas:
  5832. items:
  5833. properties:
  5834. code:
  5835. type: boolean
  5836. name:
  5837. type: string
  5838. value:
  5839. type: string
  5840. required:
  5841. - name
  5842. - value
  5843. type: object
  5844. type: array
  5845. type: object
  5846. recurse:
  5847. type: boolean
  5848. type: object
  5849. helm:
  5850. properties:
  5851. fileParameters:
  5852. items:
  5853. properties:
  5854. name:
  5855. type: string
  5856. path:
  5857. type: string
  5858. type: object
  5859. type: array
  5860. ignoreMissingValueFiles:
  5861. type: boolean
  5862. parameters:
  5863. items:
  5864. properties:
  5865. forceString:
  5866. type: boolean
  5867. name:
  5868. type: string
  5869. value:
  5870. type: string
  5871. type: object
  5872. type: array
  5873. passCredentials:
  5874. type: boolean
  5875. releaseName:
  5876. type: string
  5877. skipCrds:
  5878. type: boolean
  5879. valueFiles:
  5880. items:
  5881. type: string
  5882. type: array
  5883. values:
  5884. type: string
  5885. version:
  5886. type: string
  5887. type: object
  5888. kustomize:
  5889. properties:
  5890. commonAnnotations:
  5891. additionalProperties:
  5892. type: string
  5893. type: object
  5894. commonLabels:
  5895. additionalProperties:
  5896. type: string
  5897. type: object
  5898. forceCommonAnnotations:
  5899. type: boolean
  5900. forceCommonLabels:
  5901. type: boolean
  5902. images:
  5903. items:
  5904. type: string
  5905. type: array
  5906. namePrefix:
  5907. type: string
  5908. nameSuffix:
  5909. type: string
  5910. version:
  5911. type: string
  5912. type: object
  5913. path:
  5914. type: string
  5915. plugin:
  5916. properties:
  5917. env:
  5918. items:
  5919. properties:
  5920. name:
  5921. type: string
  5922. value:
  5923. type: string
  5924. required:
  5925. - name
  5926. - value
  5927. type: object
  5928. type: array
  5929. name:
  5930. type: string
  5931. type: object
  5932. repoURL:
  5933. type: string
  5934. targetRevision:
  5935. type: string
  5936. required:
  5937. - repoURL
  5938. type: object
  5939. syncPolicy:
  5940. properties:
  5941. automated:
  5942. properties:
  5943. allowEmpty:
  5944. type: boolean
  5945. prune:
  5946. type: boolean
  5947. selfHeal:
  5948. type: boolean
  5949. type: object
  5950. managedNamespaceMetadata:
  5951. properties:
  5952. annotations:
  5953. additionalProperties:
  5954. type: string
  5955. type: object
  5956. labels:
  5957. additionalProperties:
  5958. type: string
  5959. type: object
  5960. type: object
  5961. retry:
  5962. properties:
  5963. backoff:
  5964. properties:
  5965. duration:
  5966. type: string
  5967. factor:
  5968. format: int64
  5969. type: integer
  5970. maxDuration:
  5971. type: string
  5972. type: object
  5973. limit:
  5974. format: int64
  5975. type: integer
  5976. type: object
  5977. syncOptions:
  5978. items:
  5979. type: string
  5980. type: array
  5981. type: object
  5982. required:
  5983. - destination
  5984. - project
  5985. - source
  5986. type: object
  5987. required:
  5988. - metadata
  5989. - spec
  5990. type: object
  5991. values:
  5992. additionalProperties:
  5993. type: string
  5994. type: object
  5995. required:
  5996. - configMapRef
  5997. type: object
  5998. clusters:
  5999. properties:
  6000. selector:
  6001. properties:
  6002. matchExpressions:
  6003. items:
  6004. properties:
  6005. key:
  6006. type: string
  6007. operator:
  6008. type: string
  6009. values:
  6010. items:
  6011. type: string
  6012. type: array
  6013. required:
  6014. - key
  6015. - operator
  6016. type: object
  6017. type: array
  6018. matchLabels:
  6019. additionalProperties:
  6020. type: string
  6021. type: object
  6022. type: object
  6023. template:
  6024. properties:
  6025. metadata:
  6026. properties:
  6027. annotations:
  6028. additionalProperties:
  6029. type: string
  6030. type: object
  6031. finalizers:
  6032. items:
  6033. type: string
  6034. type: array
  6035. labels:
  6036. additionalProperties:
  6037. type: string
  6038. type: object
  6039. name:
  6040. type: string
  6041. namespace:
  6042. type: string
  6043. type: object
  6044. spec:
  6045. properties:
  6046. destination:
  6047. properties:
  6048. name:
  6049. type: string
  6050. namespace:
  6051. type: string
  6052. server:
  6053. type: string
  6054. type: object
  6055. ignoreDifferences:
  6056. items:
  6057. properties:
  6058. group:
  6059. type: string
  6060. jqPathExpressions:
  6061. items:
  6062. type: string
  6063. type: array
  6064. jsonPointers:
  6065. items:
  6066. type: string
  6067. type: array
  6068. kind:
  6069. type: string
  6070. managedFieldsManagers:
  6071. items:
  6072. type: string
  6073. type: array
  6074. name:
  6075. type: string
  6076. namespace:
  6077. type: string
  6078. required:
  6079. - kind
  6080. type: object
  6081. type: array
  6082. info:
  6083. items:
  6084. properties:
  6085. name:
  6086. type: string
  6087. value:
  6088. type: string
  6089. required:
  6090. - name
  6091. - value
  6092. type: object
  6093. type: array
  6094. project:
  6095. type: string
  6096. revisionHistoryLimit:
  6097. format: int64
  6098. type: integer
  6099. source:
  6100. properties:
  6101. chart:
  6102. type: string
  6103. directory:
  6104. properties:
  6105. exclude:
  6106. type: string
  6107. include:
  6108. type: string
  6109. jsonnet:
  6110. properties:
  6111. extVars:
  6112. items:
  6113. properties:
  6114. code:
  6115. type: boolean
  6116. name:
  6117. type: string
  6118. value:
  6119. type: string
  6120. required:
  6121. - name
  6122. - value
  6123. type: object
  6124. type: array
  6125. libs:
  6126. items:
  6127. type: string
  6128. type: array
  6129. tlas:
  6130. items:
  6131. properties:
  6132. code:
  6133. type: boolean
  6134. name:
  6135. type: string
  6136. value:
  6137. type: string
  6138. required:
  6139. - name
  6140. - value
  6141. type: object
  6142. type: array
  6143. type: object
  6144. recurse:
  6145. type: boolean
  6146. type: object
  6147. helm:
  6148. properties:
  6149. fileParameters:
  6150. items:
  6151. properties:
  6152. name:
  6153. type: string
  6154. path:
  6155. type: string
  6156. type: object
  6157. type: array
  6158. ignoreMissingValueFiles:
  6159. type: boolean
  6160. parameters:
  6161. items:
  6162. properties:
  6163. forceString:
  6164. type: boolean
  6165. name:
  6166. type: string
  6167. value:
  6168. type: string
  6169. type: object
  6170. type: array
  6171. passCredentials:
  6172. type: boolean
  6173. releaseName:
  6174. type: string
  6175. skipCrds:
  6176. type: boolean
  6177. valueFiles:
  6178. items:
  6179. type: string
  6180. type: array
  6181. values:
  6182. type: string
  6183. version:
  6184. type: string
  6185. type: object
  6186. kustomize:
  6187. properties:
  6188. commonAnnotations:
  6189. additionalProperties:
  6190. type: string
  6191. type: object
  6192. commonLabels:
  6193. additionalProperties:
  6194. type: string
  6195. type: object
  6196. forceCommonAnnotations:
  6197. type: boolean
  6198. forceCommonLabels:
  6199. type: boolean
  6200. images:
  6201. items:
  6202. type: string
  6203. type: array
  6204. namePrefix:
  6205. type: string
  6206. nameSuffix:
  6207. type: string
  6208. version:
  6209. type: string
  6210. type: object
  6211. path:
  6212. type: string
  6213. plugin:
  6214. properties:
  6215. env:
  6216. items:
  6217. properties:
  6218. name:
  6219. type: string
  6220. value:
  6221. type: string
  6222. required:
  6223. - name
  6224. - value
  6225. type: object
  6226. type: array
  6227. name:
  6228. type: string
  6229. type: object
  6230. repoURL:
  6231. type: string
  6232. targetRevision:
  6233. type: string
  6234. required:
  6235. - repoURL
  6236. type: object
  6237. syncPolicy:
  6238. properties:
  6239. automated:
  6240. properties:
  6241. allowEmpty:
  6242. type: boolean
  6243. prune:
  6244. type: boolean
  6245. selfHeal:
  6246. type: boolean
  6247. type: object
  6248. managedNamespaceMetadata:
  6249. properties:
  6250. annotations:
  6251. additionalProperties:
  6252. type: string
  6253. type: object
  6254. labels:
  6255. additionalProperties:
  6256. type: string
  6257. type: object
  6258. type: object
  6259. retry:
  6260. properties:
  6261. backoff:
  6262. properties:
  6263. duration:
  6264. type: string
  6265. factor:
  6266. format: int64
  6267. type: integer
  6268. maxDuration:
  6269. type: string
  6270. type: object
  6271. limit:
  6272. format: int64
  6273. type: integer
  6274. type: object
  6275. syncOptions:
  6276. items:
  6277. type: string
  6278. type: array
  6279. type: object
  6280. required:
  6281. - destination
  6282. - project
  6283. - source
  6284. type: object
  6285. required:
  6286. - metadata
  6287. - spec
  6288. type: object
  6289. values:
  6290. additionalProperties:
  6291. type: string
  6292. type: object
  6293. type: object
  6294. git:
  6295. properties:
  6296. directories:
  6297. items:
  6298. properties:
  6299. exclude:
  6300. type: boolean
  6301. path:
  6302. type: string
  6303. required:
  6304. - path
  6305. type: object
  6306. type: array
  6307. files:
  6308. items:
  6309. properties:
  6310. path:
  6311. type: string
  6312. required:
  6313. - path
  6314. type: object
  6315. type: array
  6316. repoURL:
  6317. type: string
  6318. requeueAfterSeconds:
  6319. format: int64
  6320. type: integer
  6321. revision:
  6322. type: string
  6323. template:
  6324. properties:
  6325. metadata:
  6326. properties:
  6327. annotations:
  6328. additionalProperties:
  6329. type: string
  6330. type: object
  6331. finalizers:
  6332. items:
  6333. type: string
  6334. type: array
  6335. labels:
  6336. additionalProperties:
  6337. type: string
  6338. type: object
  6339. name:
  6340. type: string
  6341. namespace:
  6342. type: string
  6343. type: object
  6344. spec:
  6345. properties:
  6346. destination:
  6347. properties:
  6348. name:
  6349. type: string
  6350. namespace:
  6351. type: string
  6352. server:
  6353. type: string
  6354. type: object
  6355. ignoreDifferences:
  6356. items:
  6357. properties:
  6358. group:
  6359. type: string
  6360. jqPathExpressions:
  6361. items:
  6362. type: string
  6363. type: array
  6364. jsonPointers:
  6365. items:
  6366. type: string
  6367. type: array
  6368. kind:
  6369. type: string
  6370. managedFieldsManagers:
  6371. items:
  6372. type: string
  6373. type: array
  6374. name:
  6375. type: string
  6376. namespace:
  6377. type: string
  6378. required:
  6379. - kind
  6380. type: object
  6381. type: array
  6382. info:
  6383. items:
  6384. properties:
  6385. name:
  6386. type: string
  6387. value:
  6388. type: string
  6389. required:
  6390. - name
  6391. - value
  6392. type: object
  6393. type: array
  6394. project:
  6395. type: string
  6396. revisionHistoryLimit:
  6397. format: int64
  6398. type: integer
  6399. source:
  6400. properties:
  6401. chart:
  6402. type: string
  6403. directory:
  6404. properties:
  6405. exclude:
  6406. type: string
  6407. include:
  6408. type: string
  6409. jsonnet:
  6410. properties:
  6411. extVars:
  6412. items:
  6413. properties:
  6414. code:
  6415. type: boolean
  6416. name:
  6417. type: string
  6418. value:
  6419. type: string
  6420. required:
  6421. - name
  6422. - value
  6423. type: object
  6424. type: array
  6425. libs:
  6426. items:
  6427. type: string
  6428. type: array
  6429. tlas:
  6430. items:
  6431. properties:
  6432. code:
  6433. type: boolean
  6434. name:
  6435. type: string
  6436. value:
  6437. type: string
  6438. required:
  6439. - name
  6440. - value
  6441. type: object
  6442. type: array
  6443. type: object
  6444. recurse:
  6445. type: boolean
  6446. type: object
  6447. helm:
  6448. properties:
  6449. fileParameters:
  6450. items:
  6451. properties:
  6452. name:
  6453. type: string
  6454. path:
  6455. type: string
  6456. type: object
  6457. type: array
  6458. ignoreMissingValueFiles:
  6459. type: boolean
  6460. parameters:
  6461. items:
  6462. properties:
  6463. forceString:
  6464. type: boolean
  6465. name:
  6466. type: string
  6467. value:
  6468. type: string
  6469. type: object
  6470. type: array
  6471. passCredentials:
  6472. type: boolean
  6473. releaseName:
  6474. type: string
  6475. skipCrds:
  6476. type: boolean
  6477. valueFiles:
  6478. items:
  6479. type: string
  6480. type: array
  6481. values:
  6482. type: string
  6483. version:
  6484. type: string
  6485. type: object
  6486. kustomize:
  6487. properties:
  6488. commonAnnotations:
  6489. additionalProperties:
  6490. type: string
  6491. type: object
  6492. commonLabels:
  6493. additionalProperties:
  6494. type: string
  6495. type: object
  6496. forceCommonAnnotations:
  6497. type: boolean
  6498. forceCommonLabels:
  6499. type: boolean
  6500. images:
  6501. items:
  6502. type: string
  6503. type: array
  6504. namePrefix:
  6505. type: string
  6506. nameSuffix:
  6507. type: string
  6508. version:
  6509. type: string
  6510. type: object
  6511. path:
  6512. type: string
  6513. plugin:
  6514. properties:
  6515. env:
  6516. items:
  6517. properties:
  6518. name:
  6519. type: string
  6520. value:
  6521. type: string
  6522. required:
  6523. - name
  6524. - value
  6525. type: object
  6526. type: array
  6527. name:
  6528. type: string
  6529. type: object
  6530. repoURL:
  6531. type: string
  6532. targetRevision:
  6533. type: string
  6534. required:
  6535. - repoURL
  6536. type: object
  6537. syncPolicy:
  6538. properties:
  6539. automated:
  6540. properties:
  6541. allowEmpty:
  6542. type: boolean
  6543. prune:
  6544. type: boolean
  6545. selfHeal:
  6546. type: boolean
  6547. type: object
  6548. managedNamespaceMetadata:
  6549. properties:
  6550. annotations:
  6551. additionalProperties:
  6552. type: string
  6553. type: object
  6554. labels:
  6555. additionalProperties:
  6556. type: string
  6557. type: object
  6558. type: object
  6559. retry:
  6560. properties:
  6561. backoff:
  6562. properties:
  6563. duration:
  6564. type: string
  6565. factor:
  6566. format: int64
  6567. type: integer
  6568. maxDuration:
  6569. type: string
  6570. type: object
  6571. limit:
  6572. format: int64
  6573. type: integer
  6574. type: object
  6575. syncOptions:
  6576. items:
  6577. type: string
  6578. type: array
  6579. type: object
  6580. required:
  6581. - destination
  6582. - project
  6583. - source
  6584. type: object
  6585. required:
  6586. - metadata
  6587. - spec
  6588. type: object
  6589. required:
  6590. - repoURL
  6591. - revision
  6592. type: object
  6593. list:
  6594. properties:
  6595. elements:
  6596. items:
  6597. x-kubernetes-preserve-unknown-fields: true
  6598. type: array
  6599. template:
  6600. properties:
  6601. metadata:
  6602. properties:
  6603. annotations:
  6604. additionalProperties:
  6605. type: string
  6606. type: object
  6607. finalizers:
  6608. items:
  6609. type: string
  6610. type: array
  6611. labels:
  6612. additionalProperties:
  6613. type: string
  6614. type: object
  6615. name:
  6616. type: string
  6617. namespace:
  6618. type: string
  6619. type: object
  6620. spec:
  6621. properties:
  6622. destination:
  6623. properties:
  6624. name:
  6625. type: string
  6626. namespace:
  6627. type: string
  6628. server:
  6629. type: string
  6630. type: object
  6631. ignoreDifferences:
  6632. items:
  6633. properties:
  6634. group:
  6635. type: string
  6636. jqPathExpressions:
  6637. items:
  6638. type: string
  6639. type: array
  6640. jsonPointers:
  6641. items:
  6642. type: string
  6643. type: array
  6644. kind:
  6645. type: string
  6646. managedFieldsManagers:
  6647. items:
  6648. type: string
  6649. type: array
  6650. name:
  6651. type: string
  6652. namespace:
  6653. type: string
  6654. required:
  6655. - kind
  6656. type: object
  6657. type: array
  6658. info:
  6659. items:
  6660. properties:
  6661. name:
  6662. type: string
  6663. value:
  6664. type: string
  6665. required:
  6666. - name
  6667. - value
  6668. type: object
  6669. type: array
  6670. project:
  6671. type: string
  6672. revisionHistoryLimit:
  6673. format: int64
  6674. type: integer
  6675. source:
  6676. properties:
  6677. chart:
  6678. type: string
  6679. directory:
  6680. properties:
  6681. exclude:
  6682. type: string
  6683. include:
  6684. type: string
  6685. jsonnet:
  6686. properties:
  6687. extVars:
  6688. items:
  6689. properties:
  6690. code:
  6691. type: boolean
  6692. name:
  6693. type: string
  6694. value:
  6695. type: string
  6696. required:
  6697. - name
  6698. - value
  6699. type: object
  6700. type: array
  6701. libs:
  6702. items:
  6703. type: string
  6704. type: array
  6705. tlas:
  6706. items:
  6707. properties:
  6708. code:
  6709. type: boolean
  6710. name:
  6711. type: string
  6712. value:
  6713. type: string
  6714. required:
  6715. - name
  6716. - value
  6717. type: object
  6718. type: array
  6719. type: object
  6720. recurse:
  6721. type: boolean
  6722. type: object
  6723. helm:
  6724. properties:
  6725. fileParameters:
  6726. items:
  6727. properties:
  6728. name:
  6729. type: string
  6730. path:
  6731. type: string
  6732. type: object
  6733. type: array
  6734. ignoreMissingValueFiles:
  6735. type: boolean
  6736. parameters:
  6737. items:
  6738. properties:
  6739. forceString:
  6740. type: boolean
  6741. name:
  6742. type: string
  6743. value:
  6744. type: string
  6745. type: object
  6746. type: array
  6747. passCredentials:
  6748. type: boolean
  6749. releaseName:
  6750. type: string
  6751. skipCrds:
  6752. type: boolean
  6753. valueFiles:
  6754. items:
  6755. type: string
  6756. type: array
  6757. values:
  6758. type: string
  6759. version:
  6760. type: string
  6761. type: object
  6762. kustomize:
  6763. properties:
  6764. commonAnnotations:
  6765. additionalProperties:
  6766. type: string
  6767. type: object
  6768. commonLabels:
  6769. additionalProperties:
  6770. type: string
  6771. type: object
  6772. forceCommonAnnotations:
  6773. type: boolean
  6774. forceCommonLabels:
  6775. type: boolean
  6776. images:
  6777. items:
  6778. type: string
  6779. type: array
  6780. namePrefix:
  6781. type: string
  6782. nameSuffix:
  6783. type: string
  6784. version:
  6785. type: string
  6786. type: object
  6787. path:
  6788. type: string
  6789. plugin:
  6790. properties:
  6791. env:
  6792. items:
  6793. properties:
  6794. name:
  6795. type: string
  6796. value:
  6797. type: string
  6798. required:
  6799. - name
  6800. - value
  6801. type: object
  6802. type: array
  6803. name:
  6804. type: string
  6805. type: object
  6806. repoURL:
  6807. type: string
  6808. targetRevision:
  6809. type: string
  6810. required:
  6811. - repoURL
  6812. type: object
  6813. syncPolicy:
  6814. properties:
  6815. automated:
  6816. properties:
  6817. allowEmpty:
  6818. type: boolean
  6819. prune:
  6820. type: boolean
  6821. selfHeal:
  6822. type: boolean
  6823. type: object
  6824. managedNamespaceMetadata:
  6825. properties:
  6826. annotations:
  6827. additionalProperties:
  6828. type: string
  6829. type: object
  6830. labels:
  6831. additionalProperties:
  6832. type: string
  6833. type: object
  6834. type: object
  6835. retry:
  6836. properties:
  6837. backoff:
  6838. properties:
  6839. duration:
  6840. type: string
  6841. factor:
  6842. format: int64
  6843. type: integer
  6844. maxDuration:
  6845. type: string
  6846. type: object
  6847. limit:
  6848. format: int64
  6849. type: integer
  6850. type: object
  6851. syncOptions:
  6852. items:
  6853. type: string
  6854. type: array
  6855. type: object
  6856. required:
  6857. - destination
  6858. - project
  6859. - source
  6860. type: object
  6861. required:
  6862. - metadata
  6863. - spec
  6864. type: object
  6865. required:
  6866. - elements
  6867. type: object
  6868. matrix:
  6869. x-kubernetes-preserve-unknown-fields: true
  6870. merge:
  6871. x-kubernetes-preserve-unknown-fields: true
  6872. pullRequest:
  6873. properties:
  6874. bitbucketServer:
  6875. properties:
  6876. api:
  6877. type: string
  6878. basicAuth:
  6879. properties:
  6880. passwordRef:
  6881. properties:
  6882. key:
  6883. type: string
  6884. secretName:
  6885. type: string
  6886. required:
  6887. - key
  6888. - secretName
  6889. type: object
  6890. username:
  6891. type: string
  6892. required:
  6893. - passwordRef
  6894. - username
  6895. type: object
  6896. project:
  6897. type: string
  6898. repo:
  6899. type: string
  6900. required:
  6901. - api
  6902. - project
  6903. - repo
  6904. type: object
  6905. filters:
  6906. items:
  6907. properties:
  6908. branchMatch:
  6909. type: string
  6910. type: object
  6911. type: array
  6912. gitea:
  6913. properties:
  6914. api:
  6915. type: string
  6916. insecure:
  6917. type: boolean
  6918. owner:
  6919. type: string
  6920. repo:
  6921. type: string
  6922. tokenRef:
  6923. properties:
  6924. key:
  6925. type: string
  6926. secretName:
  6927. type: string
  6928. required:
  6929. - key
  6930. - secretName
  6931. type: object
  6932. required:
  6933. - api
  6934. - owner
  6935. - repo
  6936. type: object
  6937. github:
  6938. properties:
  6939. api:
  6940. type: string
  6941. appSecretName:
  6942. type: string
  6943. labels:
  6944. items:
  6945. type: string
  6946. type: array
  6947. owner:
  6948. type: string
  6949. repo:
  6950. type: string
  6951. tokenRef:
  6952. properties:
  6953. key:
  6954. type: string
  6955. secretName:
  6956. type: string
  6957. required:
  6958. - key
  6959. - secretName
  6960. type: object
  6961. required:
  6962. - owner
  6963. - repo
  6964. type: object
  6965. gitlab:
  6966. properties:
  6967. api:
  6968. type: string
  6969. labels:
  6970. items:
  6971. type: string
  6972. type: array
  6973. project:
  6974. type: string
  6975. pullRequestState:
  6976. type: string
  6977. tokenRef:
  6978. properties:
  6979. key:
  6980. type: string
  6981. secretName:
  6982. type: string
  6983. required:
  6984. - key
  6985. - secretName
  6986. type: object
  6987. required:
  6988. - project
  6989. type: object
  6990. requeueAfterSeconds:
  6991. format: int64
  6992. type: integer
  6993. template:
  6994. properties:
  6995. metadata:
  6996. properties:
  6997. annotations:
  6998. additionalProperties:
  6999. type: string
  7000. type: object
  7001. finalizers:
  7002. items:
  7003. type: string
  7004. type: array
  7005. labels:
  7006. additionalProperties:
  7007. type: string
  7008. type: object
  7009. name:
  7010. type: string
  7011. namespace:
  7012. type: string
  7013. type: object
  7014. spec:
  7015. properties:
  7016. destination:
  7017. properties:
  7018. name:
  7019. type: string
  7020. namespace:
  7021. type: string
  7022. server:
  7023. type: string
  7024. type: object
  7025. ignoreDifferences:
  7026. items:
  7027. properties:
  7028. group:
  7029. type: string
  7030. jqPathExpressions:
  7031. items:
  7032. type: string
  7033. type: array
  7034. jsonPointers:
  7035. items:
  7036. type: string
  7037. type: array
  7038. kind:
  7039. type: string
  7040. managedFieldsManagers:
  7041. items:
  7042. type: string
  7043. type: array
  7044. name:
  7045. type: string
  7046. namespace:
  7047. type: string
  7048. required:
  7049. - kind
  7050. type: object
  7051. type: array
  7052. info:
  7053. items:
  7054. properties:
  7055. name:
  7056. type: string
  7057. value:
  7058. type: string
  7059. required:
  7060. - name
  7061. - value
  7062. type: object
  7063. type: array
  7064. project:
  7065. type: string
  7066. revisionHistoryLimit:
  7067. format: int64
  7068. type: integer
  7069. source:
  7070. properties:
  7071. chart:
  7072. type: string
  7073. directory:
  7074. properties:
  7075. exclude:
  7076. type: string
  7077. include:
  7078. type: string
  7079. jsonnet:
  7080. properties:
  7081. extVars:
  7082. items:
  7083. properties:
  7084. code:
  7085. type: boolean
  7086. name:
  7087. type: string
  7088. value:
  7089. type: string
  7090. required:
  7091. - name
  7092. - value
  7093. type: object
  7094. type: array
  7095. libs:
  7096. items:
  7097. type: string
  7098. type: array
  7099. tlas:
  7100. items:
  7101. properties:
  7102. code:
  7103. type: boolean
  7104. name:
  7105. type: string
  7106. value:
  7107. type: string
  7108. required:
  7109. - name
  7110. - value
  7111. type: object
  7112. type: array
  7113. type: object
  7114. recurse:
  7115. type: boolean
  7116. type: object
  7117. helm:
  7118. properties:
  7119. fileParameters:
  7120. items:
  7121. properties:
  7122. name:
  7123. type: string
  7124. path:
  7125. type: string
  7126. type: object
  7127. type: array
  7128. ignoreMissingValueFiles:
  7129. type: boolean
  7130. parameters:
  7131. items:
  7132. properties:
  7133. forceString:
  7134. type: boolean
  7135. name:
  7136. type: string
  7137. value:
  7138. type: string
  7139. type: object
  7140. type: array
  7141. passCredentials:
  7142. type: boolean
  7143. releaseName:
  7144. type: string
  7145. skipCrds:
  7146. type: boolean
  7147. valueFiles:
  7148. items:
  7149. type: string
  7150. type: array
  7151. values:
  7152. type: string
  7153. version:
  7154. type: string
  7155. type: object
  7156. kustomize:
  7157. properties:
  7158. commonAnnotations:
  7159. additionalProperties:
  7160. type: string
  7161. type: object
  7162. commonLabels:
  7163. additionalProperties:
  7164. type: string
  7165. type: object
  7166. forceCommonAnnotations:
  7167. type: boolean
  7168. forceCommonLabels:
  7169. type: boolean
  7170. images:
  7171. items:
  7172. type: string
  7173. type: array
  7174. namePrefix:
  7175. type: string
  7176. nameSuffix:
  7177. type: string
  7178. version:
  7179. type: string
  7180. type: object
  7181. path:
  7182. type: string
  7183. plugin:
  7184. properties:
  7185. env:
  7186. items:
  7187. properties:
  7188. name:
  7189. type: string
  7190. value:
  7191. type: string
  7192. required:
  7193. - name
  7194. - value
  7195. type: object
  7196. type: array
  7197. name:
  7198. type: string
  7199. type: object
  7200. repoURL:
  7201. type: string
  7202. targetRevision:
  7203. type: string
  7204. required:
  7205. - repoURL
  7206. type: object
  7207. syncPolicy:
  7208. properties:
  7209. automated:
  7210. properties:
  7211. allowEmpty:
  7212. type: boolean
  7213. prune:
  7214. type: boolean
  7215. selfHeal:
  7216. type: boolean
  7217. type: object
  7218. managedNamespaceMetadata:
  7219. properties:
  7220. annotations:
  7221. additionalProperties:
  7222. type: string
  7223. type: object
  7224. labels:
  7225. additionalProperties:
  7226. type: string
  7227. type: object
  7228. type: object
  7229. retry:
  7230. properties:
  7231. backoff:
  7232. properties:
  7233. duration:
  7234. type: string
  7235. factor:
  7236. format: int64
  7237. type: integer
  7238. maxDuration:
  7239. type: string
  7240. type: object
  7241. limit:
  7242. format: int64
  7243. type: integer
  7244. type: object
  7245. syncOptions:
  7246. items:
  7247. type: string
  7248. type: array
  7249. type: object
  7250. required:
  7251. - destination
  7252. - project
  7253. - source
  7254. type: object
  7255. required:
  7256. - metadata
  7257. - spec
  7258. type: object
  7259. type: object
  7260. scmProvider:
  7261. properties:
  7262. azureDevOps:
  7263. properties:
  7264. accessTokenRef:
  7265. properties:
  7266. key:
  7267. type: string
  7268. secretName:
  7269. type: string
  7270. required:
  7271. - key
  7272. - secretName
  7273. type: object
  7274. allBranches:
  7275. type: boolean
  7276. api:
  7277. type: string
  7278. organization:
  7279. type: string
  7280. teamProject:
  7281. type: string
  7282. required:
  7283. - accessTokenRef
  7284. - organization
  7285. - teamProject
  7286. type: object
  7287. bitbucket:
  7288. properties:
  7289. allBranches:
  7290. type: boolean
  7291. appPasswordRef:
  7292. properties:
  7293. key:
  7294. type: string
  7295. secretName:
  7296. type: string
  7297. required:
  7298. - key
  7299. - secretName
  7300. type: object
  7301. owner:
  7302. type: string
  7303. user:
  7304. type: string
  7305. required:
  7306. - appPasswordRef
  7307. - owner
  7308. - user
  7309. type: object
  7310. bitbucketServer:
  7311. properties:
  7312. allBranches:
  7313. type: boolean
  7314. api:
  7315. type: string
  7316. basicAuth:
  7317. properties:
  7318. passwordRef:
  7319. properties:
  7320. key:
  7321. type: string
  7322. secretName:
  7323. type: string
  7324. required:
  7325. - key
  7326. - secretName
  7327. type: object
  7328. username:
  7329. type: string
  7330. required:
  7331. - passwordRef
  7332. - username
  7333. type: object
  7334. project:
  7335. type: string
  7336. required:
  7337. - api
  7338. - project
  7339. type: object
  7340. cloneProtocol:
  7341. type: string
  7342. filters:
  7343. items:
  7344. properties:
  7345. branchMatch:
  7346. type: string
  7347. labelMatch:
  7348. type: string
  7349. pathsDoNotExist:
  7350. items:
  7351. type: string
  7352. type: array
  7353. pathsExist:
  7354. items:
  7355. type: string
  7356. type: array
  7357. repositoryMatch:
  7358. type: string
  7359. type: object
  7360. type: array
  7361. gitea:
  7362. properties:
  7363. allBranches:
  7364. type: boolean
  7365. api:
  7366. type: string
  7367. insecure:
  7368. type: boolean
  7369. owner:
  7370. type: string
  7371. tokenRef:
  7372. properties:
  7373. key:
  7374. type: string
  7375. secretName:
  7376. type: string
  7377. required:
  7378. - key
  7379. - secretName
  7380. type: object
  7381. required:
  7382. - api
  7383. - owner
  7384. type: object
  7385. github:
  7386. properties:
  7387. allBranches:
  7388. type: boolean
  7389. api:
  7390. type: string
  7391. appSecretName:
  7392. type: string
  7393. organization:
  7394. type: string
  7395. tokenRef:
  7396. properties:
  7397. key:
  7398. type: string
  7399. secretName:
  7400. type: string
  7401. required:
  7402. - key
  7403. - secretName
  7404. type: object
  7405. required:
  7406. - organization
  7407. type: object
  7408. gitlab:
  7409. properties:
  7410. allBranches:
  7411. type: boolean
  7412. api:
  7413. type: string
  7414. group:
  7415. type: string
  7416. includeSubgroups:
  7417. type: boolean
  7418. tokenRef:
  7419. properties:
  7420. key:
  7421. type: string
  7422. secretName:
  7423. type: string
  7424. required:
  7425. - key
  7426. - secretName
  7427. type: object
  7428. required:
  7429. - group
  7430. type: object
  7431. requeueAfterSeconds:
  7432. format: int64
  7433. type: integer
  7434. template:
  7435. properties:
  7436. metadata:
  7437. properties:
  7438. annotations:
  7439. additionalProperties:
  7440. type: string
  7441. type: object
  7442. finalizers:
  7443. items:
  7444. type: string
  7445. type: array
  7446. labels:
  7447. additionalProperties:
  7448. type: string
  7449. type: object
  7450. name:
  7451. type: string
  7452. namespace:
  7453. type: string
  7454. type: object
  7455. spec:
  7456. properties:
  7457. destination:
  7458. properties:
  7459. name:
  7460. type: string
  7461. namespace:
  7462. type: string
  7463. server:
  7464. type: string
  7465. type: object
  7466. ignoreDifferences:
  7467. items:
  7468. properties:
  7469. group:
  7470. type: string
  7471. jqPathExpressions:
  7472. items:
  7473. type: string
  7474. type: array
  7475. jsonPointers:
  7476. items:
  7477. type: string
  7478. type: array
  7479. kind:
  7480. type: string
  7481. managedFieldsManagers:
  7482. items:
  7483. type: string
  7484. type: array
  7485. name:
  7486. type: string
  7487. namespace:
  7488. type: string
  7489. required:
  7490. - kind
  7491. type: object
  7492. type: array
  7493. info:
  7494. items:
  7495. properties:
  7496. name:
  7497. type: string
  7498. value:
  7499. type: string
  7500. required:
  7501. - name
  7502. - value
  7503. type: object
  7504. type: array
  7505. project:
  7506. type: string
  7507. revisionHistoryLimit:
  7508. format: int64
  7509. type: integer
  7510. source:
  7511. properties:
  7512. chart:
  7513. type: string
  7514. directory:
  7515. properties:
  7516. exclude:
  7517. type: string
  7518. include:
  7519. type: string
  7520. jsonnet:
  7521. properties:
  7522. extVars:
  7523. items:
  7524. properties:
  7525. code:
  7526. type: boolean
  7527. name:
  7528. type: string
  7529. value:
  7530. type: string
  7531. required:
  7532. - name
  7533. - value
  7534. type: object
  7535. type: array
  7536. libs:
  7537. items:
  7538. type: string
  7539. type: array
  7540. tlas:
  7541. items:
  7542. properties:
  7543. code:
  7544. type: boolean
  7545. name:
  7546. type: string
  7547. value:
  7548. type: string
  7549. required:
  7550. - name
  7551. - value
  7552. type: object
  7553. type: array
  7554. type: object
  7555. recurse:
  7556. type: boolean
  7557. type: object
  7558. helm:
  7559. properties:
  7560. fileParameters:
  7561. items:
  7562. properties:
  7563. name:
  7564. type: string
  7565. path:
  7566. type: string
  7567. type: object
  7568. type: array
  7569. ignoreMissingValueFiles:
  7570. type: boolean
  7571. parameters:
  7572. items:
  7573. properties:
  7574. forceString:
  7575. type: boolean
  7576. name:
  7577. type: string
  7578. value:
  7579. type: string
  7580. type: object
  7581. type: array
  7582. passCredentials:
  7583. type: boolean
  7584. releaseName:
  7585. type: string
  7586. skipCrds:
  7587. type: boolean
  7588. valueFiles:
  7589. items:
  7590. type: string
  7591. type: array
  7592. values:
  7593. type: string
  7594. version:
  7595. type: string
  7596. type: object
  7597. kustomize:
  7598. properties:
  7599. commonAnnotations:
  7600. additionalProperties:
  7601. type: string
  7602. type: object
  7603. commonLabels:
  7604. additionalProperties:
  7605. type: string
  7606. type: object
  7607. forceCommonAnnotations:
  7608. type: boolean
  7609. forceCommonLabels:
  7610. type: boolean
  7611. images:
  7612. items:
  7613. type: string
  7614. type: array
  7615. namePrefix:
  7616. type: string
  7617. nameSuffix:
  7618. type: string
  7619. version:
  7620. type: string
  7621. type: object
  7622. path:
  7623. type: string
  7624. plugin:
  7625. properties:
  7626. env:
  7627. items:
  7628. properties:
  7629. name:
  7630. type: string
  7631. value:
  7632. type: string
  7633. required:
  7634. - name
  7635. - value
  7636. type: object
  7637. type: array
  7638. name:
  7639. type: string
  7640. type: object
  7641. repoURL:
  7642. type: string
  7643. targetRevision:
  7644. type: string
  7645. required:
  7646. - repoURL
  7647. type: object
  7648. syncPolicy:
  7649. properties:
  7650. automated:
  7651. properties:
  7652. allowEmpty:
  7653. type: boolean
  7654. prune:
  7655. type: boolean
  7656. selfHeal:
  7657. type: boolean
  7658. type: object
  7659. managedNamespaceMetadata:
  7660. properties:
  7661. annotations:
  7662. additionalProperties:
  7663. type: string
  7664. type: object
  7665. labels:
  7666. additionalProperties:
  7667. type: string
  7668. type: object
  7669. type: object
  7670. retry:
  7671. properties:
  7672. backoff:
  7673. properties:
  7674. duration:
  7675. type: string
  7676. factor:
  7677. format: int64
  7678. type: integer
  7679. maxDuration:
  7680. type: string
  7681. type: object
  7682. limit:
  7683. format: int64
  7684. type: integer
  7685. type: object
  7686. syncOptions:
  7687. items:
  7688. type: string
  7689. type: array
  7690. type: object
  7691. required:
  7692. - destination
  7693. - project
  7694. - source
  7695. type: object
  7696. required:
  7697. - metadata
  7698. - spec
  7699. type: object
  7700. type: object
  7701. selector:
  7702. properties:
  7703. matchExpressions:
  7704. items:
  7705. properties:
  7706. key:
  7707. type: string
  7708. operator:
  7709. type: string
  7710. values:
  7711. items:
  7712. type: string
  7713. type: array
  7714. required:
  7715. - key
  7716. - operator
  7717. type: object
  7718. type: array
  7719. matchLabels:
  7720. additionalProperties:
  7721. type: string
  7722. type: object
  7723. type: object
  7724. type: object
  7725. type: array
  7726. mergeKeys:
  7727. items:
  7728. type: string
  7729. type: array
  7730. template:
  7731. properties:
  7732. metadata:
  7733. properties:
  7734. annotations:
  7735. additionalProperties:
  7736. type: string
  7737. type: object
  7738. finalizers:
  7739. items:
  7740. type: string
  7741. type: array
  7742. labels:
  7743. additionalProperties:
  7744. type: string
  7745. type: object
  7746. name:
  7747. type: string
  7748. namespace:
  7749. type: string
  7750. type: object
  7751. spec:
  7752. properties:
  7753. destination:
  7754. properties:
  7755. name:
  7756. type: string
  7757. namespace:
  7758. type: string
  7759. server:
  7760. type: string
  7761. type: object
  7762. ignoreDifferences:
  7763. items:
  7764. properties:
  7765. group:
  7766. type: string
  7767. jqPathExpressions:
  7768. items:
  7769. type: string
  7770. type: array
  7771. jsonPointers:
  7772. items:
  7773. type: string
  7774. type: array
  7775. kind:
  7776. type: string
  7777. managedFieldsManagers:
  7778. items:
  7779. type: string
  7780. type: array
  7781. name:
  7782. type: string
  7783. namespace:
  7784. type: string
  7785. required:
  7786. - kind
  7787. type: object
  7788. type: array
  7789. info:
  7790. items:
  7791. properties:
  7792. name:
  7793. type: string
  7794. value:
  7795. type: string
  7796. required:
  7797. - name
  7798. - value
  7799. type: object
  7800. type: array
  7801. project:
  7802. type: string
  7803. revisionHistoryLimit:
  7804. format: int64
  7805. type: integer
  7806. source:
  7807. properties:
  7808. chart:
  7809. type: string
  7810. directory:
  7811. properties:
  7812. exclude:
  7813. type: string
  7814. include:
  7815. type: string
  7816. jsonnet:
  7817. properties:
  7818. extVars:
  7819. items:
  7820. properties:
  7821. code:
  7822. type: boolean
  7823. name:
  7824. type: string
  7825. value:
  7826. type: string
  7827. required:
  7828. - name
  7829. - value
  7830. type: object
  7831. type: array
  7832. libs:
  7833. items:
  7834. type: string
  7835. type: array
  7836. tlas:
  7837. items:
  7838. properties:
  7839. code:
  7840. type: boolean
  7841. name:
  7842. type: string
  7843. value:
  7844. type: string
  7845. required:
  7846. - name
  7847. - value
  7848. type: object
  7849. type: array
  7850. type: object
  7851. recurse:
  7852. type: boolean
  7853. type: object
  7854. helm:
  7855. properties:
  7856. fileParameters:
  7857. items:
  7858. properties:
  7859. name:
  7860. type: string
  7861. path:
  7862. type: string
  7863. type: object
  7864. type: array
  7865. ignoreMissingValueFiles:
  7866. type: boolean
  7867. parameters:
  7868. items:
  7869. properties:
  7870. forceString:
  7871. type: boolean
  7872. name:
  7873. type: string
  7874. value:
  7875. type: string
  7876. type: object
  7877. type: array
  7878. passCredentials:
  7879. type: boolean
  7880. releaseName:
  7881. type: string
  7882. skipCrds:
  7883. type: boolean
  7884. valueFiles:
  7885. items:
  7886. type: string
  7887. type: array
  7888. values:
  7889. type: string
  7890. version:
  7891. type: string
  7892. type: object
  7893. kustomize:
  7894. properties:
  7895. commonAnnotations:
  7896. additionalProperties:
  7897. type: string
  7898. type: object
  7899. commonLabels:
  7900. additionalProperties:
  7901. type: string
  7902. type: object
  7903. forceCommonAnnotations:
  7904. type: boolean
  7905. forceCommonLabels:
  7906. type: boolean
  7907. images:
  7908. items:
  7909. type: string
  7910. type: array
  7911. namePrefix:
  7912. type: string
  7913. nameSuffix:
  7914. type: string
  7915. version:
  7916. type: string
  7917. type: object
  7918. path:
  7919. type: string
  7920. plugin:
  7921. properties:
  7922. env:
  7923. items:
  7924. properties:
  7925. name:
  7926. type: string
  7927. value:
  7928. type: string
  7929. required:
  7930. - name
  7931. - value
  7932. type: object
  7933. type: array
  7934. name:
  7935. type: string
  7936. type: object
  7937. repoURL:
  7938. type: string
  7939. targetRevision:
  7940. type: string
  7941. required:
  7942. - repoURL
  7943. type: object
  7944. syncPolicy:
  7945. properties:
  7946. automated:
  7947. properties:
  7948. allowEmpty:
  7949. type: boolean
  7950. prune:
  7951. type: boolean
  7952. selfHeal:
  7953. type: boolean
  7954. type: object
  7955. managedNamespaceMetadata:
  7956. properties:
  7957. annotations:
  7958. additionalProperties:
  7959. type: string
  7960. type: object
  7961. labels:
  7962. additionalProperties:
  7963. type: string
  7964. type: object
  7965. type: object
  7966. retry:
  7967. properties:
  7968. backoff:
  7969. properties:
  7970. duration:
  7971. type: string
  7972. factor:
  7973. format: int64
  7974. type: integer
  7975. maxDuration:
  7976. type: string
  7977. type: object
  7978. limit:
  7979. format: int64
  7980. type: integer
  7981. type: object
  7982. syncOptions:
  7983. items:
  7984. type: string
  7985. type: array
  7986. type: object
  7987. required:
  7988. - destination
  7989. - project
  7990. - source
  7991. type: object
  7992. required:
  7993. - metadata
  7994. - spec
  7995. type: object
  7996. required:
  7997. - generators
  7998. - mergeKeys
  7999. type: object
  8000. pullRequest:
  8001. properties:
  8002. bitbucketServer:
  8003. properties:
  8004. api:
  8005. type: string
  8006. basicAuth:
  8007. properties:
  8008. passwordRef:
  8009. properties:
  8010. key:
  8011. type: string
  8012. secretName:
  8013. type: string
  8014. required:
  8015. - key
  8016. - secretName
  8017. type: object
  8018. username:
  8019. type: string
  8020. required:
  8021. - passwordRef
  8022. - username
  8023. type: object
  8024. project:
  8025. type: string
  8026. repo:
  8027. type: string
  8028. required:
  8029. - api
  8030. - project
  8031. - repo
  8032. type: object
  8033. filters:
  8034. items:
  8035. properties:
  8036. branchMatch:
  8037. type: string
  8038. type: object
  8039. type: array
  8040. gitea:
  8041. properties:
  8042. api:
  8043. type: string
  8044. insecure:
  8045. type: boolean
  8046. owner:
  8047. type: string
  8048. repo:
  8049. type: string
  8050. tokenRef:
  8051. properties:
  8052. key:
  8053. type: string
  8054. secretName:
  8055. type: string
  8056. required:
  8057. - key
  8058. - secretName
  8059. type: object
  8060. required:
  8061. - api
  8062. - owner
  8063. - repo
  8064. type: object
  8065. github:
  8066. properties:
  8067. api:
  8068. type: string
  8069. appSecretName:
  8070. type: string
  8071. labels:
  8072. items:
  8073. type: string
  8074. type: array
  8075. owner:
  8076. type: string
  8077. repo:
  8078. type: string
  8079. tokenRef:
  8080. properties:
  8081. key:
  8082. type: string
  8083. secretName:
  8084. type: string
  8085. required:
  8086. - key
  8087. - secretName
  8088. type: object
  8089. required:
  8090. - owner
  8091. - repo
  8092. type: object
  8093. gitlab:
  8094. properties:
  8095. api:
  8096. type: string
  8097. labels:
  8098. items:
  8099. type: string
  8100. type: array
  8101. project:
  8102. type: string
  8103. pullRequestState:
  8104. type: string
  8105. tokenRef:
  8106. properties:
  8107. key:
  8108. type: string
  8109. secretName:
  8110. type: string
  8111. required:
  8112. - key
  8113. - secretName
  8114. type: object
  8115. required:
  8116. - project
  8117. type: object
  8118. requeueAfterSeconds:
  8119. format: int64
  8120. type: integer
  8121. template:
  8122. properties:
  8123. metadata:
  8124. properties:
  8125. annotations:
  8126. additionalProperties:
  8127. type: string
  8128. type: object
  8129. finalizers:
  8130. items:
  8131. type: string
  8132. type: array
  8133. labels:
  8134. additionalProperties:
  8135. type: string
  8136. type: object
  8137. name:
  8138. type: string
  8139. namespace:
  8140. type: string
  8141. type: object
  8142. spec:
  8143. properties:
  8144. destination:
  8145. properties:
  8146. name:
  8147. type: string
  8148. namespace:
  8149. type: string
  8150. server:
  8151. type: string
  8152. type: object
  8153. ignoreDifferences:
  8154. items:
  8155. properties:
  8156. group:
  8157. type: string
  8158. jqPathExpressions:
  8159. items:
  8160. type: string
  8161. type: array
  8162. jsonPointers:
  8163. items:
  8164. type: string
  8165. type: array
  8166. kind:
  8167. type: string
  8168. managedFieldsManagers:
  8169. items:
  8170. type: string
  8171. type: array
  8172. name:
  8173. type: string
  8174. namespace:
  8175. type: string
  8176. required:
  8177. - kind
  8178. type: object
  8179. type: array
  8180. info:
  8181. items:
  8182. properties:
  8183. name:
  8184. type: string
  8185. value:
  8186. type: string
  8187. required:
  8188. - name
  8189. - value
  8190. type: object
  8191. type: array
  8192. project:
  8193. type: string
  8194. revisionHistoryLimit:
  8195. format: int64
  8196. type: integer
  8197. source:
  8198. properties:
  8199. chart:
  8200. type: string
  8201. directory:
  8202. properties:
  8203. exclude:
  8204. type: string
  8205. include:
  8206. type: string
  8207. jsonnet:
  8208. properties:
  8209. extVars:
  8210. items:
  8211. properties:
  8212. code:
  8213. type: boolean
  8214. name:
  8215. type: string
  8216. value:
  8217. type: string
  8218. required:
  8219. - name
  8220. - value
  8221. type: object
  8222. type: array
  8223. libs:
  8224. items:
  8225. type: string
  8226. type: array
  8227. tlas:
  8228. items:
  8229. properties:
  8230. code:
  8231. type: boolean
  8232. name:
  8233. type: string
  8234. value:
  8235. type: string
  8236. required:
  8237. - name
  8238. - value
  8239. type: object
  8240. type: array
  8241. type: object
  8242. recurse:
  8243. type: boolean
  8244. type: object
  8245. helm:
  8246. properties:
  8247. fileParameters:
  8248. items:
  8249. properties:
  8250. name:
  8251. type: string
  8252. path:
  8253. type: string
  8254. type: object
  8255. type: array
  8256. ignoreMissingValueFiles:
  8257. type: boolean
  8258. parameters:
  8259. items:
  8260. properties:
  8261. forceString:
  8262. type: boolean
  8263. name:
  8264. type: string
  8265. value:
  8266. type: string
  8267. type: object
  8268. type: array
  8269. passCredentials:
  8270. type: boolean
  8271. releaseName:
  8272. type: string
  8273. skipCrds:
  8274. type: boolean
  8275. valueFiles:
  8276. items:
  8277. type: string
  8278. type: array
  8279. values:
  8280. type: string
  8281. version:
  8282. type: string
  8283. type: object
  8284. kustomize:
  8285. properties:
  8286. commonAnnotations:
  8287. additionalProperties:
  8288. type: string
  8289. type: object
  8290. commonLabels:
  8291. additionalProperties:
  8292. type: string
  8293. type: object
  8294. forceCommonAnnotations:
  8295. type: boolean
  8296. forceCommonLabels:
  8297. type: boolean
  8298. images:
  8299. items:
  8300. type: string
  8301. type: array
  8302. namePrefix:
  8303. type: string
  8304. nameSuffix:
  8305. type: string
  8306. version:
  8307. type: string
  8308. type: object
  8309. path:
  8310. type: string
  8311. plugin:
  8312. properties:
  8313. env:
  8314. items:
  8315. properties:
  8316. name:
  8317. type: string
  8318. value:
  8319. type: string
  8320. required:
  8321. - name
  8322. - value
  8323. type: object
  8324. type: array
  8325. name:
  8326. type: string
  8327. type: object
  8328. repoURL:
  8329. type: string
  8330. targetRevision:
  8331. type: string
  8332. required:
  8333. - repoURL
  8334. type: object
  8335. syncPolicy:
  8336. properties:
  8337. automated:
  8338. properties:
  8339. allowEmpty:
  8340. type: boolean
  8341. prune:
  8342. type: boolean
  8343. selfHeal:
  8344. type: boolean
  8345. type: object
  8346. managedNamespaceMetadata:
  8347. properties:
  8348. annotations:
  8349. additionalProperties:
  8350. type: string
  8351. type: object
  8352. labels:
  8353. additionalProperties:
  8354. type: string
  8355. type: object
  8356. type: object
  8357. retry:
  8358. properties:
  8359. backoff:
  8360. properties:
  8361. duration:
  8362. type: string
  8363. factor:
  8364. format: int64
  8365. type: integer
  8366. maxDuration:
  8367. type: string
  8368. type: object
  8369. limit:
  8370. format: int64
  8371. type: integer
  8372. type: object
  8373. syncOptions:
  8374. items:
  8375. type: string
  8376. type: array
  8377. type: object
  8378. required:
  8379. - destination
  8380. - project
  8381. - source
  8382. type: object
  8383. required:
  8384. - metadata
  8385. - spec
  8386. type: object
  8387. type: object
  8388. scmProvider:
  8389. properties:
  8390. azureDevOps:
  8391. properties:
  8392. accessTokenRef:
  8393. properties:
  8394. key:
  8395. type: string
  8396. secretName:
  8397. type: string
  8398. required:
  8399. - key
  8400. - secretName
  8401. type: object
  8402. allBranches:
  8403. type: boolean
  8404. api:
  8405. type: string
  8406. organization:
  8407. type: string
  8408. teamProject:
  8409. type: string
  8410. required:
  8411. - accessTokenRef
  8412. - organization
  8413. - teamProject
  8414. type: object
  8415. bitbucket:
  8416. properties:
  8417. allBranches:
  8418. type: boolean
  8419. appPasswordRef:
  8420. properties:
  8421. key:
  8422. type: string
  8423. secretName:
  8424. type: string
  8425. required:
  8426. - key
  8427. - secretName
  8428. type: object
  8429. owner:
  8430. type: string
  8431. user:
  8432. type: string
  8433. required:
  8434. - appPasswordRef
  8435. - owner
  8436. - user
  8437. type: object
  8438. bitbucketServer:
  8439. properties:
  8440. allBranches:
  8441. type: boolean
  8442. api:
  8443. type: string
  8444. basicAuth:
  8445. properties:
  8446. passwordRef:
  8447. properties:
  8448. key:
  8449. type: string
  8450. secretName:
  8451. type: string
  8452. required:
  8453. - key
  8454. - secretName
  8455. type: object
  8456. username:
  8457. type: string
  8458. required:
  8459. - passwordRef
  8460. - username
  8461. type: object
  8462. project:
  8463. type: string
  8464. required:
  8465. - api
  8466. - project
  8467. type: object
  8468. cloneProtocol:
  8469. type: string
  8470. filters:
  8471. items:
  8472. properties:
  8473. branchMatch:
  8474. type: string
  8475. labelMatch:
  8476. type: string
  8477. pathsDoNotExist:
  8478. items:
  8479. type: string
  8480. type: array
  8481. pathsExist:
  8482. items:
  8483. type: string
  8484. type: array
  8485. repositoryMatch:
  8486. type: string
  8487. type: object
  8488. type: array
  8489. gitea:
  8490. properties:
  8491. allBranches:
  8492. type: boolean
  8493. api:
  8494. type: string
  8495. insecure:
  8496. type: boolean
  8497. owner:
  8498. type: string
  8499. tokenRef:
  8500. properties:
  8501. key:
  8502. type: string
  8503. secretName:
  8504. type: string
  8505. required:
  8506. - key
  8507. - secretName
  8508. type: object
  8509. required:
  8510. - api
  8511. - owner
  8512. type: object
  8513. github:
  8514. properties:
  8515. allBranches:
  8516. type: boolean
  8517. api:
  8518. type: string
  8519. appSecretName:
  8520. type: string
  8521. organization:
  8522. type: string
  8523. tokenRef:
  8524. properties:
  8525. key:
  8526. type: string
  8527. secretName:
  8528. type: string
  8529. required:
  8530. - key
  8531. - secretName
  8532. type: object
  8533. required:
  8534. - organization
  8535. type: object
  8536. gitlab:
  8537. properties:
  8538. allBranches:
  8539. type: boolean
  8540. api:
  8541. type: string
  8542. group:
  8543. type: string
  8544. includeSubgroups:
  8545. type: boolean
  8546. tokenRef:
  8547. properties:
  8548. key:
  8549. type: string
  8550. secretName:
  8551. type: string
  8552. required:
  8553. - key
  8554. - secretName
  8555. type: object
  8556. required:
  8557. - group
  8558. type: object
  8559. requeueAfterSeconds:
  8560. format: int64
  8561. type: integer
  8562. template:
  8563. properties:
  8564. metadata:
  8565. properties:
  8566. annotations:
  8567. additionalProperties:
  8568. type: string
  8569. type: object
  8570. finalizers:
  8571. items:
  8572. type: string
  8573. type: array
  8574. labels:
  8575. additionalProperties:
  8576. type: string
  8577. type: object
  8578. name:
  8579. type: string
  8580. namespace:
  8581. type: string
  8582. type: object
  8583. spec:
  8584. properties:
  8585. destination:
  8586. properties:
  8587. name:
  8588. type: string
  8589. namespace:
  8590. type: string
  8591. server:
  8592. type: string
  8593. type: object
  8594. ignoreDifferences:
  8595. items:
  8596. properties:
  8597. group:
  8598. type: string
  8599. jqPathExpressions:
  8600. items:
  8601. type: string
  8602. type: array
  8603. jsonPointers:
  8604. items:
  8605. type: string
  8606. type: array
  8607. kind:
  8608. type: string
  8609. managedFieldsManagers:
  8610. items:
  8611. type: string
  8612. type: array
  8613. name:
  8614. type: string
  8615. namespace:
  8616. type: string
  8617. required:
  8618. - kind
  8619. type: object
  8620. type: array
  8621. info:
  8622. items:
  8623. properties:
  8624. name:
  8625. type: string
  8626. value:
  8627. type: string
  8628. required:
  8629. - name
  8630. - value
  8631. type: object
  8632. type: array
  8633. project:
  8634. type: string
  8635. revisionHistoryLimit:
  8636. format: int64
  8637. type: integer
  8638. source:
  8639. properties:
  8640. chart:
  8641. type: string
  8642. directory:
  8643. properties:
  8644. exclude:
  8645. type: string
  8646. include:
  8647. type: string
  8648. jsonnet:
  8649. properties:
  8650. extVars:
  8651. items:
  8652. properties:
  8653. code:
  8654. type: boolean
  8655. name:
  8656. type: string
  8657. value:
  8658. type: string
  8659. required:
  8660. - name
  8661. - value
  8662. type: object
  8663. type: array
  8664. libs:
  8665. items:
  8666. type: string
  8667. type: array
  8668. tlas:
  8669. items:
  8670. properties:
  8671. code:
  8672. type: boolean
  8673. name:
  8674. type: string
  8675. value:
  8676. type: string
  8677. required:
  8678. - name
  8679. - value
  8680. type: object
  8681. type: array
  8682. type: object
  8683. recurse:
  8684. type: boolean
  8685. type: object
  8686. helm:
  8687. properties:
  8688. fileParameters:
  8689. items:
  8690. properties:
  8691. name:
  8692. type: string
  8693. path:
  8694. type: string
  8695. type: object
  8696. type: array
  8697. ignoreMissingValueFiles:
  8698. type: boolean
  8699. parameters:
  8700. items:
  8701. properties:
  8702. forceString:
  8703. type: boolean
  8704. name:
  8705. type: string
  8706. value:
  8707. type: string
  8708. type: object
  8709. type: array
  8710. passCredentials:
  8711. type: boolean
  8712. releaseName:
  8713. type: string
  8714. skipCrds:
  8715. type: boolean
  8716. valueFiles:
  8717. items:
  8718. type: string
  8719. type: array
  8720. values:
  8721. type: string
  8722. version:
  8723. type: string
  8724. type: object
  8725. kustomize:
  8726. properties:
  8727. commonAnnotations:
  8728. additionalProperties:
  8729. type: string
  8730. type: object
  8731. commonLabels:
  8732. additionalProperties:
  8733. type: string
  8734. type: object
  8735. forceCommonAnnotations:
  8736. type: boolean
  8737. forceCommonLabels:
  8738. type: boolean
  8739. images:
  8740. items:
  8741. type: string
  8742. type: array
  8743. namePrefix:
  8744. type: string
  8745. nameSuffix:
  8746. type: string
  8747. version:
  8748. type: string
  8749. type: object
  8750. path:
  8751. type: string
  8752. plugin:
  8753. properties:
  8754. env:
  8755. items:
  8756. properties:
  8757. name:
  8758. type: string
  8759. value:
  8760. type: string
  8761. required:
  8762. - name
  8763. - value
  8764. type: object
  8765. type: array
  8766. name:
  8767. type: string
  8768. type: object
  8769. repoURL:
  8770. type: string
  8771. targetRevision:
  8772. type: string
  8773. required:
  8774. - repoURL
  8775. type: object
  8776. syncPolicy:
  8777. properties:
  8778. automated:
  8779. properties:
  8780. allowEmpty:
  8781. type: boolean
  8782. prune:
  8783. type: boolean
  8784. selfHeal:
  8785. type: boolean
  8786. type: object
  8787. managedNamespaceMetadata:
  8788. properties:
  8789. annotations:
  8790. additionalProperties:
  8791. type: string
  8792. type: object
  8793. labels:
  8794. additionalProperties:
  8795. type: string
  8796. type: object
  8797. type: object
  8798. retry:
  8799. properties:
  8800. backoff:
  8801. properties:
  8802. duration:
  8803. type: string
  8804. factor:
  8805. format: int64
  8806. type: integer
  8807. maxDuration:
  8808. type: string
  8809. type: object
  8810. limit:
  8811. format: int64
  8812. type: integer
  8813. type: object
  8814. syncOptions:
  8815. items:
  8816. type: string
  8817. type: array
  8818. type: object
  8819. required:
  8820. - destination
  8821. - project
  8822. - source
  8823. type: object
  8824. required:
  8825. - metadata
  8826. - spec
  8827. type: object
  8828. type: object
  8829. selector:
  8830. properties:
  8831. matchExpressions:
  8832. items:
  8833. properties:
  8834. key:
  8835. type: string
  8836. operator:
  8837. type: string
  8838. values:
  8839. items:
  8840. type: string
  8841. type: array
  8842. required:
  8843. - key
  8844. - operator
  8845. type: object
  8846. type: array
  8847. matchLabels:
  8848. additionalProperties:
  8849. type: string
  8850. type: object
  8851. type: object
  8852. type: object
  8853. type: array
  8854. goTemplate:
  8855. type: boolean
  8856. syncPolicy:
  8857. properties:
  8858. preserveResourcesOnDeletion:
  8859. type: boolean
  8860. type: object
  8861. template:
  8862. properties:
  8863. metadata:
  8864. properties:
  8865. annotations:
  8866. additionalProperties:
  8867. type: string
  8868. type: object
  8869. finalizers:
  8870. items:
  8871. type: string
  8872. type: array
  8873. labels:
  8874. additionalProperties:
  8875. type: string
  8876. type: object
  8877. name:
  8878. type: string
  8879. namespace:
  8880. type: string
  8881. type: object
  8882. spec:
  8883. properties:
  8884. destination:
  8885. properties:
  8886. name:
  8887. type: string
  8888. namespace:
  8889. type: string
  8890. server:
  8891. type: string
  8892. type: object
  8893. ignoreDifferences:
  8894. items:
  8895. properties:
  8896. group:
  8897. type: string
  8898. jqPathExpressions:
  8899. items:
  8900. type: string
  8901. type: array
  8902. jsonPointers:
  8903. items:
  8904. type: string
  8905. type: array
  8906. kind:
  8907. type: string
  8908. managedFieldsManagers:
  8909. items:
  8910. type: string
  8911. type: array
  8912. name:
  8913. type: string
  8914. namespace:
  8915. type: string
  8916. required:
  8917. - kind
  8918. type: object
  8919. type: array
  8920. info:
  8921. items:
  8922. properties:
  8923. name:
  8924. type: string
  8925. value:
  8926. type: string
  8927. required:
  8928. - name
  8929. - value
  8930. type: object
  8931. type: array
  8932. project:
  8933. type: string
  8934. revisionHistoryLimit:
  8935. format: int64
  8936. type: integer
  8937. source:
  8938. properties:
  8939. chart:
  8940. type: string
  8941. directory:
  8942. properties:
  8943. exclude:
  8944. type: string
  8945. include:
  8946. type: string
  8947. jsonnet:
  8948. properties:
  8949. extVars:
  8950. items:
  8951. properties:
  8952. code:
  8953. type: boolean
  8954. name:
  8955. type: string
  8956. value:
  8957. type: string
  8958. required:
  8959. - name
  8960. - value
  8961. type: object
  8962. type: array
  8963. libs:
  8964. items:
  8965. type: string
  8966. type: array
  8967. tlas:
  8968. items:
  8969. properties:
  8970. code:
  8971. type: boolean
  8972. name:
  8973. type: string
  8974. value:
  8975. type: string
  8976. required:
  8977. - name
  8978. - value
  8979. type: object
  8980. type: array
  8981. type: object
  8982. recurse:
  8983. type: boolean
  8984. type: object
  8985. helm:
  8986. properties:
  8987. fileParameters:
  8988. items:
  8989. properties:
  8990. name:
  8991. type: string
  8992. path:
  8993. type: string
  8994. type: object
  8995. type: array
  8996. ignoreMissingValueFiles:
  8997. type: boolean
  8998. parameters:
  8999. items:
  9000. properties:
  9001. forceString:
  9002. type: boolean
  9003. name:
  9004. type: string
  9005. value:
  9006. type: string
  9007. type: object
  9008. type: array
  9009. passCredentials:
  9010. type: boolean
  9011. releaseName:
  9012. type: string
  9013. skipCrds:
  9014. type: boolean
  9015. valueFiles:
  9016. items:
  9017. type: string
  9018. type: array
  9019. values:
  9020. type: string
  9021. version:
  9022. type: string
  9023. type: object
  9024. kustomize:
  9025. properties:
  9026. commonAnnotations:
  9027. additionalProperties:
  9028. type: string
  9029. type: object
  9030. commonLabels:
  9031. additionalProperties:
  9032. type: string
  9033. type: object
  9034. forceCommonAnnotations:
  9035. type: boolean
  9036. forceCommonLabels:
  9037. type: boolean
  9038. images:
  9039. items:
  9040. type: string
  9041. type: array
  9042. namePrefix:
  9043. type: string
  9044. nameSuffix:
  9045. type: string
  9046. version:
  9047. type: string
  9048. type: object
  9049. path:
  9050. type: string
  9051. plugin:
  9052. properties:
  9053. env:
  9054. items:
  9055. properties:
  9056. name:
  9057. type: string
  9058. value:
  9059. type: string
  9060. required:
  9061. - name
  9062. - value
  9063. type: object
  9064. type: array
  9065. name:
  9066. type: string
  9067. type: object
  9068. repoURL:
  9069. type: string
  9070. targetRevision:
  9071. type: string
  9072. required:
  9073. - repoURL
  9074. type: object
  9075. syncPolicy:
  9076. properties:
  9077. automated:
  9078. properties:
  9079. allowEmpty:
  9080. type: boolean
  9081. prune:
  9082. type: boolean
  9083. selfHeal:
  9084. type: boolean
  9085. type: object
  9086. managedNamespaceMetadata:
  9087. properties:
  9088. annotations:
  9089. additionalProperties:
  9090. type: string
  9091. type: object
  9092. labels:
  9093. additionalProperties:
  9094. type: string
  9095. type: object
  9096. type: object
  9097. retry:
  9098. properties:
  9099. backoff:
  9100. properties:
  9101. duration:
  9102. type: string
  9103. factor:
  9104. format: int64
  9105. type: integer
  9106. maxDuration:
  9107. type: string
  9108. type: object
  9109. limit:
  9110. format: int64
  9111. type: integer
  9112. type: object
  9113. syncOptions:
  9114. items:
  9115. type: string
  9116. type: array
  9117. type: object
  9118. required:
  9119. - destination
  9120. - project
  9121. - source
  9122. type: object
  9123. required:
  9124. - metadata
  9125. - spec
  9126. type: object
  9127. required:
  9128. - generators
  9129. - template
  9130. type: object
  9131. status:
  9132. properties:
  9133. conditions:
  9134. items:
  9135. properties:
  9136. lastTransitionTime:
  9137. format: date-time
  9138. type: string
  9139. message:
  9140. type: string
  9141. reason:
  9142. type: string
  9143. status:
  9144. type: string
  9145. type:
  9146. type: string
  9147. required:
  9148. - message
  9149. - reason
  9150. - status
  9151. - type
  9152. type: object
  9153. type: array
  9154. type: object
  9155. required:
  9156. - metadata
  9157. - spec
  9158. type: object
  9159. served: true
  9160. storage: true
  9161. subresources:
  9162. status: {}
  9163. ---
  9164. apiVersion: apiextensions.k8s.io/v1
  9165. kind: CustomResourceDefinition
  9166. metadata:
  9167. labels:
  9168. app.kubernetes.io/name: appprojects.argoproj.io
  9169. app.kubernetes.io/part-of: argocd
  9170. name: appprojects.argoproj.io
  9171. spec:
  9172. group: argoproj.io
  9173. names:
  9174. kind: AppProject
  9175. listKind: AppProjectList
  9176. plural: appprojects
  9177. shortNames:
  9178. - appproj
  9179. - appprojs
  9180. singular: appproject
  9181. scope: Namespaced
  9182. versions:
  9183. - name: v1alpha1
  9184. schema:
  9185. openAPIV3Schema:
  9186. description: 'AppProject provides a logical grouping of applications, providing
  9187. controls for: * where the apps may deploy to (cluster whitelist) * what
  9188. may be deployed (repository whitelist, resource whitelist/blacklist) * who
  9189. can access these applications (roles, OIDC group claims bindings) * and
  9190. what they can do (RBAC policies) * automation access to these roles (JWT
  9191. tokens)'
  9192. properties:
  9193. apiVersion:
  9194. description: 'APIVersion defines the versioned schema of this representation
  9195. of an object. Servers should convert recognized schemas to the latest
  9196. internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
  9197. type: string
  9198. kind:
  9199. description: 'Kind is a string value representing the REST resource this
  9200. object represents. Servers may infer this from the endpoint the client
  9201. submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
  9202. type: string
  9203. metadata:
  9204. type: object
  9205. spec:
  9206. description: AppProjectSpec is the specification of an AppProject
  9207. properties:
  9208. clusterResourceBlacklist:
  9209. description: ClusterResourceBlacklist contains list of blacklisted
  9210. cluster level resources
  9211. items:
  9212. description: GroupKind specifies a Group and a Kind, but does not
  9213. force a version. This is useful for identifying concepts during
  9214. lookup stages without having partially valid types
  9215. properties:
  9216. group:
  9217. type: string
  9218. kind:
  9219. type: string
  9220. required:
  9221. - group
  9222. - kind
  9223. type: object
  9224. type: array
  9225. clusterResourceWhitelist:
  9226. description: ClusterResourceWhitelist contains list of whitelisted
  9227. cluster level resources
  9228. items:
  9229. description: GroupKind specifies a Group and a Kind, but does not
  9230. force a version. This is useful for identifying concepts during
  9231. lookup stages without having partially valid types
  9232. properties:
  9233. group:
  9234. type: string
  9235. kind:
  9236. type: string
  9237. required:
  9238. - group
  9239. - kind
  9240. type: object
  9241. type: array
  9242. description:
  9243. description: Description contains optional project description
  9244. type: string
  9245. destinations:
  9246. description: Destinations contains list of destinations available
  9247. for deployment
  9248. items:
  9249. description: ApplicationDestination holds information about the
  9250. application's destination
  9251. properties:
  9252. name:
  9253. description: Name is an alternate way of specifying the target
  9254. cluster by its symbolic name
  9255. type: string
  9256. namespace:
  9257. description: Namespace specifies the target namespace for the
  9258. application's resources. The namespace will only be set for
  9259. namespace-scoped resources that have not set a value for .metadata.namespace
  9260. type: string
  9261. server:
  9262. description: Server specifies the URL of the target cluster
  9263. and must be set to the Kubernetes control plane API
  9264. type: string
  9265. type: object
  9266. type: array
  9267. namespaceResourceBlacklist:
  9268. description: NamespaceResourceBlacklist contains list of blacklisted
  9269. namespace level resources
  9270. items:
  9271. description: GroupKind specifies a Group and a Kind, but does not
  9272. force a version. This is useful for identifying concepts during
  9273. lookup stages without having partially valid types
  9274. properties:
  9275. group:
  9276. type: string
  9277. kind:
  9278. type: string
  9279. required:
  9280. - group
  9281. - kind
  9282. type: object
  9283. type: array
  9284. namespaceResourceWhitelist:
  9285. description: NamespaceResourceWhitelist contains list of whitelisted
  9286. namespace level resources
  9287. items:
  9288. description: GroupKind specifies a Group and a Kind, but does not
  9289. force a version. This is useful for identifying concepts during
  9290. lookup stages without having partially valid types
  9291. properties:
  9292. group:
  9293. type: string
  9294. kind:
  9295. type: string
  9296. required:
  9297. - group
  9298. - kind
  9299. type: object
  9300. type: array
  9301. orphanedResources:
  9302. description: OrphanedResources specifies if controller should monitor
  9303. orphaned resources of apps in this project
  9304. properties:
  9305. ignore:
  9306. description: Ignore contains a list of resources that are to be
  9307. excluded from orphaned resources monitoring
  9308. items:
  9309. description: OrphanedResourceKey is a reference to a resource
  9310. to be ignored from
  9311. properties:
  9312. group:
  9313. type: string
  9314. kind:
  9315. type: string
  9316. name:
  9317. type: string
  9318. type: object
  9319. type: array
  9320. warn:
  9321. description: Warn indicates if warning condition should be created
  9322. for apps which have orphaned resources
  9323. type: boolean
  9324. type: object
  9325. permitOnlyProjectScopedClusters:
  9326. description: PermitOnlyProjectScopedClusters determines whether destinations
  9327. can only reference clusters which are project-scoped
  9328. type: boolean
  9329. roles:
  9330. description: Roles are user defined RBAC roles associated with this
  9331. project
  9332. items:
  9333. description: ProjectRole represents a role that has access to a
  9334. project
  9335. properties:
  9336. description:
  9337. description: Description is a description of the role
  9338. type: string
  9339. groups:
  9340. description: Groups are a list of OIDC group claims bound to
  9341. this role
  9342. items:
  9343. type: string
  9344. type: array
  9345. jwtTokens:
  9346. description: JWTTokens are a list of generated JWT tokens bound
  9347. to this role
  9348. items:
  9349. description: JWTToken holds the issuedAt and expiresAt values
  9350. of a token
  9351. properties:
  9352. exp:
  9353. format: int64
  9354. type: integer
  9355. iat:
  9356. format: int64
  9357. type: integer
  9358. id:
  9359. type: string
  9360. required:
  9361. - iat
  9362. type: object
  9363. type: array
  9364. name:
  9365. description: Name is a name for this role
  9366. type: string
  9367. policies:
  9368. description: Policies Stores a list of casbin formatted strings
  9369. that define access policies for the role in the project
  9370. items:
  9371. type: string
  9372. type: array
  9373. required:
  9374. - name
  9375. type: object
  9376. type: array
  9377. signatureKeys:
  9378. description: SignatureKeys contains a list of PGP key IDs that commits
  9379. in Git must be signed with in order to be allowed for sync
  9380. items:
  9381. description: SignatureKey is the specification of a key required
  9382. to verify commit signatures with
  9383. properties:
  9384. keyID:
  9385. description: The ID of the key in hexadecimal notation
  9386. type: string
  9387. required:
  9388. - keyID
  9389. type: object
  9390. type: array
  9391. sourceNamespaces:
  9392. description: SourceNamespaces defines the namespaces application resources
  9393. are allowed to be created in
  9394. items:
  9395. type: string
  9396. type: array
  9397. sourceRepos:
  9398. description: SourceRepos contains list of repository URLs which can
  9399. be used for deployment
  9400. items:
  9401. type: string
  9402. type: array
  9403. syncWindows:
  9404. description: SyncWindows controls when syncs can be run for apps in
  9405. this project
  9406. items:
  9407. description: SyncWindow contains the kind, time, duration and attributes
  9408. that are used to assign the syncWindows to apps
  9409. properties:
  9410. applications:
  9411. description: Applications contains a list of applications that
  9412. the window will apply to
  9413. items:
  9414. type: string
  9415. type: array
  9416. clusters:
  9417. description: Clusters contains a list of clusters that the window
  9418. will apply to
  9419. items:
  9420. type: string
  9421. type: array
  9422. duration:
  9423. description: Duration is the amount of time the sync window
  9424. will be open
  9425. type: string
  9426. kind:
  9427. description: Kind defines if the window allows or blocks syncs
  9428. type: string
  9429. manualSync:
  9430. description: ManualSync enables manual syncs when they would
  9431. otherwise be blocked
  9432. type: boolean
  9433. namespaces:
  9434. description: Namespaces contains a list of namespaces that the
  9435. window will apply to
  9436. items:
  9437. type: string
  9438. type: array
  9439. schedule:
  9440. description: Schedule is the time the window will begin, specified
  9441. in cron format
  9442. type: string
  9443. timeZone:
  9444. description: TimeZone of the sync that will be applied to the
  9445. schedule
  9446. type: string
  9447. type: object
  9448. type: array
  9449. type: object
  9450. status:
  9451. description: AppProjectStatus contains status information for AppProject
  9452. CRs
  9453. properties:
  9454. jwtTokensByRole:
  9455. additionalProperties:
  9456. description: JWTTokens represents a list of JWT tokens
  9457. properties:
  9458. items:
  9459. items:
  9460. description: JWTToken holds the issuedAt and expiresAt values
  9461. of a token
  9462. properties:
  9463. exp:
  9464. format: int64
  9465. type: integer
  9466. iat:
  9467. format: int64
  9468. type: integer
  9469. id:
  9470. type: string
  9471. required:
  9472. - iat
  9473. type: object
  9474. type: array
  9475. type: object
  9476. description: JWTTokensByRole contains a list of JWT tokens issued
  9477. for a given role
  9478. type: object
  9479. type: object
  9480. required:
  9481. - metadata
  9482. - spec
  9483. type: object
  9484. served: true
  9485. storage: true
  9486. ---
  9487. apiVersion: v1
  9488. kind: ServiceAccount
  9489. metadata:
  9490. labels:
  9491. app.kubernetes.io/component: application-controller
  9492. app.kubernetes.io/name: argocd-application-controller
  9493. app.kubernetes.io/part-of: argocd
  9494. name: argocd-application-controller
  9495. ---
  9496. apiVersion: v1
  9497. kind: ServiceAccount
  9498. metadata:
  9499. labels:
  9500. app.kubernetes.io/component: controller
  9501. app.kubernetes.io/name: argocd-applicationset-controller
  9502. app.kubernetes.io/part-of: argocd-applicationset
  9503. name: argocd-applicationset-controller
  9504. ---
  9505. apiVersion: v1
  9506. kind: ServiceAccount
  9507. metadata:
  9508. labels:
  9509. app.kubernetes.io/component: dex-server
  9510. app.kubernetes.io/name: argocd-dex-server
  9511. app.kubernetes.io/part-of: argocd
  9512. name: argocd-dex-server
  9513. ---
  9514. apiVersion: v1
  9515. kind: ServiceAccount
  9516. metadata:
  9517. labels:
  9518. app.kubernetes.io/component: notifications-controller
  9519. app.kubernetes.io/name: argocd-notifications-controller
  9520. app.kubernetes.io/part-of: argocd
  9521. name: argocd-notifications-controller
  9522. ---
  9523. apiVersion: v1
  9524. kind: ServiceAccount
  9525. metadata:
  9526. labels:
  9527. app.kubernetes.io/component: redis
  9528. app.kubernetes.io/name: argocd-redis-ha
  9529. app.kubernetes.io/part-of: argocd
  9530. name: argocd-redis-ha
  9531. ---
  9532. apiVersion: v1
  9533. kind: ServiceAccount
  9534. metadata:
  9535. labels:
  9536. app.kubernetes.io/component: redis
  9537. app.kubernetes.io/name: argocd-redis-ha-haproxy
  9538. app.kubernetes.io/part-of: argocd
  9539. name: argocd-redis-ha-haproxy
  9540. ---
  9541. apiVersion: v1
  9542. kind: ServiceAccount
  9543. metadata:
  9544. labels:
  9545. app.kubernetes.io/component: repo-server
  9546. app.kubernetes.io/name: argocd-repo-server
  9547. app.kubernetes.io/part-of: argocd
  9548. name: argocd-repo-server
  9549. ---
  9550. apiVersion: v1
  9551. kind: ServiceAccount
  9552. metadata:
  9553. labels:
  9554. app.kubernetes.io/component: server
  9555. app.kubernetes.io/name: argocd-server
  9556. app.kubernetes.io/part-of: argocd
  9557. name: argocd-server
  9558. ---
  9559. apiVersion: rbac.authorization.k8s.io/v1
  9560. kind: Role
  9561. metadata:
  9562. labels:
  9563. app.kubernetes.io/component: application-controller
  9564. app.kubernetes.io/name: argocd-application-controller
  9565. app.kubernetes.io/part-of: argocd
  9566. name: argocd-application-controller
  9567. rules:
  9568. - apiGroups:
  9569. - ""
  9570. resources:
  9571. - secrets
  9572. - configmaps
  9573. verbs:
  9574. - get
  9575. - list
  9576. - watch
  9577. - apiGroups:
  9578. - argoproj.io
  9579. resources:
  9580. - applications
  9581. - appprojects
  9582. verbs:
  9583. - create
  9584. - get
  9585. - list
  9586. - watch
  9587. - update
  9588. - patch
  9589. - delete
  9590. - apiGroups:
  9591. - ""
  9592. resources:
  9593. - events
  9594. verbs:
  9595. - create
  9596. - list
  9597. ---
  9598. apiVersion: rbac.authorization.k8s.io/v1
  9599. kind: Role
  9600. metadata:
  9601. labels:
  9602. app.kubernetes.io/component: controller
  9603. app.kubernetes.io/name: argocd-applicationset-controller
  9604. app.kubernetes.io/part-of: argocd-applicationset
  9605. name: argocd-applicationset-controller
  9606. rules:
  9607. - apiGroups:
  9608. - argoproj.io
  9609. resources:
  9610. - applications
  9611. - applicationsets
  9612. - applicationsets/finalizers
  9613. verbs:
  9614. - create
  9615. - delete
  9616. - get
  9617. - list
  9618. - patch
  9619. - update
  9620. - watch
  9621. - apiGroups:
  9622. - argoproj.io
  9623. resources:
  9624. - appprojects
  9625. verbs:
  9626. - get
  9627. - apiGroups:
  9628. - argoproj.io
  9629. resources:
  9630. - applicationsets/status
  9631. verbs:
  9632. - get
  9633. - patch
  9634. - update
  9635. - apiGroups:
  9636. - ""
  9637. resources:
  9638. - events
  9639. verbs:
  9640. - create
  9641. - get
  9642. - list
  9643. - patch
  9644. - watch
  9645. - apiGroups:
  9646. - ""
  9647. resources:
  9648. - secrets
  9649. - configmaps
  9650. verbs:
  9651. - get
  9652. - list
  9653. - watch
  9654. - apiGroups:
  9655. - apps
  9656. - extensions
  9657. resources:
  9658. - deployments
  9659. verbs:
  9660. - get
  9661. - list
  9662. - watch
  9663. ---
  9664. apiVersion: rbac.authorization.k8s.io/v1
  9665. kind: Role
  9666. metadata:
  9667. labels:
  9668. app.kubernetes.io/component: dex-server
  9669. app.kubernetes.io/name: argocd-dex-server
  9670. app.kubernetes.io/part-of: argocd
  9671. name: argocd-dex-server
  9672. rules:
  9673. - apiGroups:
  9674. - ""
  9675. resources:
  9676. - secrets
  9677. - configmaps
  9678. verbs:
  9679. - get
  9680. - list
  9681. - watch
  9682. ---
  9683. apiVersion: rbac.authorization.k8s.io/v1
  9684. kind: Role
  9685. metadata:
  9686. name: argocd-notifications-controller
  9687. rules:
  9688. - apiGroups:
  9689. - argoproj.io
  9690. resources:
  9691. - applications
  9692. - appprojects
  9693. verbs:
  9694. - get
  9695. - list
  9696. - watch
  9697. - update
  9698. - patch
  9699. - apiGroups:
  9700. - ""
  9701. resources:
  9702. - configmaps
  9703. - secrets
  9704. verbs:
  9705. - list
  9706. - watch
  9707. - apiGroups:
  9708. - ""
  9709. resourceNames:
  9710. - argocd-notifications-cm
  9711. resources:
  9712. - configmaps
  9713. verbs:
  9714. - get
  9715. - apiGroups:
  9716. - ""
  9717. resourceNames:
  9718. - argocd-notifications-secret
  9719. resources:
  9720. - secrets
  9721. verbs:
  9722. - get
  9723. ---
  9724. apiVersion: rbac.authorization.k8s.io/v1
  9725. kind: Role
  9726. metadata:
  9727. labels:
  9728. app.kubernetes.io/component: redis
  9729. app.kubernetes.io/name: argocd-redis-ha
  9730. app.kubernetes.io/part-of: argocd
  9731. name: argocd-redis-ha
  9732. rules:
  9733. - apiGroups:
  9734. - ""
  9735. resources:
  9736. - endpoints
  9737. verbs:
  9738. - get
  9739. ---
  9740. apiVersion: rbac.authorization.k8s.io/v1
  9741. kind: Role
  9742. metadata:
  9743. labels:
  9744. app.kubernetes.io/component: redis
  9745. app.kubernetes.io/name: argocd-redis-ha
  9746. app.kubernetes.io/part-of: argocd
  9747. name: argocd-redis-ha-haproxy
  9748. rules:
  9749. - apiGroups:
  9750. - ""
  9751. resources:
  9752. - endpoints
  9753. verbs:
  9754. - get
  9755. ---
  9756. apiVersion: rbac.authorization.k8s.io/v1
  9757. kind: Role
  9758. metadata:
  9759. labels:
  9760. app.kubernetes.io/component: server
  9761. app.kubernetes.io/name: argocd-server
  9762. app.kubernetes.io/part-of: argocd
  9763. name: argocd-server
  9764. rules:
  9765. - apiGroups:
  9766. - ""
  9767. resources:
  9768. - secrets
  9769. - configmaps
  9770. verbs:
  9771. - create
  9772. - get
  9773. - list
  9774. - watch
  9775. - update
  9776. - patch
  9777. - delete
  9778. - apiGroups:
  9779. - argoproj.io
  9780. resources:
  9781. - applications
  9782. - appprojects
  9783. - applicationsets
  9784. verbs:
  9785. - create
  9786. - get
  9787. - list
  9788. - watch
  9789. - update
  9790. - delete
  9791. - patch
  9792. - apiGroups:
  9793. - ""
  9794. resources:
  9795. - events
  9796. verbs:
  9797. - create
  9798. - list
  9799. ---
  9800. apiVersion: rbac.authorization.k8s.io/v1
  9801. kind: ClusterRole
  9802. metadata:
  9803. labels:
  9804. app.kubernetes.io/component: application-controller
  9805. app.kubernetes.io/name: argocd-application-controller
  9806. app.kubernetes.io/part-of: argocd
  9807. name: argocd-application-controller
  9808. rules:
  9809. - apiGroups:
  9810. - '*'
  9811. resources:
  9812. - '*'
  9813. verbs:
  9814. - '*'
  9815. - nonResourceURLs:
  9816. - '*'
  9817. verbs:
  9818. - '*'
  9819. ---
  9820. apiVersion: rbac.authorization.k8s.io/v1
  9821. kind: ClusterRole
  9822. metadata:
  9823. labels:
  9824. app.kubernetes.io/component: server
  9825. app.kubernetes.io/name: argocd-server
  9826. app.kubernetes.io/part-of: argocd
  9827. name: argocd-server
  9828. rules:
  9829. - apiGroups:
  9830. - '*'
  9831. resources:
  9832. - '*'
  9833. verbs:
  9834. - delete
  9835. - get
  9836. - patch
  9837. - apiGroups:
  9838. - ""
  9839. resources:
  9840. - events
  9841. verbs:
  9842. - list
  9843. - apiGroups:
  9844. - ""
  9845. resources:
  9846. - pods
  9847. - pods/log
  9848. verbs:
  9849. - get
  9850. - apiGroups:
  9851. - argoproj.io
  9852. resources:
  9853. - applications
  9854. verbs:
  9855. - get
  9856. - list
  9857. - watch
  9858. ---
  9859. apiVersion: rbac.authorization.k8s.io/v1
  9860. kind: RoleBinding
  9861. metadata:
  9862. labels:
  9863. app.kubernetes.io/component: application-controller
  9864. app.kubernetes.io/name: argocd-application-controller
  9865. app.kubernetes.io/part-of: argocd
  9866. name: argocd-application-controller
  9867. roleRef:
  9868. apiGroup: rbac.authorization.k8s.io
  9869. kind: Role
  9870. name: argocd-application-controller
  9871. subjects:
  9872. - kind: ServiceAccount
  9873. name: argocd-application-controller
  9874. ---
  9875. apiVersion: rbac.authorization.k8s.io/v1
  9876. kind: RoleBinding
  9877. metadata:
  9878. labels:
  9879. app.kubernetes.io/component: controller
  9880. app.kubernetes.io/name: argocd-applicationset-controller
  9881. app.kubernetes.io/part-of: argocd-applicationset
  9882. name: argocd-applicationset-controller
  9883. roleRef:
  9884. apiGroup: rbac.authorization.k8s.io
  9885. kind: Role
  9886. name: argocd-applicationset-controller
  9887. subjects:
  9888. - kind: ServiceAccount
  9889. name: argocd-applicationset-controller
  9890. ---
  9891. apiVersion: rbac.authorization.k8s.io/v1
  9892. kind: RoleBinding
  9893. metadata:
  9894. labels:
  9895. app.kubernetes.io/component: dex-server
  9896. app.kubernetes.io/name: argocd-dex-server
  9897. app.kubernetes.io/part-of: argocd
  9898. name: argocd-dex-server
  9899. roleRef:
  9900. apiGroup: rbac.authorization.k8s.io
  9901. kind: Role
  9902. name: argocd-dex-server
  9903. subjects:
  9904. - kind: ServiceAccount
  9905. name: argocd-dex-server
  9906. ---
  9907. apiVersion: rbac.authorization.k8s.io/v1
  9908. kind: RoleBinding
  9909. metadata:
  9910. name: argocd-notifications-controller
  9911. roleRef:
  9912. apiGroup: rbac.authorization.k8s.io
  9913. kind: Role
  9914. name: argocd-notifications-controller
  9915. subjects:
  9916. - kind: ServiceAccount
  9917. name: argocd-notifications-controller
  9918. ---
  9919. apiVersion: rbac.authorization.k8s.io/v1
  9920. kind: RoleBinding
  9921. metadata:
  9922. labels:
  9923. app.kubernetes.io/component: redis
  9924. app.kubernetes.io/name: argocd-redis-ha
  9925. app.kubernetes.io/part-of: argocd
  9926. name: argocd-redis-ha
  9927. roleRef:
  9928. apiGroup: rbac.authorization.k8s.io
  9929. kind: Role
  9930. name: argocd-redis-ha
  9931. subjects:
  9932. - kind: ServiceAccount
  9933. name: argocd-redis-ha
  9934. ---
  9935. apiVersion: rbac.authorization.k8s.io/v1
  9936. kind: RoleBinding
  9937. metadata:
  9938. labels:
  9939. app.kubernetes.io/component: redis
  9940. app.kubernetes.io/name: argocd-redis-ha
  9941. app.kubernetes.io/part-of: argocd
  9942. name: argocd-redis-ha-haproxy
  9943. roleRef:
  9944. apiGroup: rbac.authorization.k8s.io
  9945. kind: Role
  9946. name: argocd-redis-ha-haproxy
  9947. subjects:
  9948. - kind: ServiceAccount
  9949. name: argocd-redis-ha-haproxy
  9950. ---
  9951. apiVersion: rbac.authorization.k8s.io/v1
  9952. kind: RoleBinding
  9953. metadata:
  9954. labels:
  9955. app.kubernetes.io/component: server
  9956. app.kubernetes.io/name: argocd-server
  9957. app.kubernetes.io/part-of: argocd
  9958. name: argocd-server
  9959. roleRef:
  9960. apiGroup: rbac.authorization.k8s.io
  9961. kind: Role
  9962. name: argocd-server
  9963. subjects:
  9964. - kind: ServiceAccount
  9965. name: argocd-server
  9966. ---
  9967. apiVersion: rbac.authorization.k8s.io/v1
  9968. kind: ClusterRoleBinding
  9969. metadata:
  9970. labels:
  9971. app.kubernetes.io/component: application-controller
  9972. app.kubernetes.io/name: argocd-application-controller
  9973. app.kubernetes.io/part-of: argocd
  9974. name: argocd-application-controller
  9975. roleRef:
  9976. apiGroup: rbac.authorization.k8s.io
  9977. kind: ClusterRole
  9978. name: argocd-application-controller
  9979. subjects:
  9980. - kind: ServiceAccount
  9981. name: argocd-application-controller
  9982. namespace: argocd
  9983. ---
  9984. apiVersion: rbac.authorization.k8s.io/v1
  9985. kind: ClusterRoleBinding
  9986. metadata:
  9987. labels:
  9988. app.kubernetes.io/component: server
  9989. app.kubernetes.io/name: argocd-server
  9990. app.kubernetes.io/part-of: argocd
  9991. name: argocd-server
  9992. roleRef:
  9993. apiGroup: rbac.authorization.k8s.io
  9994. kind: ClusterRole
  9995. name: argocd-server
  9996. subjects:
  9997. - kind: ServiceAccount
  9998. name: argocd-server
  9999. namespace: argocd
  10000. ---
  10001. apiVersion: v1
  10002. kind: ConfigMap
  10003. metadata:
  10004. labels:
  10005. app.kubernetes.io/name: argocd-cm
  10006. app.kubernetes.io/part-of: argocd
  10007. name: argocd-cm
  10008. ---
  10009. apiVersion: v1
  10010. kind: ConfigMap
  10011. metadata:
  10012. labels:
  10013. app.kubernetes.io/name: argocd-cmd-params-cm
  10014. app.kubernetes.io/part-of: argocd
  10015. name: argocd-cmd-params-cm
  10016. ---
  10017. apiVersion: v1
  10018. kind: ConfigMap
  10019. metadata:
  10020. labels:
  10021. app.kubernetes.io/name: argocd-gpg-keys-cm
  10022. app.kubernetes.io/part-of: argocd
  10023. name: argocd-gpg-keys-cm
  10024. ---
  10025. apiVersion: v1
  10026. kind: ConfigMap
  10027. metadata:
  10028. name: argocd-notifications-cm
  10029. ---
  10030. apiVersion: v1
  10031. kind: ConfigMap
  10032. metadata:
  10033. labels:
  10034. app.kubernetes.io/name: argocd-rbac-cm
  10035. app.kubernetes.io/part-of: argocd
  10036. name: argocd-rbac-cm
  10037. ---
  10038. apiVersion: v1
  10039. data:
  10040. fix-split-brain.sh: |
  10041. HOSTNAME="$(hostname)"
  10042. INDEX="${HOSTNAME##*-}"
  10043. SENTINEL_PORT=26379
  10044. ANNOUNCE_IP=''
  10045. MASTER=''
  10046. MASTER_GROUP="argocd"
  10047. QUORUM="2"
  10048. REDIS_CONF=/data/conf/redis.conf
  10049. REDIS_PORT=6379
  10050. REDIS_TLS_PORT=
  10051. SENTINEL_CONF=/data/conf/sentinel.conf
  10052. SENTINEL_TLS_PORT=
  10053. SERVICE=argocd-redis-ha
  10054. SENTINEL_TLS_REPLICATION_ENABLED=false
  10055. REDIS_TLS_REPLICATION_ENABLED=false
  10056. ROLE=''
  10057. REDIS_MASTER=''
  10058. set -eu
  10059. sentinel_get_master() {
  10060. set +e
  10061. if [ "$SENTINEL_PORT" -eq 0 ]; then
  10062. redis-cli -h "${SERVICE}" -p "${SENTINEL_TLS_PORT}" --tls --cacert /tls-certs/ca.crt --cert /tls-certs/redis.crt --key /tls-certs/redis.key sentinel get-master-addr-by-name "${MASTER_GROUP}" |\
  10063. grep -E '((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?s*$))'
  10064. else
  10065. redis-cli -h "${SERVICE}" -p "${SENTINEL_PORT}" sentinel get-master-addr-by-name "${MASTER_GROUP}" |\
  10066. grep -E '((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?s*$))'
  10067. fi
  10068. set -e
  10069. }
  10070. sentinel_get_master_retry() {
  10071. master=''
  10072. retry=${1}
  10073. sleep=3
  10074. for i in $(seq 1 "${retry}"); do
  10075. master=$(sentinel_get_master)
  10076. if [ -n "${master}" ]; then
  10077. break
  10078. fi
  10079. sleep $((sleep + i))
  10080. done
  10081. echo "${master}"
  10082. }
  10083. identify_master() {
  10084. echo "Identifying redis master (get-master-addr-by-name).."
  10085. echo " using sentinel (argocd-redis-ha), sentinel group name (argocd)"
  10086. MASTER="$(sentinel_get_master_retry 3)"
  10087. if [ -n "${MASTER}" ]; then
  10088. echo " $(date) Found redis master (${MASTER})"
  10089. else
  10090. echo " $(date) Did not find redis master (${MASTER})"
  10091. fi
  10092. }
  10093. sentinel_update() {
  10094. echo "Updating sentinel config.."
  10095. echo " evaluating sentinel id (\${SENTINEL_ID_${INDEX}})"
  10096. eval MY_SENTINEL_ID="\$SENTINEL_ID_${INDEX}"
  10097. echo " sentinel id (${MY_SENTINEL_ID}), sentinel grp (${MASTER_GROUP}), quorum (${QUORUM})"
  10098. sed -i "1s/^/sentinel myid ${MY_SENTINEL_ID}\\n/" "${SENTINEL_CONF}"
  10099. if [ "$SENTINEL_TLS_REPLICATION_ENABLED" = true ]; then
  10100. echo " redis master (${1}:${REDIS_TLS_PORT})"
  10101. sed -i "2s/^/sentinel monitor ${MASTER_GROUP} ${1} ${REDIS_TLS_PORT} ${QUORUM} \\n/" "${SENTINEL_CONF}"
  10102. else
  10103. echo " redis master (${1}:${REDIS_PORT})"
  10104. sed -i "2s/^/sentinel monitor ${MASTER_GROUP} ${1} ${REDIS_PORT} ${QUORUM} \\n/" "${SENTINEL_CONF}"
  10105. fi
  10106. echo "sentinel announce-ip ${ANNOUNCE_IP}" >> ${SENTINEL_CONF}
  10107. if [ "$SENTINEL_PORT" -eq 0 ]; then
  10108. echo " announce (${ANNOUNCE_IP}:${SENTINEL_TLS_PORT})"
  10109. echo "sentinel announce-port ${SENTINEL_TLS_PORT}" >> ${SENTINEL_CONF}
  10110. else
  10111. echo " announce (${ANNOUNCE_IP}:${SENTINEL_PORT})"
  10112. echo "sentinel announce-port ${SENTINEL_PORT}" >> ${SENTINEL_CONF}
  10113. fi
  10114. }
  10115. redis_update() {
  10116. echo "Updating redis config.."
  10117. if [ "$REDIS_TLS_REPLICATION_ENABLED" = true ]; then
  10118. echo " we are slave of redis master (${1}:${REDIS_TLS_PORT})"
  10119. echo "slaveof ${1} ${REDIS_TLS_PORT}" >> "${REDIS_CONF}"
  10120. echo "slave-announce-port ${REDIS_TLS_PORT}" >> ${REDIS_CONF}
  10121. else
  10122. echo " we are slave of redis master (${1}:${REDIS_PORT})"
  10123. echo "slaveof ${1} ${REDIS_PORT}" >> "${REDIS_CONF}"
  10124. echo "slave-announce-port ${REDIS_PORT}" >> ${REDIS_CONF}
  10125. fi
  10126. echo "slave-announce-ip ${ANNOUNCE_IP}" >> ${REDIS_CONF}
  10127. }
  10128. copy_config() {
  10129. echo "Copying default redis config.."
  10130. echo " to '${REDIS_CONF}'"
  10131. cp /readonly-config/redis.conf "${REDIS_CONF}"
  10132. echo "Copying default sentinel config.."
  10133. echo " to '${SENTINEL_CONF}'"
  10134. cp /readonly-config/sentinel.conf "${SENTINEL_CONF}"
  10135. }
  10136. setup_defaults() {
  10137. echo "Setting up defaults.."
  10138. echo " using statefulset index (${INDEX})"
  10139. if [ "${INDEX}" = "0" ]; then
  10140. echo "Setting this pod as master for redis and sentinel.."
  10141. echo " using announce (${ANNOUNCE_IP})"
  10142. redis_update "${ANNOUNCE_IP}"
  10143. sentinel_update "${ANNOUNCE_IP}"
  10144. echo " make sure ${ANNOUNCE_IP} is not a slave (slaveof no one)"
  10145. sed -i "s/^.*slaveof.*//" "${REDIS_CONF}"
  10146. else
  10147. echo "Getting redis master ip.."
  10148. echo " blindly assuming (${SERVICE}-announce-0) or (${SERVICE}-server-0) are master"
  10149. DEFAULT_MASTER="$(getent_hosts 0 | awk '{ print $1 }')"
  10150. if [ -z "${DEFAULT_MASTER}" ]; then
  10151. echo "Error: Unable to resolve redis master (getent hosts)."
  10152. exit 1
  10153. fi
  10154. echo " identified redis (may be redis master) ip (${DEFAULT_MASTER})"
  10155. echo "Setting default slave config for redis and sentinel.."
  10156. echo " using master ip (${DEFAULT_MASTER})"
  10157. redis_update "${DEFAULT_MASTER}"
  10158. sentinel_update "${DEFAULT_MASTER}"
  10159. fi
  10160. }
  10161. redis_ping() {
  10162. set +e
  10163. if [ "$REDIS_PORT" -eq 0 ]; then
  10164. redis-cli -h "${MASTER}" -p "${REDIS_TLS_PORT}" --tls --cacert /tls-certs/ca.crt --cert /tls-certs/redis.crt --key /tls-certs/redis.key ping
  10165. else
  10166. redis-cli -h "${MASTER}" -p "${REDIS_PORT}" ping
  10167. fi
  10168. set -e
  10169. }
  10170. redis_ping_retry() {
  10171. ping=''
  10172. retry=${1}
  10173. sleep=3
  10174. for i in $(seq 1 "${retry}"); do
  10175. if [ "$(redis_ping)" = "PONG" ]; then
  10176. ping='PONG'
  10177. break
  10178. fi
  10179. sleep $((sleep + i))
  10180. MASTER=$(sentinel_get_master)
  10181. done
  10182. echo "${ping}"
  10183. }
  10184. find_master() {
  10185. echo "Verifying redis master.."
  10186. if [ "$REDIS_PORT" -eq 0 ]; then
  10187. echo " ping (${MASTER}:${REDIS_TLS_PORT})"
  10188. else
  10189. echo " ping (${MASTER}:${REDIS_PORT})"
  10190. fi
  10191. if [ "$(redis_ping_retry 3)" != "PONG" ]; then
  10192. echo " $(date) Can't ping redis master (${MASTER})"
  10193. echo "Attempting to force failover (sentinel failover).."
  10194. if [ "$SENTINEL_PORT" -eq 0 ]; then
  10195. echo " on sentinel (${SERVICE}:${SENTINEL_TLS_PORT}), sentinel grp (${MASTER_GROUP})"
  10196. if redis-cli -h "${SERVICE}" -p "${SENTINEL_TLS_PORT}" --tls --cacert /tls-certs/ca.crt --cert /tls-certs/redis.crt --key /tls-certs/redis.key sentinel failover "${MASTER_GROUP}" | grep -q 'NOGOODSLAVE' ; then
  10197. echo " $(date) Failover returned with 'NOGOODSLAVE'"
  10198. echo "Setting defaults for this pod.."
  10199. setup_defaults
  10200. return 0
  10201. fi
  10202. else
  10203. echo " on sentinel (${SERVICE}:${SENTINEL_PORT}), sentinel grp (${MASTER_GROUP})"
  10204. if redis-cli -h "${SERVICE}" -p "${SENTINEL_PORT}" sentinel failover "${MASTER_GROUP}" | grep -q 'NOGOODSLAVE' ; then
  10205. echo " $(date) Failover returned with 'NOGOODSLAVE'"
  10206. echo "Setting defaults for this pod.."
  10207. setup_defaults
  10208. return 0
  10209. fi
  10210. fi
  10211. echo "Hold on for 10sec"
  10212. sleep 10
  10213. echo "We should get redis master's ip now. Asking (get-master-addr-by-name).."
  10214. if [ "$SENTINEL_PORT" -eq 0 ]; then
  10215. echo " sentinel (${SERVICE}:${SENTINEL_TLS_PORT}), sentinel grp (${MASTER_GROUP})"
  10216. else
  10217. echo " sentinel (${SERVICE}:${SENTINEL_PORT}), sentinel grp (${MASTER_GROUP})"
  10218. fi
  10219. MASTER="$(sentinel_get_master)"
  10220. if [ "${MASTER}" ]; then
  10221. echo " $(date) Found redis master (${MASTER})"
  10222. echo "Updating redis and sentinel config.."
  10223. sentinel_update "${MASTER}"
  10224. redis_update "${MASTER}"
  10225. else
  10226. echo "$(date) Error: Could not failover, exiting..."
  10227. exit 1
  10228. fi
  10229. else
  10230. echo " $(date) Found reachable redis master (${MASTER})"
  10231. echo "Updating redis and sentinel config.."
  10232. sentinel_update "${MASTER}"
  10233. redis_update "${MASTER}"
  10234. fi
  10235. }
  10236. redis_ro_update() {
  10237. echo "Updating read-only redis config.."
  10238. echo " redis.conf set 'replica-priority 0'"
  10239. echo "replica-priority 0" >> ${REDIS_CONF}
  10240. }
  10241. getent_hosts() {
  10242. index=${1:-${INDEX}}
  10243. service="${SERVICE}-announce-${index}"
  10244. host=$(getent hosts "${service}")
  10245. echo "${host}"
  10246. }
  10247. identify_announce_ip() {
  10248. echo "Identify announce ip for this pod.."
  10249. echo " using (${SERVICE}-announce-${INDEX}) or (${SERVICE}-server-${INDEX})"
  10250. ANNOUNCE_IP=$(getent_hosts | awk '{ print $1 }')
  10251. echo " identified announce (${ANNOUNCE_IP})"
  10252. }
  10253. redis_role() {
  10254. set +e
  10255. if [ "$REDIS_PORT" -eq 0 ]; then
  10256. ROLE=$(redis-cli -p "${REDIS_TLS_PORT}" --tls --cacert /tls-certs/ca.crt --cert /tls-certs/redis.crt --key /tls-certs/redis.key info | grep role | sed 's/role://' | sed 's/\r//')
  10257. else
  10258. ROLE=$(redis-cli -p "${REDIS_PORT}" info | grep role | sed 's/role://' | sed 's/\r//')
  10259. fi
  10260. set -e
  10261. }
  10262. identify_redis_master() {
  10263. set +e
  10264. if [ "$REDIS_PORT" -eq 0 ]; then
  10265. REDIS_MASTER=$(redis-cli -p "${REDIS_TLS_PORT}" --tls --cacert /tls-certs/ca.crt --cert /tls-certs/redis.crt --key /tls-certs/redis.key info | grep master_host | sed 's/master_host://' | sed 's/\r//')
  10266. else
  10267. REDIS_MASTER=$(redis-cli -p "${REDIS_PORT}" info | grep master_host | sed 's/master_host://' | sed 's/\r//')
  10268. fi
  10269. set -e
  10270. }
  10271. reinit() {
  10272. set +e
  10273. sh /readonly-config/init.sh
  10274. if [ "$REDIS_PORT" -eq 0 ]; then
  10275. echo "shutdown" | redis-cli -p "${REDIS_TLS_PORT}" --tls --cacert /tls-certs/ca.crt --cert /tls-certs/redis.crt --key /tls-certs/redis.key
  10276. else
  10277. echo "shutdown" | redis-cli -p "${REDIS_PORT}"
  10278. fi
  10279. set -e
  10280. }
  10281. identify_announce_ip
  10282. while [ -z "${ANNOUNCE_IP}" ]; do
  10283. echo "Error: Could not resolve the announce ip for this pod."
  10284. sleep 30
  10285. identify_announce_ip
  10286. done
  10287. while true; do
  10288. sleep 60
  10289. # where is redis master
  10290. identify_master
  10291. if [ "$MASTER" = "$ANNOUNCE_IP" ]; then
  10292. redis_role
  10293. if [ "$ROLE" != "master" ]; then
  10294. reinit
  10295. fi
  10296. elif [ "${MASTER}" ]; then
  10297. identify_redis_master
  10298. if [ "$REDIS_MASTER" != "$MASTER" ]; then
  10299. reinit
  10300. fi
  10301. fi
  10302. done
  10303. haproxy.cfg: |
  10304. defaults REDIS
  10305. mode tcp
  10306. timeout connect 4s
  10307. timeout server 6m
  10308. timeout client 6m
  10309. timeout check 2s
  10310. listen health_check_http_url
  10311. bind [::]:8888 v4v6
  10312. mode http
  10313. monitor-uri /healthz
  10314. option dontlognull
  10315. # Check Sentinel and whether they are nominated master
  10316. backend check_if_redis_is_master_0
  10317. mode tcp
  10318. option tcp-check
  10319. tcp-check connect
  10320. tcp-check send PING\r\n
  10321. tcp-check expect string +PONG
  10322. tcp-check send SENTINEL\ get-master-addr-by-name\ argocd\r\n
  10323. tcp-check expect string REPLACE_ANNOUNCE0
  10324. tcp-check send QUIT\r\n
  10325. server R0 argocd-redis-ha-announce-0:26379 check inter 3s
  10326. server R1 argocd-redis-ha-announce-1:26379 check inter 3s
  10327. server R2 argocd-redis-ha-announce-2:26379 check inter 3s
  10328. # Check Sentinel and whether they are nominated master
  10329. backend check_if_redis_is_master_1
  10330. mode tcp
  10331. option tcp-check
  10332. tcp-check connect
  10333. tcp-check send PING\r\n
  10334. tcp-check expect string +PONG
  10335. tcp-check send SENTINEL\ get-master-addr-by-name\ argocd\r\n
  10336. tcp-check expect string REPLACE_ANNOUNCE1
  10337. tcp-check send QUIT\r\n
  10338. server R0 argocd-redis-ha-announce-0:26379 check inter 3s
  10339. server R1 argocd-redis-ha-announce-1:26379 check inter 3s
  10340. server R2 argocd-redis-ha-announce-2:26379 check inter 3s
  10341. # Check Sentinel and whether they are nominated master
  10342. backend check_if_redis_is_master_2
  10343. mode tcp
  10344. option tcp-check
  10345. tcp-check connect
  10346. tcp-check send PING\r\n
  10347. tcp-check expect string +PONG
  10348. tcp-check send SENTINEL\ get-master-addr-by-name\ argocd\r\n
  10349. tcp-check expect string REPLACE_ANNOUNCE2
  10350. tcp-check send QUIT\r\n
  10351. server R0 argocd-redis-ha-announce-0:26379 check inter 3s
  10352. server R1 argocd-redis-ha-announce-1:26379 check inter 3s
  10353. server R2 argocd-redis-ha-announce-2:26379 check inter 3s
  10354. # decide redis backend to use
  10355. #master
  10356. frontend ft_redis_master
  10357. bind [::]:6379 v4v6
  10358. use_backend bk_redis_master
  10359. # Check all redis servers to see if they think they are master
  10360. backend bk_redis_master
  10361. mode tcp
  10362. option tcp-check
  10363. tcp-check connect
  10364. tcp-check send PING\r\n
  10365. tcp-check expect string +PONG
  10366. tcp-check send info\ replication\r\n
  10367. tcp-check expect string role:master
  10368. tcp-check send QUIT\r\n
  10369. tcp-check expect string +OK
  10370. use-server R0 if { srv_is_up(R0) } { nbsrv(check_if_redis_is_master_0) ge 2 }
  10371. server R0 argocd-redis-ha-announce-0:6379 check inter 3s fall 1 rise 1
  10372. use-server R1 if { srv_is_up(R1) } { nbsrv(check_if_redis_is_master_1) ge 2 }
  10373. server R1 argocd-redis-ha-announce-1:6379 check inter 3s fall 1 rise 1
  10374. use-server R2 if { srv_is_up(R2) } { nbsrv(check_if_redis_is_master_2) ge 2 }
  10375. server R2 argocd-redis-ha-announce-2:6379 check inter 3s fall 1 rise 1
  10376. haproxy_init.sh: |
  10377. HAPROXY_CONF=/data/haproxy.cfg
  10378. cp /readonly/haproxy.cfg "$HAPROXY_CONF"
  10379. for loop in $(seq 1 10); do
  10380. getent hosts argocd-redis-ha-announce-0 && break
  10381. echo "Waiting for service argocd-redis-ha-announce-0 to be ready ($loop) ..." && sleep 1
  10382. done
  10383. ANNOUNCE_IP0=$(getent hosts "argocd-redis-ha-announce-0" | awk '{ print $1 }')
  10384. if [ -z "$ANNOUNCE_IP0" ]; then
  10385. echo "Could not resolve the announce ip for argocd-redis-ha-announce-0"
  10386. exit 1
  10387. fi
  10388. sed -i "s/REPLACE_ANNOUNCE0/$ANNOUNCE_IP0/" "$HAPROXY_CONF"
  10389. for loop in $(seq 1 10); do
  10390. getent hosts argocd-redis-ha-announce-1 && break
  10391. echo "Waiting for service argocd-redis-ha-announce-1 to be ready ($loop) ..." && sleep 1
  10392. done
  10393. ANNOUNCE_IP1=$(getent hosts "argocd-redis-ha-announce-1" | awk '{ print $1 }')
  10394. if [ -z "$ANNOUNCE_IP1" ]; then
  10395. echo "Could not resolve the announce ip for argocd-redis-ha-announce-1"
  10396. exit 1
  10397. fi
  10398. sed -i "s/REPLACE_ANNOUNCE1/$ANNOUNCE_IP1/" "$HAPROXY_CONF"
  10399. for loop in $(seq 1 10); do
  10400. getent hosts argocd-redis-ha-announce-2 && break
  10401. echo "Waiting for service argocd-redis-ha-announce-2 to be ready ($loop) ..." && sleep 1
  10402. done
  10403. ANNOUNCE_IP2=$(getent hosts "argocd-redis-ha-announce-2" | awk '{ print $1 }')
  10404. if [ -z "$ANNOUNCE_IP2" ]; then
  10405. echo "Could not resolve the announce ip for argocd-redis-ha-announce-2"
  10406. exit 1
  10407. fi
  10408. sed -i "s/REPLACE_ANNOUNCE2/$ANNOUNCE_IP2/" "$HAPROXY_CONF"
  10409. init.sh: |
  10410. echo "$(date) Start..."
  10411. HOSTNAME="$(hostname)"
  10412. INDEX="${HOSTNAME##*-}"
  10413. SENTINEL_PORT=26379
  10414. ANNOUNCE_IP=''
  10415. MASTER=''
  10416. MASTER_GROUP="argocd"
  10417. QUORUM="2"
  10418. REDIS_CONF=/data/conf/redis.conf
  10419. REDIS_PORT=6379
  10420. REDIS_TLS_PORT=
  10421. SENTINEL_CONF=/data/conf/sentinel.conf
  10422. SENTINEL_TLS_PORT=
  10423. SERVICE=argocd-redis-ha
  10424. SENTINEL_TLS_REPLICATION_ENABLED=false
  10425. REDIS_TLS_REPLICATION_ENABLED=false
  10426. set -eu
  10427. sentinel_get_master() {
  10428. set +e
  10429. if [ "$SENTINEL_PORT" -eq 0 ]; then
  10430. redis-cli -h "${SERVICE}" -p "${SENTINEL_TLS_PORT}" --tls --cacert /tls-certs/ca.crt --cert /tls-certs/redis.crt --key /tls-certs/redis.key sentinel get-master-addr-by-name "${MASTER_GROUP}" |\
  10431. grep -E '((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?s*$))'
  10432. else
  10433. redis-cli -h "${SERVICE}" -p "${SENTINEL_PORT}" sentinel get-master-addr-by-name "${MASTER_GROUP}" |\
  10434. grep -E '((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?s*$))'
  10435. fi
  10436. set -e
  10437. }
  10438. sentinel_get_master_retry() {
  10439. master=''
  10440. retry=${1}
  10441. sleep=3
  10442. for i in $(seq 1 "${retry}"); do
  10443. master=$(sentinel_get_master)
  10444. if [ -n "${master}" ]; then
  10445. break
  10446. fi
  10447. sleep $((sleep + i))
  10448. done
  10449. echo "${master}"
  10450. }
  10451. identify_master() {
  10452. echo "Identifying redis master (get-master-addr-by-name).."
  10453. echo " using sentinel (argocd-redis-ha), sentinel group name (argocd)"
  10454. MASTER="$(sentinel_get_master_retry 3)"
  10455. if [ -n "${MASTER}" ]; then
  10456. echo " $(date) Found redis master (${MASTER})"
  10457. else
  10458. echo " $(date) Did not find redis master (${MASTER})"
  10459. fi
  10460. }
  10461. sentinel_update() {
  10462. echo "Updating sentinel config.."
  10463. echo " evaluating sentinel id (\${SENTINEL_ID_${INDEX}})"
  10464. eval MY_SENTINEL_ID="\$SENTINEL_ID_${INDEX}"
  10465. echo " sentinel id (${MY_SENTINEL_ID}), sentinel grp (${MASTER_GROUP}), quorum (${QUORUM})"
  10466. sed -i "1s/^/sentinel myid ${MY_SENTINEL_ID}\\n/" "${SENTINEL_CONF}"
  10467. if [ "$SENTINEL_TLS_REPLICATION_ENABLED" = true ]; then
  10468. echo " redis master (${1}:${REDIS_TLS_PORT})"
  10469. sed -i "2s/^/sentinel monitor ${MASTER_GROUP} ${1} ${REDIS_TLS_PORT} ${QUORUM} \\n/" "${SENTINEL_CONF}"
  10470. else
  10471. echo " redis master (${1}:${REDIS_PORT})"
  10472. sed -i "2s/^/sentinel monitor ${MASTER_GROUP} ${1} ${REDIS_PORT} ${QUORUM} \\n/" "${SENTINEL_CONF}"
  10473. fi
  10474. echo "sentinel announce-ip ${ANNOUNCE_IP}" >> ${SENTINEL_CONF}
  10475. if [ "$SENTINEL_PORT" -eq 0 ]; then
  10476. echo " announce (${ANNOUNCE_IP}:${SENTINEL_TLS_PORT})"
  10477. echo "sentinel announce-port ${SENTINEL_TLS_PORT}" >> ${SENTINEL_CONF}
  10478. else
  10479. echo " announce (${ANNOUNCE_IP}:${SENTINEL_PORT})"
  10480. echo "sentinel announce-port ${SENTINEL_PORT}" >> ${SENTINEL_CONF}
  10481. fi
  10482. }
  10483. redis_update() {
  10484. echo "Updating redis config.."
  10485. if [ "$REDIS_TLS_REPLICATION_ENABLED" = true ]; then
  10486. echo " we are slave of redis master (${1}:${REDIS_TLS_PORT})"
  10487. echo "slaveof ${1} ${REDIS_TLS_PORT}" >> "${REDIS_CONF}"
  10488. echo "slave-announce-port ${REDIS_TLS_PORT}" >> ${REDIS_CONF}
  10489. else
  10490. echo " we are slave of redis master (${1}:${REDIS_PORT})"
  10491. echo "slaveof ${1} ${REDIS_PORT}" >> "${REDIS_CONF}"
  10492. echo "slave-announce-port ${REDIS_PORT}" >> ${REDIS_CONF}
  10493. fi
  10494. echo "slave-announce-ip ${ANNOUNCE_IP}" >> ${REDIS_CONF}
  10495. }
  10496. copy_config() {
  10497. echo "Copying default redis config.."
  10498. echo " to '${REDIS_CONF}'"
  10499. cp /readonly-config/redis.conf "${REDIS_CONF}"
  10500. echo "Copying default sentinel config.."
  10501. echo " to '${SENTINEL_CONF}'"
  10502. cp /readonly-config/sentinel.conf "${SENTINEL_CONF}"
  10503. }
  10504. setup_defaults() {
  10505. echo "Setting up defaults.."
  10506. echo " using statefulset index (${INDEX})"
  10507. if [ "${INDEX}" = "0" ]; then
  10508. echo "Setting this pod as master for redis and sentinel.."
  10509. echo " using announce (${ANNOUNCE_IP})"
  10510. redis_update "${ANNOUNCE_IP}"
  10511. sentinel_update "${ANNOUNCE_IP}"
  10512. echo " make sure ${ANNOUNCE_IP} is not a slave (slaveof no one)"
  10513. sed -i "s/^.*slaveof.*//" "${REDIS_CONF}"
  10514. else
  10515. echo "Getting redis master ip.."
  10516. echo " blindly assuming (${SERVICE}-announce-0) or (${SERVICE}-server-0) are master"
  10517. DEFAULT_MASTER="$(getent_hosts 0 | awk '{ print $1 }')"
  10518. if [ -z "${DEFAULT_MASTER}" ]; then
  10519. echo "Error: Unable to resolve redis master (getent hosts)."
  10520. exit 1
  10521. fi
  10522. echo " identified redis (may be redis master) ip (${DEFAULT_MASTER})"
  10523. echo "Setting default slave config for redis and sentinel.."
  10524. echo " using master ip (${DEFAULT_MASTER})"
  10525. redis_update "${DEFAULT_MASTER}"
  10526. sentinel_update "${DEFAULT_MASTER}"
  10527. fi
  10528. }
  10529. redis_ping() {
  10530. set +e
  10531. if [ "$REDIS_PORT" -eq 0 ]; then
  10532. redis-cli -h "${MASTER}" -p "${REDIS_TLS_PORT}" --tls --cacert /tls-certs/ca.crt --cert /tls-certs/redis.crt --key /tls-certs/redis.key ping
  10533. else
  10534. redis-cli -h "${MASTER}" -p "${REDIS_PORT}" ping
  10535. fi
  10536. set -e
  10537. }
  10538. redis_ping_retry() {
  10539. ping=''
  10540. retry=${1}
  10541. sleep=3
  10542. for i in $(seq 1 "${retry}"); do
  10543. if [ "$(redis_ping)" = "PONG" ]; then
  10544. ping='PONG'
  10545. break
  10546. fi
  10547. sleep $((sleep + i))
  10548. MASTER=$(sentinel_get_master)
  10549. done
  10550. echo "${ping}"
  10551. }
  10552. find_master() {
  10553. echo "Verifying redis master.."
  10554. if [ "$REDIS_PORT" -eq 0 ]; then
  10555. echo " ping (${MASTER}:${REDIS_TLS_PORT})"
  10556. else
  10557. echo " ping (${MASTER}:${REDIS_PORT})"
  10558. fi
  10559. if [ "$(redis_ping_retry 3)" != "PONG" ]; then
  10560. echo " $(date) Can't ping redis master (${MASTER})"
  10561. echo "Attempting to force failover (sentinel failover).."
  10562. if [ "$SENTINEL_PORT" -eq 0 ]; then
  10563. echo " on sentinel (${SERVICE}:${SENTINEL_TLS_PORT}), sentinel grp (${MASTER_GROUP})"
  10564. if redis-cli -h "${SERVICE}" -p "${SENTINEL_TLS_PORT}" --tls --cacert /tls-certs/ca.crt --cert /tls-certs/redis.crt --key /tls-certs/redis.key sentinel failover "${MASTER_GROUP}" | grep -q 'NOGOODSLAVE' ; then
  10565. echo " $(date) Failover returned with 'NOGOODSLAVE'"
  10566. echo "Setting defaults for this pod.."
  10567. setup_defaults
  10568. return 0
  10569. fi
  10570. else
  10571. echo " on sentinel (${SERVICE}:${SENTINEL_PORT}), sentinel grp (${MASTER_GROUP})"
  10572. if redis-cli -h "${SERVICE}" -p "${SENTINEL_PORT}" sentinel failover "${MASTER_GROUP}" | grep -q 'NOGOODSLAVE' ; then
  10573. echo " $(date) Failover returned with 'NOGOODSLAVE'"
  10574. echo "Setting defaults for this pod.."
  10575. setup_defaults
  10576. return 0
  10577. fi
  10578. fi
  10579. echo "Hold on for 10sec"
  10580. sleep 10
  10581. echo "We should get redis master's ip now. Asking (get-master-addr-by-name).."
  10582. if [ "$SENTINEL_PORT" -eq 0 ]; then
  10583. echo " sentinel (${SERVICE}:${SENTINEL_TLS_PORT}), sentinel grp (${MASTER_GROUP})"
  10584. else
  10585. echo " sentinel (${SERVICE}:${SENTINEL_PORT}), sentinel grp (${MASTER_GROUP})"
  10586. fi
  10587. MASTER="$(sentinel_get_master)"
  10588. if [ "${MASTER}" ]; then
  10589. echo " $(date) Found redis master (${MASTER})"
  10590. echo "Updating redis and sentinel config.."
  10591. sentinel_update "${MASTER}"
  10592. redis_update "${MASTER}"
  10593. else
  10594. echo "$(date) Error: Could not failover, exiting..."
  10595. exit 1
  10596. fi
  10597. else
  10598. echo " $(date) Found reachable redis master (${MASTER})"
  10599. echo "Updating redis and sentinel config.."
  10600. sentinel_update "${MASTER}"
  10601. redis_update "${MASTER}"
  10602. fi
  10603. }
  10604. redis_ro_update() {
  10605. echo "Updating read-only redis config.."
  10606. echo " redis.conf set 'replica-priority 0'"
  10607. echo "replica-priority 0" >> ${REDIS_CONF}
  10608. }
  10609. getent_hosts() {
  10610. index=${1:-${INDEX}}
  10611. service="${SERVICE}-announce-${index}"
  10612. host=$(getent hosts "${service}")
  10613. echo "${host}"
  10614. }
  10615. identify_announce_ip() {
  10616. echo "Identify announce ip for this pod.."
  10617. echo " using (${SERVICE}-announce-${INDEX}) or (${SERVICE}-server-${INDEX})"
  10618. ANNOUNCE_IP=$(getent_hosts | awk '{ print $1 }')
  10619. echo " identified announce (${ANNOUNCE_IP})"
  10620. }
  10621. mkdir -p /data/conf/
  10622. echo "Initializing config.."
  10623. copy_config
  10624. # where is redis master
  10625. identify_master
  10626. identify_announce_ip
  10627. if [ -z "${ANNOUNCE_IP}" ]; then
  10628. "Error: Could not resolve the announce ip for this pod."
  10629. exit 1
  10630. elif [ "${MASTER}" ]; then
  10631. find_master
  10632. else
  10633. setup_defaults
  10634. fi
  10635. if [ "${AUTH:-}" ]; then
  10636. echo "Setting redis auth values.."
  10637. ESCAPED_AUTH=$(echo "${AUTH}" | sed -e 's/[\/&]/\\&/g');
  10638. sed -i "s/replace-default-auth/${ESCAPED_AUTH}/" "${REDIS_CONF}" "${SENTINEL_CONF}"
  10639. fi
  10640. if [ "${SENTINELAUTH:-}" ]; then
  10641. echo "Setting sentinel auth values"
  10642. ESCAPED_AUTH_SENTINEL=$(echo "$SENTINELAUTH" | sed -e 's/[\/&]/\\&/g');
  10643. sed -i "s/replace-default-sentinel-auth/${ESCAPED_AUTH_SENTINEL}/" "$SENTINEL_CONF"
  10644. fi
  10645. echo "$(date) Ready..."
  10646. redis.conf: |
  10647. dir "/data"
  10648. port 6379
  10649. rename-command FLUSHDB ""
  10650. rename-command FLUSHALL ""
  10651. maxmemory 0
  10652. maxmemory-policy volatile-lru
  10653. min-replicas-max-lag 5
  10654. min-replicas-to-write 1
  10655. rdbchecksum yes
  10656. rdbcompression yes
  10657. repl-diskless-sync yes
  10658. save ""
  10659. sentinel.conf: |
  10660. dir "/data"
  10661. port 26379
  10662. sentinel down-after-milliseconds argocd 10000
  10663. sentinel failover-timeout argocd 180000
  10664. maxclients 10000
  10665. sentinel parallel-syncs argocd 5
  10666. trigger-failover-if-master.sh: |
  10667. get_redis_role() {
  10668. is_master=$(
  10669. redis-cli \
  10670. -h localhost \
  10671. -p 6379 \
  10672. info | grep -c 'role:master' || true
  10673. )
  10674. }
  10675. get_redis_role
  10676. if [[ "$is_master" -eq 1 ]]; then
  10677. echo "This node is currently master, we trigger a failover."
  10678. response=$(
  10679. redis-cli \
  10680. -h localhost \
  10681. -p 26379 \
  10682. SENTINEL failover argocd
  10683. )
  10684. if [[ "$response" != "OK" ]] ; then
  10685. echo "$response"
  10686. exit 1
  10687. fi
  10688. timeout=30
  10689. while [[ "$is_master" -eq 1 && $timeout -gt 0 ]]; do
  10690. sleep 1
  10691. get_redis_role
  10692. timeout=$((timeout - 1))
  10693. done
  10694. echo "Failover successful"
  10695. fi
  10696. kind: ConfigMap
  10697. metadata:
  10698. labels:
  10699. app.kubernetes.io/component: redis
  10700. app.kubernetes.io/name: argocd-redis-ha
  10701. app.kubernetes.io/part-of: argocd
  10702. name: argocd-redis-ha-configmap
  10703. ---
  10704. apiVersion: v1
  10705. data:
  10706. redis_liveness.sh: |
  10707. response=$(
  10708. redis-cli \
  10709. -h localhost \
  10710. -p 6379 \
  10711. ping
  10712. )
  10713. if [ "$response" != "PONG" ] && [ "${response:0:7}" != "LOADING" ] ; then
  10714. echo "$response"
  10715. exit 1
  10716. fi
  10717. echo "response=$response"
  10718. redis_readiness.sh: |
  10719. response=$(
  10720. redis-cli \
  10721. -h localhost \
  10722. -p 6379 \
  10723. ping
  10724. )
  10725. if [ "$response" != "PONG" ] ; then
  10726. echo "$response"
  10727. exit 1
  10728. fi
  10729. echo "response=$response"
  10730. sentinel_liveness.sh: |
  10731. response=$(
  10732. redis-cli \
  10733. -h localhost \
  10734. -p 26379 \
  10735. ping
  10736. )
  10737. if [ "$response" != "PONG" ]; then
  10738. echo "$response"
  10739. exit 1
  10740. fi
  10741. echo "response=$response"
  10742. kind: ConfigMap
  10743. metadata:
  10744. labels:
  10745. app.kubernetes.io/component: redis
  10746. app.kubernetes.io/name: argocd-redis-ha
  10747. app.kubernetes.io/part-of: argocd
  10748. name: argocd-redis-ha-health-configmap
  10749. ---
  10750. apiVersion: v1
  10751. data:
  10752. ssh_known_hosts: |-
  10753. bitbucket.org ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAubiN81eDcafrgMeLzaFPsw2kNvEcqTKl/VqLat/MaB33pZy0y3rJZtnqwR2qOOvbwKZYKiEO1O6VqNEBxKvJJelCq0dTXWT5pbO2gDXC6h6QDXCaHo6pOHGPUy+YBaGQRGuSusMEASYiWunYN0vCAI8QaXnWMXNMdFP3jHAJH0eDsoiGnLPBlBp4TNm6rYI74nMzgz3B9IikW4WVK+dc8KZJZWYjAuORU3jc1c/NPskD2ASinf8v3xnfXeukU0sJ5N6m5E8VLjObPEO+mN2t/FZTMZLiFqPWc/ALSqnMnnhwrNi2rbfg/rd/IpL8Le3pSBne8+seeFVBoGqzHM9yXw==
  10754. github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==
  10755. gitlab.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFSMqzJeV9rUzU4kWitGjeR4PWSa29SPqJ1fVkhtj3Hw9xjLVXVYrU9QlYWrOLXBpQ6KWjbjTDTdDkoohFzgbEY=
  10756. gitlab.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAfuCHKVTjquxvt6CM6tdG4SLp1Btn/nOeHHE5UOzRdf
  10757. gitlab.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCsj2bNKTBSpIYDEGk9KxsGh3mySTRgMtXL583qmBpzeQ+jqCMRgBqB98u3z++J1sKlXHWfM9dyhSevkMwSbhoR8XIq/U0tCNyokEi/ueaBMCvbcTHhO7FcwzY92WK4Yt0aGROY5qX2UKSeOvuP4D6TPqKF1onrSzH9bx9XUf2lEdWT/ia1NEKjunUqu1xOB/StKDHMoX4/OKyIzuS0q/T1zOATthvasJFoPrAjkohTyaDUz2LN5JoH839hViyEG82yB+MjcFV5MU3N1l1QL3cVUCh93xSaua1N85qivl+siMkPGbO5xR/En4iEY6K2XPASUEMaieWVNTRCtJ4S8H+9
  10758. ssh.dev.azure.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7Hr1oTWqNqOlzGJOfGJ4NakVyIzf1rXYd4d7wo6jBlkLvCA4odBlL0mDUyZ0/QUfTTqeu+tm22gOsv+VrVTMk6vwRU75gY/y9ut5Mb3bR5BV58dKXyq9A9UeB5Cakehn5Zgm6x1mKoVyf+FFn26iYqXJRgzIZZcZ5V6hrE0Qg39kZm4az48o0AUbf6Sp4SLdvnuMa2sVNwHBboS7EJkm57XQPVU3/QpyNLHbWDdzwtrlS+ez30S3AdYhLKEOxAG8weOnyrtLJAUen9mTkol8oII1edf7mWWbWVf0nBmly21+nZcmCTISQBtdcyPaEno7fFQMDD26/s0lfKob4Kw8H
  10759. vs-ssh.visualstudio.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7Hr1oTWqNqOlzGJOfGJ4NakVyIzf1rXYd4d7wo6jBlkLvCA4odBlL0mDUyZ0/QUfTTqeu+tm22gOsv+VrVTMk6vwRU75gY/y9ut5Mb3bR5BV58dKXyq9A9UeB5Cakehn5Zgm6x1mKoVyf+FFn26iYqXJRgzIZZcZ5V6hrE0Qg39kZm4az48o0AUbf6Sp4SLdvnuMa2sVNwHBboS7EJkm57XQPVU3/QpyNLHbWDdzwtrlS+ez30S3AdYhLKEOxAG8weOnyrtLJAUen9mTkol8oII1edf7mWWbWVf0nBmly21+nZcmCTISQBtdcyPaEno7fFQMDD26/s0lfKob4Kw8H
  10760. github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=
  10761. github.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl
  10762. kind: ConfigMap
  10763. metadata:
  10764. labels:
  10765. app.kubernetes.io/name: argocd-ssh-known-hosts-cm
  10766. app.kubernetes.io/part-of: argocd
  10767. name: argocd-ssh-known-hosts-cm
  10768. ---
  10769. apiVersion: v1
  10770. kind: ConfigMap
  10771. metadata:
  10772. labels:
  10773. app.kubernetes.io/name: argocd-tls-certs-cm
  10774. app.kubernetes.io/part-of: argocd
  10775. name: argocd-tls-certs-cm
  10776. ---
  10777. apiVersion: v1
  10778. kind: Secret
  10779. metadata:
  10780. name: argocd-notifications-secret
  10781. type: Opaque
  10782. ---
  10783. apiVersion: v1
  10784. kind: Secret
  10785. metadata:
  10786. labels:
  10787. app.kubernetes.io/name: argocd-secret
  10788. app.kubernetes.io/part-of: argocd
  10789. name: argocd-secret
  10790. type: Opaque
  10791. ---
  10792. apiVersion: v1
  10793. kind: Service
  10794. metadata:
  10795. labels:
  10796. app.kubernetes.io/component: controller
  10797. app.kubernetes.io/name: argocd-applicationset-controller
  10798. app.kubernetes.io/part-of: argocd-applicationset
  10799. name: argocd-applicationset-controller
  10800. spec:
  10801. ports:
  10802. - name: webhook
  10803. port: 7000
  10804. protocol: TCP
  10805. targetPort: webhook
  10806. - name: metrics
  10807. port: 8080
  10808. protocol: TCP
  10809. targetPort: metrics
  10810. selector:
  10811. app.kubernetes.io/name: argocd-applicationset-controller
  10812. ---
  10813. apiVersion: v1
  10814. kind: Service
  10815. metadata:
  10816. labels:
  10817. app.kubernetes.io/component: dex-server
  10818. app.kubernetes.io/name: argocd-dex-server
  10819. app.kubernetes.io/part-of: argocd
  10820. name: argocd-dex-server
  10821. spec:
  10822. ports:
  10823. - name: http
  10824. port: 5556
  10825. protocol: TCP
  10826. targetPort: 5556
  10827. - name: grpc
  10828. port: 5557
  10829. protocol: TCP
  10830. targetPort: 5557
  10831. - name: metrics
  10832. port: 5558
  10833. protocol: TCP
  10834. targetPort: 5558
  10835. selector:
  10836. app.kubernetes.io/name: argocd-dex-server
  10837. ---
  10838. apiVersion: v1
  10839. kind: Service
  10840. metadata:
  10841. labels:
  10842. app.kubernetes.io/component: metrics
  10843. app.kubernetes.io/name: argocd-metrics
  10844. app.kubernetes.io/part-of: argocd
  10845. name: argocd-metrics
  10846. spec:
  10847. ports:
  10848. - name: metrics
  10849. port: 8082
  10850. protocol: TCP
  10851. targetPort: 8082
  10852. selector:
  10853. app.kubernetes.io/name: argocd-application-controller
  10854. ---
  10855. apiVersion: v1
  10856. kind: Service
  10857. metadata:
  10858. labels:
  10859. app.kubernetes.io/name: argocd-notifications-controller-metrics
  10860. name: argocd-notifications-controller-metrics
  10861. spec:
  10862. ports:
  10863. - name: metrics
  10864. port: 9001
  10865. protocol: TCP
  10866. targetPort: 9001
  10867. selector:
  10868. app.kubernetes.io/name: argocd-notifications-controller
  10869. ---
  10870. apiVersion: v1
  10871. kind: Service
  10872. metadata:
  10873. labels:
  10874. app.kubernetes.io/component: redis
  10875. app.kubernetes.io/name: argocd-redis-ha
  10876. app.kubernetes.io/part-of: argocd
  10877. name: argocd-redis-ha
  10878. spec:
  10879. clusterIP: None
  10880. ports:
  10881. - name: tcp-server
  10882. port: 6379
  10883. protocol: TCP
  10884. targetPort: redis
  10885. - name: tcp-sentinel
  10886. port: 26379
  10887. protocol: TCP
  10888. targetPort: sentinel
  10889. selector:
  10890. app.kubernetes.io/name: argocd-redis-ha
  10891. type: ClusterIP
  10892. ---
  10893. apiVersion: v1
  10894. kind: Service
  10895. metadata:
  10896. annotations:
  10897. service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
  10898. labels:
  10899. app.kubernetes.io/component: redis
  10900. app.kubernetes.io/name: argocd-redis-ha
  10901. app.kubernetes.io/part-of: argocd
  10902. name: argocd-redis-ha-announce-0
  10903. spec:
  10904. ports:
  10905. - name: tcp-server
  10906. port: 6379
  10907. protocol: TCP
  10908. targetPort: redis
  10909. - name: tcp-sentinel
  10910. port: 26379
  10911. protocol: TCP
  10912. targetPort: sentinel
  10913. publishNotReadyAddresses: true
  10914. selector:
  10915. app.kubernetes.io/name: argocd-redis-ha
  10916. statefulset.kubernetes.io/pod-name: argocd-redis-ha-server-0
  10917. type: ClusterIP
  10918. ---
  10919. apiVersion: v1
  10920. kind: Service
  10921. metadata:
  10922. annotations:
  10923. service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
  10924. labels:
  10925. app.kubernetes.io/component: redis
  10926. app.kubernetes.io/name: argocd-redis-ha
  10927. app.kubernetes.io/part-of: argocd
  10928. name: argocd-redis-ha-announce-1
  10929. spec:
  10930. ports:
  10931. - name: tcp-server
  10932. port: 6379
  10933. protocol: TCP
  10934. targetPort: redis
  10935. - name: tcp-sentinel
  10936. port: 26379
  10937. protocol: TCP
  10938. targetPort: sentinel
  10939. publishNotReadyAddresses: true
  10940. selector:
  10941. app.kubernetes.io/name: argocd-redis-ha
  10942. statefulset.kubernetes.io/pod-name: argocd-redis-ha-server-1
  10943. type: ClusterIP
  10944. ---
  10945. apiVersion: v1
  10946. kind: Service
  10947. metadata:
  10948. annotations:
  10949. service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
  10950. labels:
  10951. app.kubernetes.io/component: redis
  10952. app.kubernetes.io/name: argocd-redis-ha
  10953. app.kubernetes.io/part-of: argocd
  10954. name: argocd-redis-ha-announce-2
  10955. spec:
  10956. ports:
  10957. - name: tcp-server
  10958. port: 6379
  10959. protocol: TCP
  10960. targetPort: redis
  10961. - name: tcp-sentinel
  10962. port: 26379
  10963. protocol: TCP
  10964. targetPort: sentinel
  10965. publishNotReadyAddresses: true
  10966. selector:
  10967. app.kubernetes.io/name: argocd-redis-ha
  10968. statefulset.kubernetes.io/pod-name: argocd-redis-ha-server-2
  10969. type: ClusterIP
  10970. ---
  10971. apiVersion: v1
  10972. kind: Service
  10973. metadata:
  10974. labels:
  10975. app.kubernetes.io/component: redis
  10976. app.kubernetes.io/name: argocd-redis-ha-haproxy
  10977. app.kubernetes.io/part-of: argocd
  10978. name: argocd-redis-ha-haproxy
  10979. spec:
  10980. ports:
  10981. - name: tcp-haproxy
  10982. port: 6379
  10983. protocol: TCP
  10984. targetPort: redis
  10985. selector:
  10986. app.kubernetes.io/name: argocd-redis-ha-haproxy
  10987. type: ClusterIP
  10988. ---
  10989. apiVersion: v1
  10990. kind: Service
  10991. metadata:
  10992. labels:
  10993. app.kubernetes.io/component: repo-server
  10994. app.kubernetes.io/name: argocd-repo-server
  10995. app.kubernetes.io/part-of: argocd
  10996. name: argocd-repo-server
  10997. spec:
  10998. ports:
  10999. - name: server
  11000. port: 8081
  11001. protocol: TCP
  11002. targetPort: 8081
  11003. - name: metrics
  11004. port: 8084
  11005. protocol: TCP
  11006. targetPort: 8084
  11007. selector:
  11008. app.kubernetes.io/name: argocd-repo-server
  11009. ---
  11010. apiVersion: v1
  11011. kind: Service
  11012. metadata:
  11013. labels:
  11014. app.kubernetes.io/component: server
  11015. app.kubernetes.io/name: argocd-server
  11016. app.kubernetes.io/part-of: argocd
  11017. name: argocd-server
  11018. spec:
  11019. ports:
  11020. - name: http
  11021. port: 80
  11022. protocol: TCP
  11023. targetPort: 8080
  11024. - name: https
  11025. port: 443
  11026. protocol: TCP
  11027. targetPort: 8080
  11028. selector:
  11029. app.kubernetes.io/name: argocd-server
  11030. ---
  11031. apiVersion: v1
  11032. kind: Service
  11033. metadata:
  11034. labels:
  11035. app.kubernetes.io/component: server
  11036. app.kubernetes.io/name: argocd-server-metrics
  11037. app.kubernetes.io/part-of: argocd
  11038. name: argocd-server-metrics
  11039. spec:
  11040. ports:
  11041. - name: metrics
  11042. port: 8083
  11043. protocol: TCP
  11044. targetPort: 8083
  11045. selector:
  11046. app.kubernetes.io/name: argocd-server
  11047. ---
  11048. apiVersion: apps/v1
  11049. kind: Deployment
  11050. metadata:
  11051. labels:
  11052. app.kubernetes.io/component: controller
  11053. app.kubernetes.io/name: argocd-applicationset-controller
  11054. app.kubernetes.io/part-of: argocd-applicationset
  11055. name: argocd-applicationset-controller
  11056. spec:
  11057. selector:
  11058. matchLabels:
  11059. app.kubernetes.io/name: argocd-applicationset-controller
  11060. template:
  11061. metadata:
  11062. labels:
  11063. app.kubernetes.io/name: argocd-applicationset-controller
  11064. spec:
  11065. containers:
  11066. - command:
  11067. - entrypoint.sh
  11068. - argocd-applicationset-controller
  11069. env:
  11070. - name: NAMESPACE
  11071. valueFrom:
  11072. fieldRef:
  11073. fieldPath: metadata.namespace
  11074. - name: ARGOCD_APPLICATIONSET_CONTROLLER_ENABLE_LEADER_ELECTION
  11075. valueFrom:
  11076. configMapKeyRef:
  11077. key: applicationsetcontroller.enable.leader.election
  11078. name: argocd-cmd-params-cm
  11079. optional: true
  11080. - name: ARGOCD_APPLICATIONSET_CONTROLLER_NAMESPACE
  11081. valueFrom:
  11082. configMapKeyRef:
  11083. key: applicationsetcontroller.namespace
  11084. name: argocd-cmd-params-cm
  11085. optional: true
  11086. - name: ARGOCD_APPLICATIONSET_CONTROLLER_REPO_SERVER
  11087. valueFrom:
  11088. configMapKeyRef:
  11089. key: repo.server
  11090. name: argocd-cmd-params-cm
  11091. optional: true
  11092. - name: ARGOCD_APPLICATIONSET_CONTROLLER_POLICY
  11093. valueFrom:
  11094. configMapKeyRef:
  11095. key: applicationsetcontroller.policy
  11096. name: argocd-cmd-params-cm
  11097. optional: true
  11098. - name: ARGOCD_APPLICATIONSET_CONTROLLER_DEBUG
  11099. valueFrom:
  11100. configMapKeyRef:
  11101. key: applicationsetcontroller.debug
  11102. name: argocd-cmd-params-cm
  11103. optional: true
  11104. - name: ARGOCD_APPLICATIONSET_CONTROLLER_LOGFORMAT
  11105. valueFrom:
  11106. configMapKeyRef:
  11107. key: applicationsetcontroller.log.format
  11108. name: argocd-cmd-params-cm
  11109. optional: true
  11110. - name: ARGOCD_APPLICATIONSET_CONTROLLER_LOGLEVEL
  11111. valueFrom:
  11112. configMapKeyRef:
  11113. key: applicationsetcontroller.log.level
  11114. name: argocd-cmd-params-cm
  11115. optional: true
  11116. - name: ARGOCD_APPLICATIONSET_CONTROLLER_DRY_RUN
  11117. valueFrom:
  11118. configMapKeyRef:
  11119. key: applicationsetcontroller.dryrun
  11120. name: argocd-cmd-params-cm
  11121. optional: true
  11122. - name: ARGOCD_GIT_MODULES_ENABLED
  11123. valueFrom:
  11124. configMapKeyRef:
  11125. key: applicationsetcontroller.enable.git.submodule
  11126. name: argocd-cmd-params-cm
  11127. optional: true
  11128. image: quay.io/argoproj/argocd:latest
  11129. imagePullPolicy: Always
  11130. name: argocd-applicationset-controller
  11131. ports:
  11132. - containerPort: 7000
  11133. name: webhook
  11134. - containerPort: 8080
  11135. name: metrics
  11136. securityContext:
  11137. allowPrivilegeEscalation: false
  11138. capabilities:
  11139. drop:
  11140. - ALL
  11141. readOnlyRootFilesystem: true
  11142. runAsNonRoot: true
  11143. seccompProfile:
  11144. type: RuntimeDefault
  11145. volumeMounts:
  11146. - mountPath: /app/config/ssh
  11147. name: ssh-known-hosts
  11148. - mountPath: /app/config/tls
  11149. name: tls-certs
  11150. - mountPath: /app/config/gpg/source
  11151. name: gpg-keys
  11152. - mountPath: /app/config/gpg/keys
  11153. name: gpg-keyring
  11154. - mountPath: /tmp
  11155. name: tmp
  11156. serviceAccountName: argocd-applicationset-controller
  11157. volumes:
  11158. - configMap:
  11159. name: argocd-ssh-known-hosts-cm
  11160. name: ssh-known-hosts
  11161. - configMap:
  11162. name: argocd-tls-certs-cm
  11163. name: tls-certs
  11164. - configMap:
  11165. name: argocd-gpg-keys-cm
  11166. name: gpg-keys
  11167. - emptyDir: {}
  11168. name: gpg-keyring
  11169. - emptyDir: {}
  11170. name: tmp
  11171. ---
  11172. apiVersion: apps/v1
  11173. kind: Deployment
  11174. metadata:
  11175. labels:
  11176. app.kubernetes.io/component: dex-server
  11177. app.kubernetes.io/name: argocd-dex-server
  11178. app.kubernetes.io/part-of: argocd
  11179. name: argocd-dex-server
  11180. spec:
  11181. selector:
  11182. matchLabels:
  11183. app.kubernetes.io/name: argocd-dex-server
  11184. template:
  11185. metadata:
  11186. labels:
  11187. app.kubernetes.io/name: argocd-dex-server
  11188. spec:
  11189. affinity:
  11190. podAntiAffinity:
  11191. preferredDuringSchedulingIgnoredDuringExecution:
  11192. - podAffinityTerm:
  11193. labelSelector:
  11194. matchLabels:
  11195. app.kubernetes.io/part-of: argocd
  11196. topologyKey: kubernetes.io/hostname
  11197. weight: 5
  11198. containers:
  11199. - command:
  11200. - /shared/argocd-dex
  11201. - rundex
  11202. env:
  11203. - name: ARGOCD_DEX_SERVER_DISABLE_TLS
  11204. valueFrom:
  11205. configMapKeyRef:
  11206. key: dexserver.disable.tls
  11207. name: argocd-cmd-params-cm
  11208. optional: true
  11209. image: ghcr.io/dexidp/dex:v2.35.3
  11210. imagePullPolicy: Always
  11211. name: dex
  11212. ports:
  11213. - containerPort: 5556
  11214. - containerPort: 5557
  11215. - containerPort: 5558
  11216. securityContext:
  11217. allowPrivilegeEscalation: false
  11218. capabilities:
  11219. drop:
  11220. - ALL
  11221. readOnlyRootFilesystem: true
  11222. runAsNonRoot: true
  11223. seccompProfile:
  11224. type: RuntimeDefault
  11225. volumeMounts:
  11226. - mountPath: /shared
  11227. name: static-files
  11228. - mountPath: /tmp
  11229. name: dexconfig
  11230. - mountPath: /tls
  11231. name: argocd-dex-server-tls
  11232. initContainers:
  11233. - command:
  11234. - cp
  11235. - -n
  11236. - /usr/local/bin/argocd
  11237. - /shared/argocd-dex
  11238. image: quay.io/argoproj/argocd:latest
  11239. imagePullPolicy: Always
  11240. name: copyutil
  11241. securityContext:
  11242. allowPrivilegeEscalation: false
  11243. capabilities:
  11244. drop:
  11245. - ALL
  11246. readOnlyRootFilesystem: true
  11247. runAsNonRoot: true
  11248. seccompProfile:
  11249. type: RuntimeDefault
  11250. volumeMounts:
  11251. - mountPath: /shared
  11252. name: static-files
  11253. - mountPath: /tmp
  11254. name: dexconfig
  11255. serviceAccountName: argocd-dex-server
  11256. volumes:
  11257. - emptyDir: {}
  11258. name: static-files
  11259. - emptyDir: {}
  11260. name: dexconfig
  11261. - name: argocd-dex-server-tls
  11262. secret:
  11263. items:
  11264. - key: tls.crt
  11265. path: tls.crt
  11266. - key: tls.key
  11267. path: tls.key
  11268. - key: ca.crt
  11269. path: ca.crt
  11270. optional: true
  11271. secretName: argocd-dex-server-tls
  11272. ---
  11273. apiVersion: apps/v1
  11274. kind: Deployment
  11275. metadata:
  11276. name: argocd-notifications-controller
  11277. spec:
  11278. selector:
  11279. matchLabels:
  11280. app.kubernetes.io/name: argocd-notifications-controller
  11281. strategy:
  11282. type: Recreate
  11283. template:
  11284. metadata:
  11285. labels:
  11286. app.kubernetes.io/name: argocd-notifications-controller
  11287. spec:
  11288. containers:
  11289. - command:
  11290. - argocd-notifications
  11291. image: quay.io/argoproj/argocd:latest
  11292. imagePullPolicy: Always
  11293. livenessProbe:
  11294. tcpSocket:
  11295. port: 9001
  11296. name: argocd-notifications-controller
  11297. securityContext:
  11298. allowPrivilegeEscalation: false
  11299. capabilities:
  11300. drop:
  11301. - ALL
  11302. readOnlyRootFilesystem: true
  11303. volumeMounts:
  11304. - mountPath: /app/config/tls
  11305. name: tls-certs
  11306. - mountPath: /app/config/reposerver/tls
  11307. name: argocd-repo-server-tls
  11308. workingDir: /app
  11309. securityContext:
  11310. runAsNonRoot: true
  11311. seccompProfile:
  11312. type: RuntimeDefault
  11313. serviceAccountName: argocd-notifications-controller
  11314. volumes:
  11315. - configMap:
  11316. name: argocd-tls-certs-cm
  11317. name: tls-certs
  11318. - name: argocd-repo-server-tls
  11319. secret:
  11320. items:
  11321. - key: tls.crt
  11322. path: tls.crt
  11323. - key: tls.key
  11324. path: tls.key
  11325. - key: ca.crt
  11326. path: ca.crt
  11327. optional: true
  11328. secretName: argocd-repo-server-tls
  11329. ---
  11330. apiVersion: apps/v1
  11331. kind: Deployment
  11332. metadata:
  11333. labels:
  11334. app.kubernetes.io/component: redis
  11335. app.kubernetes.io/name: argocd-redis-ha-haproxy
  11336. app.kubernetes.io/part-of: argocd
  11337. name: argocd-redis-ha-haproxy
  11338. spec:
  11339. replicas: 3
  11340. revisionHistoryLimit: 1
  11341. selector:
  11342. matchLabels:
  11343. app.kubernetes.io/name: argocd-redis-ha-haproxy
  11344. strategy:
  11345. type: RollingUpdate
  11346. template:
  11347. metadata:
  11348. annotations:
  11349. checksum/config: 1f7a9ffcacb3871ceb9b0741c0714e3f7fa656d426a398c1f727fffb01073f35
  11350. labels:
  11351. app.kubernetes.io/name: argocd-redis-ha-haproxy
  11352. name: argocd-redis-ha-haproxy
  11353. spec:
  11354. affinity:
  11355. podAntiAffinity:
  11356. requiredDuringSchedulingIgnoredDuringExecution:
  11357. - labelSelector:
  11358. matchLabels:
  11359. app.kubernetes.io/name: argocd-redis-ha-haproxy
  11360. topologyKey: kubernetes.io/hostname
  11361. containers:
  11362. - image: haproxy:2.6.2-alpine
  11363. imagePullPolicy: IfNotPresent
  11364. lifecycle: {}
  11365. livenessProbe:
  11366. httpGet:
  11367. path: /healthz
  11368. port: 8888
  11369. initialDelaySeconds: 5
  11370. periodSeconds: 3
  11371. name: haproxy
  11372. ports:
  11373. - containerPort: 6379
  11374. name: redis
  11375. readinessProbe:
  11376. httpGet:
  11377. path: /healthz
  11378. port: 8888
  11379. initialDelaySeconds: 5
  11380. periodSeconds: 3
  11381. securityContext:
  11382. allowPrivilegeEscalation: false
  11383. capabilities:
  11384. drop:
  11385. - ALL
  11386. seccompProfile:
  11387. type: RuntimeDefault
  11388. volumeMounts:
  11389. - mountPath: /usr/local/etc/haproxy
  11390. name: data
  11391. - mountPath: /run/haproxy
  11392. name: shared-socket
  11393. initContainers:
  11394. - args:
  11395. - /readonly/haproxy_init.sh
  11396. command:
  11397. - sh
  11398. image: haproxy:2.6.2-alpine
  11399. imagePullPolicy: IfNotPresent
  11400. name: config-init
  11401. securityContext:
  11402. allowPrivilegeEscalation: false
  11403. capabilities:
  11404. drop:
  11405. - ALL
  11406. seccompProfile:
  11407. type: RuntimeDefault
  11408. volumeMounts:
  11409. - mountPath: /readonly
  11410. name: config-volume
  11411. readOnly: true
  11412. - mountPath: /data
  11413. name: data
  11414. securityContext:
  11415. fsGroup: 99
  11416. runAsNonRoot: true
  11417. runAsUser: 99
  11418. serviceAccountName: argocd-redis-ha-haproxy
  11419. volumes:
  11420. - configMap:
  11421. name: argocd-redis-ha-configmap
  11422. name: config-volume
  11423. - emptyDir: {}
  11424. name: shared-socket
  11425. - emptyDir: {}
  11426. name: data
  11427. ---
  11428. apiVersion: apps/v1
  11429. kind: Deployment
  11430. metadata:
  11431. labels:
  11432. app.kubernetes.io/component: repo-server
  11433. app.kubernetes.io/name: argocd-repo-server
  11434. app.kubernetes.io/part-of: argocd
  11435. name: argocd-repo-server
  11436. spec:
  11437. replicas: 2
  11438. selector:
  11439. matchLabels:
  11440. app.kubernetes.io/name: argocd-repo-server
  11441. template:
  11442. metadata:
  11443. labels:
  11444. app.kubernetes.io/name: argocd-repo-server
  11445. spec:
  11446. affinity:
  11447. podAntiAffinity:
  11448. preferredDuringSchedulingIgnoredDuringExecution:
  11449. - podAffinityTerm:
  11450. labelSelector:
  11451. matchLabels:
  11452. app.kubernetes.io/name: argocd-repo-server
  11453. topologyKey: failure-domain.beta.kubernetes.io/zone
  11454. weight: 100
  11455. requiredDuringSchedulingIgnoredDuringExecution:
  11456. - labelSelector:
  11457. matchLabels:
  11458. app.kubernetes.io/name: argocd-repo-server
  11459. topologyKey: kubernetes.io/hostname
  11460. automountServiceAccountToken: false
  11461. containers:
  11462. - command:
  11463. - entrypoint.sh
  11464. - argocd-repo-server
  11465. - --redis
  11466. - argocd-redis-ha-haproxy:6379
  11467. env:
  11468. - name: ARGOCD_RECONCILIATION_TIMEOUT
  11469. valueFrom:
  11470. configMapKeyRef:
  11471. key: timeout.reconciliation
  11472. name: argocd-cm
  11473. optional: true
  11474. - name: ARGOCD_REPO_SERVER_LOGFORMAT
  11475. valueFrom:
  11476. configMapKeyRef:
  11477. key: reposerver.log.format
  11478. name: argocd-cmd-params-cm
  11479. optional: true
  11480. - name: ARGOCD_REPO_SERVER_LOGLEVEL
  11481. valueFrom:
  11482. configMapKeyRef:
  11483. key: reposerver.log.level
  11484. name: argocd-cmd-params-cm
  11485. optional: true
  11486. - name: ARGOCD_REPO_SERVER_PARALLELISM_LIMIT
  11487. valueFrom:
  11488. configMapKeyRef:
  11489. key: reposerver.parallelism.limit
  11490. name: argocd-cmd-params-cm
  11491. optional: true
  11492. - name: ARGOCD_REPO_SERVER_DISABLE_TLS
  11493. valueFrom:
  11494. configMapKeyRef:
  11495. key: reposerver.disable.tls
  11496. name: argocd-cmd-params-cm
  11497. optional: true
  11498. - name: ARGOCD_TLS_MIN_VERSION
  11499. valueFrom:
  11500. configMapKeyRef:
  11501. key: reposerver.tls.minversion
  11502. name: argocd-cmd-params-cm
  11503. optional: true
  11504. - name: ARGOCD_TLS_MAX_VERSION
  11505. valueFrom:
  11506. configMapKeyRef:
  11507. key: reposerver.tls.maxversion
  11508. name: argocd-cmd-params-cm
  11509. optional: true
  11510. - name: ARGOCD_TLS_CIPHERS
  11511. valueFrom:
  11512. configMapKeyRef:
  11513. key: reposerver.tls.ciphers
  11514. name: argocd-cmd-params-cm
  11515. optional: true
  11516. - name: ARGOCD_REPO_CACHE_EXPIRATION
  11517. valueFrom:
  11518. configMapKeyRef:
  11519. key: reposerver.repo.cache.expiration
  11520. name: argocd-cmd-params-cm
  11521. optional: true
  11522. - name: REDIS_SERVER
  11523. valueFrom:
  11524. configMapKeyRef:
  11525. key: redis.server
  11526. name: argocd-cmd-params-cm
  11527. optional: true
  11528. - name: REDIS_COMPRESSION
  11529. valueFrom:
  11530. configMapKeyRef:
  11531. key: redis.compression
  11532. name: argocd-cmd-params-cm
  11533. optional: true
  11534. - name: REDISDB
  11535. valueFrom:
  11536. configMapKeyRef:
  11537. key: redis.db
  11538. name: argocd-cmd-params-cm
  11539. optional: true
  11540. - name: ARGOCD_DEFAULT_CACHE_EXPIRATION
  11541. valueFrom:
  11542. configMapKeyRef:
  11543. key: reposerver.default.cache.expiration
  11544. name: argocd-cmd-params-cm
  11545. optional: true
  11546. - name: ARGOCD_REPO_SERVER_OTLP_ADDRESS
  11547. valueFrom:
  11548. configMapKeyRef:
  11549. key: otlp.address
  11550. name: argocd-cmd-params-cm
  11551. optional: true
  11552. - name: ARGOCD_REPO_SERVER_MAX_COMBINED_DIRECTORY_MANIFESTS_SIZE
  11553. valueFrom:
  11554. configMapKeyRef:
  11555. key: reposerver.max.combined.directory.manifests.size
  11556. name: argocd-cmd-params-cm
  11557. optional: true
  11558. - name: ARGOCD_REPO_SERVER_PLUGIN_TAR_EXCLUSIONS
  11559. valueFrom:
  11560. configMapKeyRef:
  11561. key: reposerver.plugin.tar.exclusions
  11562. name: argocd-cmd-params-cm
  11563. optional: true
  11564. - name: ARGOCD_REPO_SERVER_ALLOW_OUT_OF_BOUNDS_SYMLINKS
  11565. valueFrom:
  11566. configMapKeyRef:
  11567. key: reposerver.allow.oob.symlinks
  11568. name: argocd-cmd-params-cm
  11569. optional: true
  11570. - name: ARGOCD_REPO_SERVER_STREAMED_MANIFEST_MAX_TAR_SIZE
  11571. valueFrom:
  11572. configMapKeyRef:
  11573. key: reposerver.streamed.manifest.max.tar.size
  11574. name: argocd-cmd-params-cm
  11575. optional: true
  11576. - name: ARGOCD_REPO_SERVER_STREAMED_MANIFEST_MAX_EXTRACTED_SIZE
  11577. valueFrom:
  11578. configMapKeyRef:
  11579. key: reposerver.streamed.manifest.max.extracted.size
  11580. name: argocd-cmd-params-cm
  11581. optional: true
  11582. - name: ARGOCD_GIT_MODULES_ENABLED
  11583. valueFrom:
  11584. configMapKeyRef:
  11585. key: reposerver.enable.git.submodule
  11586. name: argocd-cmd-params-cm
  11587. optional: true
  11588. - name: HELM_CACHE_HOME
  11589. value: /helm-working-dir
  11590. - name: HELM_CONFIG_HOME
  11591. value: /helm-working-dir
  11592. - name: HELM_DATA_HOME
  11593. value: /helm-working-dir
  11594. image: quay.io/argoproj/argocd:latest
  11595. imagePullPolicy: Always
  11596. livenessProbe:
  11597. failureThreshold: 3
  11598. httpGet:
  11599. path: /healthz?full=true
  11600. port: 8084
  11601. initialDelaySeconds: 30
  11602. periodSeconds: 30
  11603. timeoutSeconds: 5
  11604. name: argocd-repo-server
  11605. ports:
  11606. - containerPort: 8081
  11607. - containerPort: 8084
  11608. readinessProbe:
  11609. httpGet:
  11610. path: /healthz
  11611. port: 8084
  11612. initialDelaySeconds: 5
  11613. periodSeconds: 10
  11614. securityContext:
  11615. allowPrivilegeEscalation: false
  11616. capabilities:
  11617. drop:
  11618. - ALL
  11619. readOnlyRootFilesystem: true
  11620. runAsNonRoot: true
  11621. seccompProfile:
  11622. type: RuntimeDefault
  11623. volumeMounts:
  11624. - mountPath: /app/config/ssh
  11625. name: ssh-known-hosts
  11626. - mountPath: /app/config/tls
  11627. name: tls-certs
  11628. - mountPath: /app/config/gpg/source
  11629. name: gpg-keys
  11630. - mountPath: /app/config/gpg/keys
  11631. name: gpg-keyring
  11632. - mountPath: /app/config/reposerver/tls
  11633. name: argocd-repo-server-tls
  11634. - mountPath: /tmp
  11635. name: tmp
  11636. - mountPath: /helm-working-dir
  11637. name: helm-working-dir
  11638. - mountPath: /home/argocd/cmp-server/plugins
  11639. name: plugins
  11640. initContainers:
  11641. - command:
  11642. - cp
  11643. - -n
  11644. - /usr/local/bin/argocd
  11645. - /var/run/argocd/argocd-cmp-server
  11646. image: quay.io/argoproj/argocd:latest
  11647. name: copyutil
  11648. securityContext:
  11649. allowPrivilegeEscalation: false
  11650. capabilities:
  11651. drop:
  11652. - ALL
  11653. readOnlyRootFilesystem: true
  11654. runAsNonRoot: true
  11655. seccompProfile:
  11656. type: RuntimeDefault
  11657. volumeMounts:
  11658. - mountPath: /var/run/argocd
  11659. name: var-files
  11660. serviceAccountName: argocd-repo-server
  11661. volumes:
  11662. - configMap:
  11663. name: argocd-ssh-known-hosts-cm
  11664. name: ssh-known-hosts
  11665. - configMap:
  11666. name: argocd-tls-certs-cm
  11667. name: tls-certs
  11668. - configMap:
  11669. name: argocd-gpg-keys-cm
  11670. name: gpg-keys
  11671. - emptyDir: {}
  11672. name: gpg-keyring
  11673. - emptyDir: {}
  11674. name: tmp
  11675. - emptyDir: {}
  11676. name: helm-working-dir
  11677. - name: argocd-repo-server-tls
  11678. secret:
  11679. items:
  11680. - key: tls.crt
  11681. path: tls.crt
  11682. - key: tls.key
  11683. path: tls.key
  11684. - key: ca.crt
  11685. path: ca.crt
  11686. optional: true
  11687. secretName: argocd-repo-server-tls
  11688. - emptyDir: {}
  11689. name: var-files
  11690. - emptyDir: {}
  11691. name: plugins
  11692. ---
  11693. apiVersion: apps/v1
  11694. kind: Deployment
  11695. metadata:
  11696. labels:
  11697. app.kubernetes.io/component: server
  11698. app.kubernetes.io/name: argocd-server
  11699. app.kubernetes.io/part-of: argocd
  11700. name: argocd-server
  11701. spec:
  11702. replicas: 2
  11703. selector:
  11704. matchLabels:
  11705. app.kubernetes.io/name: argocd-server
  11706. template:
  11707. metadata:
  11708. labels:
  11709. app.kubernetes.io/name: argocd-server
  11710. spec:
  11711. affinity:
  11712. podAntiAffinity:
  11713. preferredDuringSchedulingIgnoredDuringExecution:
  11714. - podAffinityTerm:
  11715. labelSelector:
  11716. matchLabels:
  11717. app.kubernetes.io/name: argocd-server
  11718. topologyKey: failure-domain.beta.kubernetes.io/zone
  11719. weight: 100
  11720. requiredDuringSchedulingIgnoredDuringExecution:
  11721. - labelSelector:
  11722. matchLabels:
  11723. app.kubernetes.io/name: argocd-server
  11724. topologyKey: kubernetes.io/hostname
  11725. containers:
  11726. - command:
  11727. - argocd-server
  11728. - --insecure
  11729. - --redis
  11730. - argocd-redis-ha-haproxy:6379
  11731. env:
  11732. - name: ARGOCD_API_SERVER_REPLICAS
  11733. value: "2"
  11734. - name: ARGOCD_SERVER_INSECURE
  11735. valueFrom:
  11736. configMapKeyRef:
  11737. key: server.insecure
  11738. name: argocd-cmd-params-cm
  11739. optional: true
  11740. - name: ARGOCD_SERVER_BASEHREF
  11741. valueFrom:
  11742. configMapKeyRef:
  11743. key: server.basehref
  11744. name: argocd-cmd-params-cm
  11745. optional: true
  11746. - name: ARGOCD_SERVER_ROOTPATH
  11747. valueFrom:
  11748. configMapKeyRef:
  11749. key: server.rootpath
  11750. name: argocd-cmd-params-cm
  11751. optional: true
  11752. - name: ARGOCD_SERVER_LOGFORMAT
  11753. valueFrom:
  11754. configMapKeyRef:
  11755. key: server.log.format
  11756. name: argocd-cmd-params-cm
  11757. optional: true
  11758. - name: ARGOCD_SERVER_LOG_LEVEL
  11759. valueFrom:
  11760. configMapKeyRef:
  11761. key: server.log.level
  11762. name: argocd-cmd-params-cm
  11763. optional: true
  11764. - name: ARGOCD_SERVER_REPO_SERVER
  11765. valueFrom:
  11766. configMapKeyRef:
  11767. key: repo.server
  11768. name: argocd-cmd-params-cm
  11769. optional: true
  11770. - name: ARGOCD_SERVER_DEX_SERVER
  11771. valueFrom:
  11772. configMapKeyRef:
  11773. key: server.dex.server
  11774. name: argocd-cmd-params-cm
  11775. optional: true
  11776. - name: ARGOCD_SERVER_DISABLE_AUTH
  11777. valueFrom:
  11778. configMapKeyRef:
  11779. key: server.disable.auth
  11780. name: argocd-cmd-params-cm
  11781. optional: true
  11782. - name: ARGOCD_SERVER_ENABLE_GZIP
  11783. valueFrom:
  11784. configMapKeyRef:
  11785. key: server.enable.gzip
  11786. name: argocd-cmd-params-cm
  11787. optional: true
  11788. - name: ARGOCD_SERVER_REPO_SERVER_TIMEOUT_SECONDS
  11789. valueFrom:
  11790. configMapKeyRef:
  11791. key: server.repo.server.timeout.seconds
  11792. name: argocd-cmd-params-cm
  11793. optional: true
  11794. - name: ARGOCD_SERVER_X_FRAME_OPTIONS
  11795. valueFrom:
  11796. configMapKeyRef:
  11797. key: server.x.frame.options
  11798. name: argocd-cmd-params-cm
  11799. optional: true
  11800. - name: ARGOCD_SERVER_CONTENT_SECURITY_POLICY
  11801. valueFrom:
  11802. configMapKeyRef:
  11803. key: server.content.security.policy
  11804. name: argocd-cmd-params-cm
  11805. optional: true
  11806. - name: ARGOCD_SERVER_REPO_SERVER_PLAINTEXT
  11807. valueFrom:
  11808. configMapKeyRef:
  11809. key: server.repo.server.plaintext
  11810. name: argocd-cmd-params-cm
  11811. optional: true
  11812. - name: ARGOCD_SERVER_REPO_SERVER_STRICT_TLS
  11813. valueFrom:
  11814. configMapKeyRef:
  11815. key: server.repo.server.strict.tls
  11816. name: argocd-cmd-params-cm
  11817. optional: true
  11818. - name: ARGOCD_SERVER_DEX_SERVER_PLAINTEXT
  11819. valueFrom:
  11820. configMapKeyRef:
  11821. key: server.dex.server.plaintext
  11822. name: argocd-cmd-params-cm
  11823. optional: true
  11824. - name: ARGOCD_SERVER_DEX_SERVER_STRICT_TLS
  11825. valueFrom:
  11826. configMapKeyRef:
  11827. key: server.dex.server.strict.tls
  11828. name: argocd-cmd-params-cm
  11829. optional: true
  11830. - name: ARGOCD_TLS_MIN_VERSION
  11831. valueFrom:
  11832. configMapKeyRef:
  11833. key: server.tls.minversion
  11834. name: argocd-cmd-params-cm
  11835. optional: true
  11836. - name: ARGOCD_TLS_MAX_VERSION
  11837. valueFrom:
  11838. configMapKeyRef:
  11839. key: server.tls.maxversion
  11840. name: argocd-cmd-params-cm
  11841. optional: true
  11842. - name: ARGOCD_TLS_CIPHERS
  11843. valueFrom:
  11844. configMapKeyRef:
  11845. key: server.tls.ciphers
  11846. name: argocd-cmd-params-cm
  11847. optional: true
  11848. - name: ARGOCD_SERVER_CONNECTION_STATUS_CACHE_EXPIRATION
  11849. valueFrom:
  11850. configMapKeyRef:
  11851. key: server.connection.status.cache.expiration
  11852. name: argocd-cmd-params-cm
  11853. optional: true
  11854. - name: ARGOCD_SERVER_OIDC_CACHE_EXPIRATION
  11855. valueFrom:
  11856. configMapKeyRef:
  11857. key: server.oidc.cache.expiration
  11858. name: argocd-cmd-params-cm
  11859. optional: true
  11860. - name: ARGOCD_SERVER_LOGIN_ATTEMPTS_EXPIRATION
  11861. valueFrom:
  11862. configMapKeyRef:
  11863. key: server.login.attempts.expiration
  11864. name: argocd-cmd-params-cm
  11865. optional: true
  11866. - name: ARGOCD_SERVER_STATIC_ASSETS
  11867. valueFrom:
  11868. configMapKeyRef:
  11869. key: server.staticassets
  11870. name: argocd-cmd-params-cm
  11871. optional: true
  11872. - name: ARGOCD_APP_STATE_CACHE_EXPIRATION
  11873. valueFrom:
  11874. configMapKeyRef:
  11875. key: server.app.state.cache.expiration
  11876. name: argocd-cmd-params-cm
  11877. optional: true
  11878. - name: REDIS_SERVER
  11879. valueFrom:
  11880. configMapKeyRef:
  11881. key: redis.server
  11882. name: argocd-cmd-params-cm
  11883. optional: true
  11884. - name: REDIS_COMPRESSION
  11885. valueFrom:
  11886. configMapKeyRef:
  11887. key: redis.compression
  11888. name: argocd-cmd-params-cm
  11889. optional: true
  11890. - name: REDISDB
  11891. valueFrom:
  11892. configMapKeyRef:
  11893. key: redis.db
  11894. name: argocd-cmd-params-cm
  11895. optional: true
  11896. - name: ARGOCD_DEFAULT_CACHE_EXPIRATION
  11897. valueFrom:
  11898. configMapKeyRef:
  11899. key: server.default.cache.expiration
  11900. name: argocd-cmd-params-cm
  11901. optional: true
  11902. - name: ARGOCD_MAX_COOKIE_NUMBER
  11903. valueFrom:
  11904. configMapKeyRef:
  11905. key: server.http.cookie.maxnumber
  11906. name: argocd-cmd-params-cm
  11907. optional: true
  11908. - name: ARGOCD_SERVER_OTLP_ADDRESS
  11909. valueFrom:
  11910. configMapKeyRef:
  11911. key: otlp.address
  11912. name: argocd-cmd-params-cm
  11913. optional: true
  11914. - name: ARGOCD_APPLICATION_NAMESPACES
  11915. valueFrom:
  11916. configMapKeyRef:
  11917. key: application.namespaces
  11918. name: argocd-cmd-params-cm
  11919. optional: true
  11920. image: quay.io/argoproj/argocd:latest
  11921. imagePullPolicy: Always
  11922. livenessProbe:
  11923. httpGet:
  11924. path: /healthz?full=true
  11925. port: 8080
  11926. initialDelaySeconds: 3
  11927. periodSeconds: 30
  11928. timeoutSeconds: 5
  11929. name: argocd-server
  11930. ports:
  11931. - containerPort: 8080
  11932. - containerPort: 8083
  11933. readinessProbe:
  11934. httpGet:
  11935. path: /healthz
  11936. port: 8080
  11937. initialDelaySeconds: 3
  11938. periodSeconds: 30
  11939. securityContext:
  11940. allowPrivilegeEscalation: false
  11941. capabilities:
  11942. drop:
  11943. - ALL
  11944. readOnlyRootFilesystem: true
  11945. runAsNonRoot: true
  11946. seccompProfile:
  11947. type: RuntimeDefault
  11948. volumeMounts:
  11949. - mountPath: /app/config/ssh
  11950. name: ssh-known-hosts
  11951. - mountPath: /app/config/tls
  11952. name: tls-certs
  11953. - mountPath: /app/config/server/tls
  11954. name: argocd-repo-server-tls
  11955. - mountPath: /app/config/dex/tls
  11956. name: argocd-dex-server-tls
  11957. - mountPath: /home/argocd
  11958. name: plugins-home
  11959. - mountPath: /tmp
  11960. name: tmp
  11961. serviceAccountName: argocd-server
  11962. volumes:
  11963. - emptyDir: {}
  11964. name: plugins-home
  11965. - emptyDir: {}
  11966. name: tmp
  11967. - configMap:
  11968. name: argocd-ssh-known-hosts-cm
  11969. name: ssh-known-hosts
  11970. - configMap:
  11971. name: argocd-tls-certs-cm
  11972. name: tls-certs
  11973. - name: argocd-repo-server-tls
  11974. secret:
  11975. items:
  11976. - key: tls.crt
  11977. path: tls.crt
  11978. - key: tls.key
  11979. path: tls.key
  11980. - key: ca.crt
  11981. path: ca.crt
  11982. optional: true
  11983. secretName: argocd-repo-server-tls
  11984. - name: argocd-dex-server-tls
  11985. secret:
  11986. items:
  11987. - key: tls.crt
  11988. path: tls.crt
  11989. - key: ca.crt
  11990. path: ca.crt
  11991. optional: true
  11992. secretName: argocd-dex-server-tls
  11993. ---
  11994. apiVersion: apps/v1
  11995. kind: StatefulSet
  11996. metadata:
  11997. labels:
  11998. app.kubernetes.io/component: application-controller
  11999. app.kubernetes.io/name: argocd-application-controller
  12000. app.kubernetes.io/part-of: argocd
  12001. name: argocd-application-controller
  12002. spec:
  12003. replicas: 1
  12004. selector:
  12005. matchLabels:
  12006. app.kubernetes.io/name: argocd-application-controller
  12007. serviceName: argocd-application-controller
  12008. template:
  12009. metadata:
  12010. labels:
  12011. app.kubernetes.io/name: argocd-application-controller
  12012. spec:
  12013. affinity:
  12014. podAntiAffinity:
  12015. preferredDuringSchedulingIgnoredDuringExecution:
  12016. - podAffinityTerm:
  12017. labelSelector:
  12018. matchLabels:
  12019. app.kubernetes.io/name: argocd-application-controller
  12020. topologyKey: kubernetes.io/hostname
  12021. weight: 100
  12022. - podAffinityTerm:
  12023. labelSelector:
  12024. matchLabels:
  12025. app.kubernetes.io/part-of: argocd
  12026. topologyKey: kubernetes.io/hostname
  12027. weight: 5
  12028. containers:
  12029. - command:
  12030. - argocd-application-controller
  12031. - --redis
  12032. - argocd-redis-ha-haproxy:6379
  12033. env:
  12034. - name: ARGOCD_CONTROLLER_REPLICAS
  12035. value: "1"
  12036. - name: ARGOCD_RECONCILIATION_TIMEOUT
  12037. valueFrom:
  12038. configMapKeyRef:
  12039. key: timeout.reconciliation
  12040. name: argocd-cm
  12041. optional: true
  12042. - name: ARGOCD_HARD_RECONCILIATION_TIMEOUT
  12043. valueFrom:
  12044. configMapKeyRef:
  12045. key: timeout.hard.reconciliation
  12046. name: argocd-cm
  12047. optional: true
  12048. - name: ARGOCD_APPLICATION_CONTROLLER_REPO_SERVER
  12049. valueFrom:
  12050. configMapKeyRef:
  12051. key: repo.server
  12052. name: argocd-cmd-params-cm
  12053. optional: true
  12054. - name: ARGOCD_APPLICATION_CONTROLLER_REPO_SERVER_TIMEOUT_SECONDS
  12055. valueFrom:
  12056. configMapKeyRef:
  12057. key: controller.repo.server.timeout.seconds
  12058. name: argocd-cmd-params-cm
  12059. optional: true
  12060. - name: ARGOCD_APPLICATION_CONTROLLER_STATUS_PROCESSORS
  12061. valueFrom:
  12062. configMapKeyRef:
  12063. key: controller.status.processors
  12064. name: argocd-cmd-params-cm
  12065. optional: true
  12066. - name: ARGOCD_APPLICATION_CONTROLLER_OPERATION_PROCESSORS
  12067. valueFrom:
  12068. configMapKeyRef:
  12069. key: controller.operation.processors
  12070. name: argocd-cmd-params-cm
  12071. optional: true
  12072. - name: ARGOCD_APPLICATION_CONTROLLER_LOGFORMAT
  12073. valueFrom:
  12074. configMapKeyRef:
  12075. key: controller.log.format
  12076. name: argocd-cmd-params-cm
  12077. optional: true
  12078. - name: ARGOCD_APPLICATION_CONTROLLER_LOGLEVEL
  12079. valueFrom:
  12080. configMapKeyRef:
  12081. key: controller.log.level
  12082. name: argocd-cmd-params-cm
  12083. optional: true
  12084. - name: ARGOCD_APPLICATION_CONTROLLER_METRICS_CACHE_EXPIRATION
  12085. valueFrom:
  12086. configMapKeyRef:
  12087. key: controller.metrics.cache.expiration
  12088. name: argocd-cmd-params-cm
  12089. optional: true
  12090. - name: ARGOCD_APPLICATION_CONTROLLER_SELF_HEAL_TIMEOUT_SECONDS
  12091. valueFrom:
  12092. configMapKeyRef:
  12093. key: controller.self.heal.timeout.seconds
  12094. name: argocd-cmd-params-cm
  12095. optional: true
  12096. - name: ARGOCD_APPLICATION_CONTROLLER_REPO_SERVER_PLAINTEXT
  12097. valueFrom:
  12098. configMapKeyRef:
  12099. key: controller.repo.server.plaintext
  12100. name: argocd-cmd-params-cm
  12101. optional: true
  12102. - name: ARGOCD_APPLICATION_CONTROLLER_REPO_SERVER_STRICT_TLS
  12103. valueFrom:
  12104. configMapKeyRef:
  12105. key: controller.repo.server.strict.tls
  12106. name: argocd-cmd-params-cm
  12107. optional: true
  12108. - name: ARGOCD_APPLICATION_CONTROLLER_PERSIST_RESOURCE_HEALTH
  12109. valueFrom:
  12110. configMapKeyRef:
  12111. key: controller.resource.health.persist
  12112. name: argocd-cmd-params-cm
  12113. optional: true
  12114. - name: ARGOCD_APP_STATE_CACHE_EXPIRATION
  12115. valueFrom:
  12116. configMapKeyRef:
  12117. key: controller.app.state.cache.expiration
  12118. name: argocd-cmd-params-cm
  12119. optional: true
  12120. - name: REDIS_SERVER
  12121. valueFrom:
  12122. configMapKeyRef:
  12123. key: redis.server
  12124. name: argocd-cmd-params-cm
  12125. optional: true
  12126. - name: REDIS_COMPRESSION
  12127. valueFrom:
  12128. configMapKeyRef:
  12129. key: redis.compression
  12130. name: argocd-cmd-params-cm
  12131. optional: true
  12132. - name: REDISDB
  12133. valueFrom:
  12134. configMapKeyRef:
  12135. key: redis.db
  12136. name: argocd-cmd-params-cm
  12137. optional: true
  12138. - name: ARGOCD_DEFAULT_CACHE_EXPIRATION
  12139. valueFrom:
  12140. configMapKeyRef:
  12141. key: controller.default.cache.expiration
  12142. name: argocd-cmd-params-cm
  12143. optional: true
  12144. - name: ARGOCD_APPLICATION_CONTROLLER_OTLP_ADDRESS
  12145. valueFrom:
  12146. configMapKeyRef:
  12147. key: otlp.address
  12148. name: argocd-cmd-params-cm
  12149. optional: true
  12150. - name: ARGOCD_APPLICATION_NAMESPACES
  12151. valueFrom:
  12152. configMapKeyRef:
  12153. key: application.namespaces
  12154. name: argocd-cmd-params-cm
  12155. optional: true
  12156. image: quay.io/argoproj/argocd:latest
  12157. imagePullPolicy: Always
  12158. name: argocd-application-controller
  12159. ports:
  12160. - containerPort: 8082
  12161. readinessProbe:
  12162. httpGet:
  12163. path: /healthz
  12164. port: 8082
  12165. initialDelaySeconds: 5
  12166. periodSeconds: 10
  12167. securityContext:
  12168. allowPrivilegeEscalation: false
  12169. capabilities:
  12170. drop:
  12171. - ALL
  12172. readOnlyRootFilesystem: true
  12173. runAsNonRoot: true
  12174. seccompProfile:
  12175. type: RuntimeDefault
  12176. volumeMounts:
  12177. - mountPath: /app/config/controller/tls
  12178. name: argocd-repo-server-tls
  12179. - mountPath: /home/argocd
  12180. name: argocd-home
  12181. workingDir: /home/argocd
  12182. serviceAccountName: argocd-application-controller
  12183. volumes:
  12184. - emptyDir: {}
  12185. name: argocd-home
  12186. - name: argocd-repo-server-tls
  12187. secret:
  12188. items:
  12189. - key: tls.crt
  12190. path: tls.crt
  12191. - key: tls.key
  12192. path: tls.key
  12193. - key: ca.crt
  12194. path: ca.crt
  12195. optional: true
  12196. secretName: argocd-repo-server-tls
  12197. ---
  12198. apiVersion: apps/v1
  12199. kind: StatefulSet
  12200. metadata:
  12201. labels:
  12202. app.kubernetes.io/component: redis
  12203. app.kubernetes.io/name: argocd-redis-ha
  12204. app.kubernetes.io/part-of: argocd
  12205. name: argocd-redis-ha-server
  12206. spec:
  12207. podManagementPolicy: OrderedReady
  12208. replicas: 3
  12209. selector:
  12210. matchLabels:
  12211. app.kubernetes.io/name: argocd-redis-ha
  12212. serviceName: argocd-redis-ha
  12213. template:
  12214. metadata:
  12215. annotations:
  12216. checksum/init-config: 84ccf6a9b8a7fa3ae5b62a8f17d6c65a5197e9605da9b2761179bf942828eefe
  12217. labels:
  12218. app.kubernetes.io/name: argocd-redis-ha
  12219. spec:
  12220. affinity:
  12221. podAntiAffinity:
  12222. requiredDuringSchedulingIgnoredDuringExecution:
  12223. - labelSelector:
  12224. matchLabels:
  12225. app.kubernetes.io/name: argocd-redis-ha
  12226. topologyKey: kubernetes.io/hostname
  12227. automountServiceAccountToken: false
  12228. containers:
  12229. - args:
  12230. - /data/conf/redis.conf
  12231. command:
  12232. - redis-server
  12233. image: redis:7.0.5-alpine
  12234. imagePullPolicy: IfNotPresent
  12235. lifecycle:
  12236. preStop:
  12237. exec:
  12238. command:
  12239. - /bin/sh
  12240. - /readonly-config/trigger-failover-if-master.sh
  12241. livenessProbe:
  12242. exec:
  12243. command:
  12244. - sh
  12245. - -c
  12246. - /health/redis_liveness.sh
  12247. failureThreshold: 5
  12248. initialDelaySeconds: 30
  12249. periodSeconds: 15
  12250. successThreshold: 1
  12251. timeoutSeconds: 15
  12252. name: redis
  12253. ports:
  12254. - containerPort: 6379
  12255. name: redis
  12256. readinessProbe:
  12257. exec:
  12258. command:
  12259. - sh
  12260. - -c
  12261. - /health/redis_readiness.sh
  12262. failureThreshold: 5
  12263. initialDelaySeconds: 30
  12264. periodSeconds: 15
  12265. successThreshold: 1
  12266. timeoutSeconds: 15
  12267. securityContext:
  12268. allowPrivilegeEscalation: false
  12269. capabilities:
  12270. drop:
  12271. - ALL
  12272. seccompProfile:
  12273. type: RuntimeDefault
  12274. volumeMounts:
  12275. - mountPath: /readonly-config
  12276. name: config
  12277. readOnly: true
  12278. - mountPath: /data
  12279. name: data
  12280. - mountPath: /health
  12281. name: health
  12282. - args:
  12283. - /data/conf/sentinel.conf
  12284. command:
  12285. - redis-sentinel
  12286. image: redis:7.0.5-alpine
  12287. imagePullPolicy: IfNotPresent
  12288. lifecycle: {}
  12289. livenessProbe:
  12290. exec:
  12291. command:
  12292. - sh
  12293. - -c
  12294. - /health/sentinel_liveness.sh
  12295. failureThreshold: 5
  12296. initialDelaySeconds: 30
  12297. periodSeconds: 15
  12298. successThreshold: 1
  12299. timeoutSeconds: 15
  12300. name: sentinel
  12301. ports:
  12302. - containerPort: 26379
  12303. name: sentinel
  12304. readinessProbe:
  12305. exec:
  12306. command:
  12307. - sh
  12308. - -c
  12309. - /health/sentinel_liveness.sh
  12310. failureThreshold: 5
  12311. initialDelaySeconds: 30
  12312. periodSeconds: 15
  12313. successThreshold: 3
  12314. timeoutSeconds: 15
  12315. securityContext:
  12316. allowPrivilegeEscalation: false
  12317. capabilities:
  12318. drop:
  12319. - ALL
  12320. seccompProfile:
  12321. type: RuntimeDefault
  12322. volumeMounts:
  12323. - mountPath: /data
  12324. name: data
  12325. - mountPath: /health
  12326. name: health
  12327. - args:
  12328. - /readonly-config/fix-split-brain.sh
  12329. command:
  12330. - sh
  12331. env:
  12332. - name: SENTINEL_ID_0
  12333. value: 3c0d9c0320bb34888c2df5757c718ce6ca992ce6
  12334. - name: SENTINEL_ID_1
  12335. value: 40000915ab58c3fa8fd888fb8b24711944e6cbb4
  12336. - name: SENTINEL_ID_2
  12337. value: 2bbec7894d954a8af3bb54d13eaec53cb024e2ca
  12338. image: redis:7.0.5-alpine
  12339. imagePullPolicy: IfNotPresent
  12340. name: split-brain-fix
  12341. resources: {}
  12342. securityContext:
  12343. allowPrivilegeEscalation: false
  12344. capabilities:
  12345. drop:
  12346. - ALL
  12347. seccompProfile:
  12348. type: RuntimeDefault
  12349. volumeMounts:
  12350. - mountPath: /readonly-config
  12351. name: config
  12352. readOnly: true
  12353. - mountPath: /data
  12354. name: data
  12355. initContainers:
  12356. - args:
  12357. - /readonly-config/init.sh
  12358. command:
  12359. - sh
  12360. env:
  12361. - name: SENTINEL_ID_0
  12362. value: 3c0d9c0320bb34888c2df5757c718ce6ca992ce6
  12363. - name: SENTINEL_ID_1
  12364. value: 40000915ab58c3fa8fd888fb8b24711944e6cbb4
  12365. - name: SENTINEL_ID_2
  12366. value: 2bbec7894d954a8af3bb54d13eaec53cb024e2ca
  12367. image: redis:7.0.5-alpine
  12368. imagePullPolicy: IfNotPresent
  12369. name: config-init
  12370. securityContext:
  12371. allowPrivilegeEscalation: false
  12372. capabilities:
  12373. drop:
  12374. - ALL
  12375. seccompProfile:
  12376. type: RuntimeDefault
  12377. volumeMounts:
  12378. - mountPath: /readonly-config
  12379. name: config
  12380. readOnly: true
  12381. - mountPath: /data
  12382. name: data
  12383. securityContext:
  12384. fsGroup: 1000
  12385. runAsNonRoot: true
  12386. runAsUser: 1000
  12387. serviceAccountName: argocd-redis-ha
  12388. terminationGracePeriodSeconds: 60
  12389. volumes:
  12390. - configMap:
  12391. name: argocd-redis-ha-configmap
  12392. name: config
  12393. - configMap:
  12394. defaultMode: 493
  12395. name: argocd-redis-ha-health-configmap
  12396. name: health
  12397. - emptyDir: {}
  12398. name: data
  12399. updateStrategy:
  12400. type: RollingUpdate
  12401. ---
  12402. apiVersion: networking.k8s.io/v1
  12403. kind: NetworkPolicy
  12404. metadata:
  12405. name: argocd-application-controller-network-policy
  12406. spec:
  12407. ingress:
  12408. - from:
  12409. - namespaceSelector: {}
  12410. ports:
  12411. - port: 8082
  12412. podSelector:
  12413. matchLabels:
  12414. app.kubernetes.io/name: argocd-application-controller
  12415. policyTypes:
  12416. - Ingress
  12417. ---
  12418. apiVersion: networking.k8s.io/v1
  12419. kind: NetworkPolicy
  12420. metadata:
  12421. name: argocd-applicationset-controller-network-policy
  12422. spec:
  12423. ingress:
  12424. - from:
  12425. - namespaceSelector: {}
  12426. ports:
  12427. - port: 7000
  12428. protocol: TCP
  12429. - port: 8080
  12430. protocol: TCP
  12431. podSelector:
  12432. matchLabels:
  12433. app.kubernetes.io/name: argocd-applicationset-controller
  12434. policyTypes:
  12435. - Ingress
  12436. ---
  12437. apiVersion: networking.k8s.io/v1
  12438. kind: NetworkPolicy
  12439. metadata:
  12440. name: argocd-dex-server-network-policy
  12441. spec:
  12442. ingress:
  12443. - from:
  12444. - podSelector:
  12445. matchLabels:
  12446. app.kubernetes.io/name: argocd-server
  12447. ports:
  12448. - port: 5556
  12449. protocol: TCP
  12450. - port: 5557
  12451. protocol: TCP
  12452. - from:
  12453. - namespaceSelector: {}
  12454. ports:
  12455. - port: 5558
  12456. protocol: TCP
  12457. podSelector:
  12458. matchLabels:
  12459. app.kubernetes.io/name: argocd-dex-server
  12460. policyTypes:
  12461. - Ingress
  12462. ---
  12463. apiVersion: networking.k8s.io/v1
  12464. kind: NetworkPolicy
  12465. metadata:
  12466. name: argocd-notifications-controller-network-policy
  12467. spec:
  12468. ingress:
  12469. - from:
  12470. - namespaceSelector: {}
  12471. ports:
  12472. - port: 9001
  12473. protocol: TCP
  12474. podSelector:
  12475. matchLabels:
  12476. app.kubernetes.io/name: argocd-notifications-controller
  12477. policyTypes:
  12478. - Ingress
  12479. ---
  12480. apiVersion: networking.k8s.io/v1
  12481. kind: NetworkPolicy
  12482. metadata:
  12483. name: argocd-redis-ha-proxy-network-policy
  12484. spec:
  12485. egress:
  12486. - ports:
  12487. - port: 6379
  12488. protocol: TCP
  12489. - port: 26379
  12490. protocol: TCP
  12491. to:
  12492. - podSelector:
  12493. matchLabels:
  12494. app.kubernetes.io/name: argocd-redis-ha
  12495. - ports:
  12496. - port: 53
  12497. protocol: UDP
  12498. - port: 53
  12499. protocol: TCP
  12500. ingress:
  12501. - from:
  12502. - podSelector:
  12503. matchLabels:
  12504. app.kubernetes.io/name: argocd-server
  12505. - podSelector:
  12506. matchLabels:
  12507. app.kubernetes.io/name: argocd-repo-server
  12508. - podSelector:
  12509. matchLabels:
  12510. app.kubernetes.io/name: argocd-application-controller
  12511. ports:
  12512. - port: 6379
  12513. protocol: TCP
  12514. - port: 26379
  12515. protocol: TCP
  12516. podSelector:
  12517. matchLabels:
  12518. app.kubernetes.io/name: argocd-redis-ha-haproxy
  12519. policyTypes:
  12520. - Ingress
  12521. - Egress
  12522. ---
  12523. apiVersion: networking.k8s.io/v1
  12524. kind: NetworkPolicy
  12525. metadata:
  12526. name: argocd-redis-ha-server-network-policy
  12527. spec:
  12528. egress:
  12529. - ports:
  12530. - port: 6379
  12531. protocol: TCP
  12532. - port: 26379
  12533. protocol: TCP
  12534. to:
  12535. - podSelector:
  12536. matchLabels:
  12537. app.kubernetes.io/name: argocd-redis-ha
  12538. - ports:
  12539. - port: 53
  12540. protocol: UDP
  12541. - port: 53
  12542. protocol: TCP
  12543. ingress:
  12544. - from:
  12545. - podSelector:
  12546. matchLabels:
  12547. app.kubernetes.io/name: argocd-redis-ha-haproxy
  12548. - podSelector:
  12549. matchLabels:
  12550. app.kubernetes.io/name: argocd-redis-ha
  12551. ports:
  12552. - port: 6379
  12553. protocol: TCP
  12554. - port: 26379
  12555. protocol: TCP
  12556. podSelector:
  12557. matchLabels:
  12558. app.kubernetes.io/name: argocd-redis-ha
  12559. policyTypes:
  12560. - Ingress
  12561. - Egress
  12562. ---
  12563. apiVersion: networking.k8s.io/v1
  12564. kind: NetworkPolicy
  12565. metadata:
  12566. name: argocd-repo-server-network-policy
  12567. spec:
  12568. ingress:
  12569. - from:
  12570. - podSelector:
  12571. matchLabels:
  12572. app.kubernetes.io/name: argocd-server
  12573. - podSelector:
  12574. matchLabels:
  12575. app.kubernetes.io/name: argocd-application-controller
  12576. - podSelector:
  12577. matchLabels:
  12578. app.kubernetes.io/name: argocd-notifications-controller
  12579. ports:
  12580. - port: 8081
  12581. protocol: TCP
  12582. - from:
  12583. - namespaceSelector: {}
  12584. ports:
  12585. - port: 8084
  12586. podSelector:
  12587. matchLabels:
  12588. app.kubernetes.io/name: argocd-repo-server
  12589. policyTypes:
  12590. - Ingress
  12591. ---
  12592. apiVersion: networking.k8s.io/v1
  12593. kind: NetworkPolicy
  12594. metadata:
  12595. name: argocd-server-network-policy
  12596. spec:
  12597. ingress:
  12598. - {}
  12599. podSelector:
  12600. matchLabels:
  12601. app.kubernetes.io/name: argocd-server
  12602. policyTypes:
  12603. - Ingress
  12604. ---
  12605. apiVersion: traefik.containo.us/v1alpha1
  12606. kind: IngressRoute
  12607. metadata:
  12608. name: argocd-server
  12609. namespace: argocd
  12610. spec:
  12611. entryPoints:
  12612. - websecure
  12613. routes:
  12614. - match: Host(`argocd.dezendorf.net`)
  12615. kind: Rule
  12616. priority: 10
  12617. services:
  12618. - name: argocd-server
  12619. port: 80
  12620. - match: Host(`argocd.dezendorf.net`) && Headers(`Content-Type`, `application/grpc`)
  12621. kind: Rule
  12622. priority: 20
  12623. services:
  12624. - name: argocd-server
  12625. port: 80
  12626. scheme: h2c
  12627. tls:
  12628. certResolver: myresolver
  12629. ---
  12630. apiVersion: traefik.containo.us/v1alpha1
  12631. kind: IngressRoute
  12632. metadata:
  12633. name: argocd-redirect
  12634. namespace: argocd
  12635. spec:
  12636. entryPoints:
  12637. - web
  12638. routes:
  12639. - match: Host(`argocd.dezendorf.net`) || Host(`argo`)
  12640. kind: Rule
  12641. middlewares:
  12642. - name: redirecthttps
  12643. services:
  12644. - name: argocd-server
  12645. port: 80