暫無描述

values.schema.json 176KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813
  1. {
  2. "title": "Chart Values",
  3. "type": "object",
  4. "properties": {
  5. "global": {
  6. "type": "object",
  7. "properties": {
  8. "imageRegistry": {
  9. "type": "string",
  10. "description": "Global Docker image registry",
  11. "default": ""
  12. },
  13. "imagePullSecrets": {
  14. "type": "array",
  15. "description": "Global Docker registry secret names as an array",
  16. "default": [],
  17. "items": {}
  18. },
  19. "defaultStorageClass": {
  20. "type": "string",
  21. "description": "Global default StorageClass for Persistent Volume(s)",
  22. "default": ""
  23. },
  24. "compatibility": {
  25. "type": "object",
  26. "properties": {
  27. "openshift": {
  28. "type": "object",
  29. "properties": {
  30. "adaptSecurityContext": {
  31. "type": "string",
  32. "description": "Adapt the securityContext sections of the deployment to make them compatible with Openshift restricted-v2 SCC: remove runAsUser, runAsGroup and fsGroup and let the platform use their allowed default IDs. Possible values: auto (apply if the detected running cluster is Openshift), force (perform the adaptation always), disabled (do not perform adaptation)",
  33. "default": "auto"
  34. }
  35. }
  36. },
  37. "omitEmptySeLinuxOptions": {
  38. "type": "boolean",
  39. "description": "If set to true, removes the seLinuxOptions from the securityContexts when it is set to an empty object",
  40. "default": false
  41. }
  42. }
  43. }
  44. }
  45. },
  46. "kubeVersion": {
  47. "type": "string",
  48. "description": "Override Kubernetes version",
  49. "default": ""
  50. },
  51. "nameOverride": {
  52. "type": "string",
  53. "description": "String to partially override common.names.name",
  54. "default": ""
  55. },
  56. "fullnameOverride": {
  57. "type": "string",
  58. "description": "String to fully override common.names.fullname",
  59. "default": ""
  60. },
  61. "namespaceOverride": {
  62. "type": "string",
  63. "description": "String to fully override common.names.namespace",
  64. "default": ""
  65. },
  66. "commonLabels": {
  67. "type": "object",
  68. "description": "Labels to add to all deployed objects",
  69. "default": {}
  70. },
  71. "commonAnnotations": {
  72. "type": "object",
  73. "description": "Annotations to add to all deployed objects",
  74. "default": {}
  75. },
  76. "clusterDomain": {
  77. "type": "string",
  78. "description": "Kubernetes cluster domain name",
  79. "default": "cluster.local"
  80. },
  81. "extraDeploy": {
  82. "type": "array",
  83. "description": "Array of extra objects to deploy with the release",
  84. "default": [],
  85. "items": {}
  86. },
  87. "diagnosticMode": {
  88. "type": "object",
  89. "properties": {
  90. "enabled": {
  91. "type": "boolean",
  92. "description": "Enable diagnostic mode (all probes will be disabled and the command will be overridden)",
  93. "default": false
  94. },
  95. "command": {
  96. "type": "array",
  97. "description": "Command to override all containers in the chart release",
  98. "default": [
  99. "sleep"
  100. ],
  101. "items": {
  102. "type": "string"
  103. }
  104. },
  105. "args": {
  106. "type": "array",
  107. "description": "Args to override all containers in the chart release",
  108. "default": [
  109. "infinity"
  110. ],
  111. "items": {
  112. "type": "string"
  113. }
  114. }
  115. }
  116. },
  117. "shuffle": {
  118. "type": "object",
  119. "properties": {
  120. "baseUrl": {
  121. "type": "string",
  122. "description": "The external base URL under which Shuffle is reachable.",
  123. "default": ""
  124. },
  125. "org": {
  126. "type": "string",
  127. "description": "Default shuffle organization",
  128. "default": "Shuffle"
  129. },
  130. "appRegistry": {
  131. "type": "string",
  132. "description": "The registry from / to which shuffle apps are pulled / pushed",
  133. "default": "docker.io"
  134. },
  135. "appBaseImageName": {
  136. "type": "string",
  137. "description": "The base image used for shuffle apps. The final image for an app is <appRegistr>/<appBaseImageName>/<appName>:<appVersion>",
  138. "default": "frikky"
  139. },
  140. "timezone": {
  141. "type": "string",
  142. "description": "The timezone used by Shuffle",
  143. "default": "Europe/Berlin"
  144. }
  145. }
  146. },
  147. "backend": {
  148. "type": "object",
  149. "properties": {
  150. "image": {
  151. "type": "object",
  152. "properties": {
  153. "registry": {
  154. "type": "string",
  155. "description": "backend image registry",
  156. "default": "ghcr.io"
  157. },
  158. "repository": {
  159. "type": "string",
  160. "description": "backend image repository",
  161. "default": "shuffle/shuffle-backend"
  162. },
  163. "tag": {
  164. "type": "string",
  165. "description": "backend image tag (immutable tags are recommended, defaults to appVersion)",
  166. "default": ""
  167. },
  168. "digest": {
  169. "type": "string",
  170. "description": "backend image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag image tag (immutable tags are recommended)",
  171. "default": ""
  172. },
  173. "pullPolicy": {
  174. "type": "string",
  175. "description": "backend image pull policy",
  176. "default": "IfNotPresent"
  177. },
  178. "pullSecrets": {
  179. "type": "array",
  180. "description": "backend image pull secrets",
  181. "default": [],
  182. "items": {}
  183. }
  184. }
  185. },
  186. "replicaCount": {
  187. "type": "number",
  188. "description": "Number of backend replicas to deploy",
  189. "default": 1
  190. },
  191. "containerPorts": {
  192. "type": "object",
  193. "properties": {
  194. "http": {
  195. "type": "number",
  196. "description": "backend HTTP container port",
  197. "default": 5001
  198. }
  199. }
  200. },
  201. "extraContainerPorts": {
  202. "type": "array",
  203. "description": "Optionally specify extra list of additional ports for backend containers",
  204. "default": [],
  205. "items": {}
  206. },
  207. "livenessProbe": {
  208. "type": "object",
  209. "properties": {
  210. "enabled": {
  211. "type": "boolean",
  212. "description": "Enable livenessProbe on backend containers",
  213. "default": false
  214. },
  215. "initialDelaySeconds": {
  216. "type": "number",
  217. "description": "Initial delay seconds for livenessProbe",
  218. "default": 0
  219. },
  220. "periodSeconds": {
  221. "type": "number",
  222. "description": "Period seconds for livenessProbe",
  223. "default": 15
  224. },
  225. "timeoutSeconds": {
  226. "type": "number",
  227. "description": "Timeout seconds for livenessProbe",
  228. "default": 1
  229. },
  230. "failureThreshold": {
  231. "type": "number",
  232. "description": "Failure threshold for livenessProbe",
  233. "default": 4
  234. },
  235. "successThreshold": {
  236. "type": "number",
  237. "description": "Success threshold for livenessProbe",
  238. "default": 1
  239. }
  240. }
  241. },
  242. "readinessProbe": {
  243. "type": "object",
  244. "properties": {
  245. "enabled": {
  246. "type": "boolean",
  247. "description": "Enable readinessProbe on backend containers",
  248. "default": false
  249. },
  250. "initialDelaySeconds": {
  251. "type": "number",
  252. "description": "Initial delay seconds for readinessProbe",
  253. "default": 0
  254. },
  255. "periodSeconds": {
  256. "type": "number",
  257. "description": "Period seconds for readinessProbe",
  258. "default": 5
  259. },
  260. "timeoutSeconds": {
  261. "type": "number",
  262. "description": "Timeout seconds for readinessProbe",
  263. "default": 1
  264. },
  265. "failureThreshold": {
  266. "type": "number",
  267. "description": "Failure threshold for readinessProbe",
  268. "default": 3
  269. },
  270. "successThreshold": {
  271. "type": "number",
  272. "description": "Success threshold for readinessProbe",
  273. "default": 1
  274. }
  275. }
  276. },
  277. "startupProbe": {
  278. "type": "object",
  279. "properties": {
  280. "enabled": {
  281. "type": "boolean",
  282. "description": "Enable startupProbe on backend containers",
  283. "default": false
  284. },
  285. "initialDelaySeconds": {
  286. "type": "number",
  287. "description": "Initial delay seconds for startupProbe",
  288. "default": 0
  289. },
  290. "periodSeconds": {
  291. "type": "number",
  292. "description": "Period seconds for startupProbe",
  293. "default": 1
  294. },
  295. "timeoutSeconds": {
  296. "type": "number",
  297. "description": "Timeout seconds for startupProbe",
  298. "default": 1
  299. },
  300. "failureThreshold": {
  301. "type": "number",
  302. "description": "Failure threshold for startupProbe",
  303. "default": 60
  304. },
  305. "successThreshold": {
  306. "type": "number",
  307. "description": "Success threshold for startupProbe",
  308. "default": 1
  309. }
  310. }
  311. },
  312. "customLivenessProbe": {
  313. "type": "object",
  314. "description": "Custom livenessProbe that overrides the default one",
  315. "default": {}
  316. },
  317. "customReadinessProbe": {
  318. "type": "object",
  319. "description": "Custom readinessProbe that overrides the default one",
  320. "default": {}
  321. },
  322. "customStartupProbe": {
  323. "type": "object",
  324. "description": "Custom startupProbe that overrides the default one",
  325. "default": {}
  326. },
  327. "resourcesPreset": {
  328. "type": "string",
  329. "description": "Set backend container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if backend.resources is set (backend.resources is recommended for production).",
  330. "default": "small"
  331. },
  332. "resources": {
  333. "type": "object",
  334. "description": "Set backend container requests and limits for different resources like CPU or memory (essential for production workloads)",
  335. "default": {}
  336. },
  337. "podSecurityContext": {
  338. "type": "object",
  339. "properties": {
  340. "enabled": {
  341. "type": "boolean",
  342. "description": "Enable backend pods' Security Context",
  343. "default": true
  344. },
  345. "fsGroupChangePolicy": {
  346. "type": "string",
  347. "description": "Set filesystem group change policy for backend pods",
  348. "default": "Always"
  349. },
  350. "sysctls": {
  351. "type": "array",
  352. "description": "Set kernel settings using the sysctl interface for backend pods",
  353. "default": [],
  354. "items": {}
  355. },
  356. "supplementalGroups": {
  357. "type": "array",
  358. "description": "Set filesystem extra groups for backend pods",
  359. "default": [],
  360. "items": {}
  361. },
  362. "fsGroup": {
  363. "type": "number",
  364. "description": "Set fsGroup in backend pods' Security Context",
  365. "default": 1001
  366. }
  367. }
  368. },
  369. "containerSecurityContext": {
  370. "type": "object",
  371. "properties": {
  372. "enabled": {
  373. "type": "boolean",
  374. "description": "Enabled backend container' Security Context",
  375. "default": true
  376. },
  377. "runAsUser": {
  378. "type": "number",
  379. "description": "Set runAsUser in backend container' Security Context",
  380. "default": 1001
  381. },
  382. "runAsGroup": {
  383. "type": "number",
  384. "description": "Set runAsGroup in backend container' Security Context",
  385. "default": 1001
  386. },
  387. "runAsNonRoot": {
  388. "type": "boolean",
  389. "description": "Set runAsNonRoot in backend container' Security Context",
  390. "default": true
  391. },
  392. "readOnlyRootFilesystem": {
  393. "type": "boolean",
  394. "description": "Set readOnlyRootFilesystem in backend container' Security Context",
  395. "default": true
  396. },
  397. "privileged": {
  398. "type": "boolean",
  399. "description": "Set privileged in backend container' Security Context",
  400. "default": false
  401. },
  402. "allowPrivilegeEscalation": {
  403. "type": "boolean",
  404. "description": "Set allowPrivilegeEscalation in backend container' Security Context",
  405. "default": false
  406. },
  407. "capabilities": {
  408. "type": "object",
  409. "properties": {
  410. "drop": {
  411. "type": "array",
  412. "description": "List of capabilities to be dropped in backend container",
  413. "default": [
  414. "ALL"
  415. ],
  416. "items": {
  417. "type": "string"
  418. }
  419. }
  420. }
  421. },
  422. "seccompProfile": {
  423. "type": "object",
  424. "properties": {
  425. "type": {
  426. "type": "string",
  427. "description": "Set seccomp profile in backend container",
  428. "default": "RuntimeDefault"
  429. }
  430. }
  431. }
  432. }
  433. },
  434. "command": {
  435. "type": "array",
  436. "description": "Override default backend container command (useful when using custom images)",
  437. "default": [],
  438. "items": {}
  439. },
  440. "args": {
  441. "type": "array",
  442. "description": "Override default backend container args (useful when using custom images)",
  443. "default": [],
  444. "items": {}
  445. },
  446. "automountServiceAccountToken": {
  447. "type": "boolean",
  448. "description": "Mount Service Account token in backend pods",
  449. "default": true
  450. },
  451. "hostAliases": {
  452. "type": "array",
  453. "description": "backend pods host aliases",
  454. "default": [],
  455. "items": {}
  456. },
  457. "deploymentAnnotations": {
  458. "type": "object",
  459. "description": "Annotations for backend deployment",
  460. "default": {}
  461. },
  462. "podLabels": {
  463. "type": "object",
  464. "description": "Extra labels for backend pods",
  465. "default": {}
  466. },
  467. "podAnnotations": {
  468. "type": "object",
  469. "description": "Annotations for backend pods",
  470. "default": {}
  471. },
  472. "podAffinityPreset": {
  473. "type": "string",
  474. "description": "Pod affinity preset. Ignored if `backend.affinity` is set. Allowed values: `soft` or `hard`",
  475. "default": ""
  476. },
  477. "podAntiAffinityPreset": {
  478. "type": "string",
  479. "description": "Pod anti-affinity preset. Ignored if `backend.affinity` is set. Allowed values: `soft` or `hard`",
  480. "default": "soft"
  481. },
  482. "nodeAffinityPreset": {
  483. "type": "object",
  484. "properties": {
  485. "type": {
  486. "type": "string",
  487. "description": "Node affinity preset type. Ignored if `backend.affinity` is set. Allowed values: `soft` or `hard`",
  488. "default": ""
  489. },
  490. "key": {
  491. "type": "string",
  492. "description": "Node label key to match. Ignored if `backend.affinity` is set",
  493. "default": ""
  494. },
  495. "values": {
  496. "type": "array",
  497. "description": "Node label values to match. Ignored if `backend.affinity` is set",
  498. "default": [],
  499. "items": {}
  500. }
  501. }
  502. },
  503. "affinity": {
  504. "type": "object",
  505. "description": "Affinity for backend pods assignment",
  506. "default": {}
  507. },
  508. "nodeSelector": {
  509. "type": "object",
  510. "description": "Node labels for backend pods assignment",
  511. "default": {}
  512. },
  513. "tolerations": {
  514. "type": "array",
  515. "description": "Tolerations for backend pods assignment",
  516. "default": [],
  517. "items": {}
  518. },
  519. "updateStrategy": {
  520. "type": "object",
  521. "properties": {
  522. "type": {
  523. "type": "string",
  524. "description": "backend deployment strategy type",
  525. "default": "Recreate"
  526. }
  527. }
  528. },
  529. "priorityClassName": {
  530. "type": "string",
  531. "description": "backend pods' priorityClassName",
  532. "default": ""
  533. },
  534. "topologySpreadConstraints": {
  535. "type": "array",
  536. "description": "Topology Spread Constraints for backend pod assignment spread across your cluster among failure-domains",
  537. "default": [],
  538. "items": {}
  539. },
  540. "schedulerName": {
  541. "type": "string",
  542. "description": "Name of the k8s scheduler (other than default) for backend pods",
  543. "default": ""
  544. },
  545. "terminationGracePeriodSeconds": {
  546. "type": "string",
  547. "description": "Seconds backend pods need to terminate gracefully",
  548. "default": ""
  549. },
  550. "lifecycleHooks": {
  551. "type": "object",
  552. "description": "for backend containers to automate configuration before or after startup",
  553. "default": {}
  554. },
  555. "extraEnvVars": {
  556. "type": "array",
  557. "description": "Array with extra environment variables to add to backend containers",
  558. "default": [],
  559. "items": {}
  560. },
  561. "extraEnvVarsCM": {
  562. "type": "string",
  563. "description": "Name of existing ConfigMap containing extra env vars for backend containers",
  564. "default": ""
  565. },
  566. "extraEnvVarsSecret": {
  567. "type": "string",
  568. "description": "Name of existing Secret containing extra env vars for backend containers",
  569. "default": ""
  570. },
  571. "extraVolumes": {
  572. "type": "array",
  573. "description": "Optionally specify extra list of additional volumes for the backend pods",
  574. "default": [],
  575. "items": {}
  576. },
  577. "extraVolumeMounts": {
  578. "type": "array",
  579. "description": "Optionally specify extra list of additional volumeMounts for the backend containers",
  580. "default": [],
  581. "items": {}
  582. },
  583. "sidecars": {
  584. "type": "array",
  585. "description": "Add additional sidecar containers to the backend pods",
  586. "default": [],
  587. "items": {}
  588. },
  589. "initContainers": {
  590. "type": "array",
  591. "description": "Add additional init containers to the backend pods",
  592. "default": [],
  593. "items": {}
  594. },
  595. "pdb": {
  596. "type": "object",
  597. "properties": {
  598. "create": {
  599. "type": "boolean",
  600. "description": "Enable/disable a Pod Disruption Budget creation",
  601. "default": true
  602. },
  603. "minAvailable": {
  604. "type": "string",
  605. "description": "Minimum number/percentage of pods that should remain scheduled",
  606. "default": ""
  607. },
  608. "maxUnavailable": {
  609. "type": "string",
  610. "description": "Maximum number/percentage of pods that may be made unavailable. Defaults to `1` if both `backend.pdb.minAvailable` and `backend.pdb.maxUnavailable` are empty.",
  611. "default": ""
  612. }
  613. }
  614. },
  615. "autoscaling": {
  616. "type": "object",
  617. "properties": {
  618. "vpa": {
  619. "type": "object",
  620. "properties": {
  621. "enabled": {
  622. "type": "boolean",
  623. "description": "Enable VPA for backend pods",
  624. "default": false
  625. },
  626. "annotations": {
  627. "type": "object",
  628. "description": "Annotations for VPA resource",
  629. "default": {}
  630. },
  631. "controlledResources": {
  632. "type": "array",
  633. "description": "VPA List of resources that the vertical pod autoscaler can control. Defaults to cpu and memory",
  634. "default": [],
  635. "items": {}
  636. },
  637. "maxAllowed": {
  638. "type": "object",
  639. "description": "VPA Max allowed resources for the pod",
  640. "default": {}
  641. },
  642. "minAllowed": {
  643. "type": "object",
  644. "description": "VPA Min allowed resources for the pod",
  645. "default": {}
  646. },
  647. "updatePolicy": {
  648. "type": "object",
  649. "properties": {
  650. "updateMode": {
  651. "type": "string",
  652. "description": "Autoscaling update policy",
  653. "default": "Auto"
  654. }
  655. }
  656. }
  657. }
  658. },
  659. "hpa": {
  660. "type": "object",
  661. "properties": {
  662. "enabled": {
  663. "type": "boolean",
  664. "description": "Enable HPA for backend pods",
  665. "default": false
  666. },
  667. "minReplicas": {
  668. "type": "string",
  669. "description": "Minimum number of replicas",
  670. "default": ""
  671. },
  672. "maxReplicas": {
  673. "type": "string",
  674. "description": "Maximum number of replicas",
  675. "default": ""
  676. },
  677. "targetCPU": {
  678. "type": "string",
  679. "description": "Target CPU utilization percentage",
  680. "default": ""
  681. },
  682. "targetMemory": {
  683. "type": "string",
  684. "description": "Target Memory utilization percentage",
  685. "default": ""
  686. }
  687. }
  688. }
  689. }
  690. },
  691. "service": {
  692. "type": "object",
  693. "properties": {
  694. "labels": {
  695. "type": "object",
  696. "description": "Extra labels for backend service",
  697. "default": {}
  698. }
  699. }
  700. },
  701. "serviceAccount": {
  702. "type": "object",
  703. "properties": {
  704. "create": {
  705. "type": "boolean",
  706. "description": "Specifies whether a ServiceAccount should be created",
  707. "default": true
  708. },
  709. "name": {
  710. "type": "string",
  711. "description": "The name of the ServiceAccount to use.",
  712. "default": ""
  713. },
  714. "annotations": {
  715. "type": "object",
  716. "description": "Additional Service Account annotations (evaluated as a template)",
  717. "default": {}
  718. },
  719. "automountServiceAccountToken": {
  720. "type": "boolean",
  721. "description": "Automount service account token for the backend service account",
  722. "default": true
  723. },
  724. "imagePullSecrets": {
  725. "type": "array",
  726. "description": "Add image pull secrets to the backend service account",
  727. "default": [],
  728. "items": {}
  729. }
  730. }
  731. },
  732. "rbac": {
  733. "type": "object",
  734. "properties": {
  735. "create": {
  736. "type": "boolean",
  737. "description": "Specifies whether RBAC resources should be created",
  738. "default": true
  739. }
  740. }
  741. },
  742. "networkPolicy": {
  743. "type": "object",
  744. "properties": {
  745. "enabled": {
  746. "type": "boolean",
  747. "description": "Specifies whether a NetworkPolicy should be created",
  748. "default": true
  749. },
  750. "allowExternal": {
  751. "type": "boolean",
  752. "description": "Don't require server label for connections",
  753. "default": true
  754. },
  755. "allowExternalEgress": {
  756. "type": "boolean",
  757. "description": "Allow the pod to access any range of port and all destinations.",
  758. "default": true
  759. },
  760. "extraIngress": {
  761. "type": "array",
  762. "description": "Add extra ingress rules to the NetworkPolicy",
  763. "default": [],
  764. "items": {}
  765. },
  766. "extraEgress": {
  767. "type": "array",
  768. "description": "Add extra ingress rules to the NetworkPolicy (ignored if allowExternalEgress=true)",
  769. "default": [],
  770. "items": {}
  771. }
  772. }
  773. },
  774. "cleanupSchedule": {
  775. "type": "number",
  776. "description": "The interval in seconds at which the cleanup job runs",
  777. "default": 300
  778. },
  779. "openSearch": {
  780. "type": "object",
  781. "properties": {
  782. "url": {
  783. "type": "string",
  784. "description": "The URL at which OpenSearch is available",
  785. "default": "http://{{ .Release.Name }}-opensearch:9200"
  786. },
  787. "username": {
  788. "type": "string",
  789. "description": "The username that is used for authenticating with OpenSearch",
  790. "default": "admin"
  791. },
  792. "certificateFile": {
  793. "type": "string",
  794. "description": "The path to a custom OpenSearch certificate file",
  795. "default": ""
  796. },
  797. "skipSSLVerify": {
  798. "type": "boolean",
  799. "description": "Skip SSL verification",
  800. "default": false
  801. },
  802. "indexPrefix": {
  803. "type": "string",
  804. "description": "A prefix for OpenSearch indices",
  805. "default": ""
  806. }
  807. }
  808. },
  809. "apps": {
  810. "type": "object",
  811. "properties": {
  812. "downloadLocation": {
  813. "type": "string",
  814. "description": "The location to a git repository from which default appps are downloaded on startup.",
  815. "default": "https://github.com/shuffle/python-apps"
  816. },
  817. "downloadBranch": {
  818. "type": "string",
  819. "description": "The branch from which apps should be downloaded on startup.",
  820. "default": "master"
  821. },
  822. "forceUpdate": {
  823. "type": "boolean",
  824. "description": "Force an update of apps on startup.",
  825. "default": false
  826. }
  827. }
  828. }
  829. }
  830. },
  831. "frontend": {
  832. "type": "object",
  833. "properties": {
  834. "image": {
  835. "type": "object",
  836. "properties": {
  837. "registry": {
  838. "type": "string",
  839. "description": "frontend image registry",
  840. "default": "ghcr.io"
  841. },
  842. "repository": {
  843. "type": "string",
  844. "description": "frontend image repository",
  845. "default": "shuffle/shuffle-frontend"
  846. },
  847. "tag": {
  848. "type": "string",
  849. "description": "frontend image tag (immutable tags are recommended, defaults to appVersion)",
  850. "default": ""
  851. },
  852. "digest": {
  853. "type": "string",
  854. "description": "frontend image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag image tag (immutable tags are recommended)",
  855. "default": ""
  856. },
  857. "pullPolicy": {
  858. "type": "string",
  859. "description": "frontend image pull policy",
  860. "default": "IfNotPresent"
  861. },
  862. "pullSecrets": {
  863. "type": "array",
  864. "description": "frontend image pull secrets",
  865. "default": [],
  866. "items": {}
  867. }
  868. }
  869. },
  870. "replicaCount": {
  871. "type": "number",
  872. "description": "Number of frontend replicas to deploy",
  873. "default": 1
  874. },
  875. "containerPorts": {
  876. "type": "object",
  877. "properties": {
  878. "http": {
  879. "type": "number",
  880. "description": "frontend HTTP container port",
  881. "default": 80
  882. },
  883. "https": {
  884. "type": "number",
  885. "description": "frontend HTTPS container port",
  886. "default": 443
  887. }
  888. }
  889. },
  890. "extraContainerPorts": {
  891. "type": "array",
  892. "description": "Optionally specify extra list of additional ports for frontend containers",
  893. "default": [],
  894. "items": {}
  895. },
  896. "livenessProbe": {
  897. "type": "object",
  898. "properties": {
  899. "enabled": {
  900. "type": "boolean",
  901. "description": "Enable livenessProbe on frontend containers",
  902. "default": false
  903. },
  904. "initialDelaySeconds": {
  905. "type": "number",
  906. "description": "Initial delay seconds for livenessProbe",
  907. "default": 0
  908. },
  909. "periodSeconds": {
  910. "type": "number",
  911. "description": "Period seconds for livenessProbe",
  912. "default": 15
  913. },
  914. "timeoutSeconds": {
  915. "type": "number",
  916. "description": "Timeout seconds for livenessProbe",
  917. "default": 1
  918. },
  919. "failureThreshold": {
  920. "type": "number",
  921. "description": "Failure threshold for livenessProbe",
  922. "default": 4
  923. },
  924. "successThreshold": {
  925. "type": "number",
  926. "description": "Success threshold for livenessProbe",
  927. "default": 1
  928. }
  929. }
  930. },
  931. "readinessProbe": {
  932. "type": "object",
  933. "properties": {
  934. "enabled": {
  935. "type": "boolean",
  936. "description": "Enable readinessProbe on frontend containers",
  937. "default": false
  938. },
  939. "initialDelaySeconds": {
  940. "type": "number",
  941. "description": "Initial delay seconds for readinessProbe",
  942. "default": 0
  943. },
  944. "periodSeconds": {
  945. "type": "number",
  946. "description": "Period seconds for readinessProbe",
  947. "default": 5
  948. },
  949. "timeoutSeconds": {
  950. "type": "number",
  951. "description": "Timeout seconds for readinessProbe",
  952. "default": 1
  953. },
  954. "failureThreshold": {
  955. "type": "number",
  956. "description": "Failure threshold for readinessProbe",
  957. "default": 3
  958. },
  959. "successThreshold": {
  960. "type": "number",
  961. "description": "Success threshold for readinessProbe",
  962. "default": 1
  963. }
  964. }
  965. },
  966. "startupProbe": {
  967. "type": "object",
  968. "properties": {
  969. "enabled": {
  970. "type": "boolean",
  971. "description": "Enable startupProbe on frontend containers",
  972. "default": false
  973. },
  974. "initialDelaySeconds": {
  975. "type": "number",
  976. "description": "Initial delay seconds for startupProbe",
  977. "default": 0
  978. },
  979. "periodSeconds": {
  980. "type": "number",
  981. "description": "Period seconds for startupProbe",
  982. "default": 1
  983. },
  984. "timeoutSeconds": {
  985. "type": "number",
  986. "description": "Timeout seconds for startupProbe",
  987. "default": 1
  988. },
  989. "failureThreshold": {
  990. "type": "number",
  991. "description": "Failure threshold for startupProbe",
  992. "default": 60
  993. },
  994. "successThreshold": {
  995. "type": "number",
  996. "description": "Success threshold for startupProbe",
  997. "default": 1
  998. }
  999. }
  1000. },
  1001. "customLivenessProbe": {
  1002. "type": "object",
  1003. "description": "Custom livenessProbe that overrides the default one",
  1004. "default": {}
  1005. },
  1006. "customReadinessProbe": {
  1007. "type": "object",
  1008. "description": "Custom readinessProbe that overrides the default one",
  1009. "default": {}
  1010. },
  1011. "customStartupProbe": {
  1012. "type": "object",
  1013. "description": "Custom startupProbe that overrides the default one",
  1014. "default": {}
  1015. },
  1016. "resourcesPreset": {
  1017. "type": "string",
  1018. "description": "Set frontend container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if frontend.resources is set (frontend.resources is recommended for production).",
  1019. "default": "nano"
  1020. },
  1021. "resources": {
  1022. "type": "object",
  1023. "description": "Set frontend container requests and limits for different resources like CPU or memory (essential for production workloads)",
  1024. "default": {}
  1025. },
  1026. "podSecurityContext": {
  1027. "type": "object",
  1028. "properties": {
  1029. "enabled": {
  1030. "type": "boolean",
  1031. "description": "Enable frontend pods' Security Context",
  1032. "default": false
  1033. },
  1034. "fsGroupChangePolicy": {
  1035. "type": "string",
  1036. "description": "Set filesystem group change policy for frontend pods",
  1037. "default": "Always"
  1038. },
  1039. "sysctls": {
  1040. "type": "array",
  1041. "description": "Set kernel settings using the sysctl interface for frontend pods",
  1042. "default": [],
  1043. "items": {}
  1044. },
  1045. "supplementalGroups": {
  1046. "type": "array",
  1047. "description": "Set filesystem extra groups for frontend pods",
  1048. "default": [],
  1049. "items": {}
  1050. },
  1051. "fsGroup": {
  1052. "type": "number",
  1053. "description": "Set fsGroup in frontend pods' Security Context",
  1054. "default": 1001
  1055. }
  1056. }
  1057. },
  1058. "containerSecurityContext": {
  1059. "type": "object",
  1060. "properties": {
  1061. "enabled": {
  1062. "type": "boolean",
  1063. "description": "Enabled frontend container' Security Context",
  1064. "default": false
  1065. },
  1066. "runAsUser": {
  1067. "type": "number",
  1068. "description": "Set runAsUser in frontend container' Security Context",
  1069. "default": 1001
  1070. },
  1071. "runAsGroup": {
  1072. "type": "number",
  1073. "description": "Set runAsGroup in frontend container' Security Context",
  1074. "default": 1001
  1075. },
  1076. "runAsNonRoot": {
  1077. "type": "boolean",
  1078. "description": "Set runAsNonRoot in frontend container' Security Context",
  1079. "default": true
  1080. },
  1081. "readOnlyRootFilesystem": {
  1082. "type": "boolean",
  1083. "description": "Set readOnlyRootFilesystem in frontend container' Security Context",
  1084. "default": true
  1085. },
  1086. "privileged": {
  1087. "type": "boolean",
  1088. "description": "Set privileged in frontend container' Security Context",
  1089. "default": false
  1090. },
  1091. "allowPrivilegeEscalation": {
  1092. "type": "boolean",
  1093. "description": "Set allowPrivilegeEscalation in frontend container' Security Context",
  1094. "default": false
  1095. },
  1096. "capabilities": {
  1097. "type": "object",
  1098. "properties": {
  1099. "drop": {
  1100. "type": "array",
  1101. "description": "List of capabilities to be dropped in frontend container",
  1102. "default": [
  1103. "ALL"
  1104. ],
  1105. "items": {
  1106. "type": "string"
  1107. }
  1108. }
  1109. }
  1110. },
  1111. "seccompProfile": {
  1112. "type": "object",
  1113. "properties": {
  1114. "type": {
  1115. "type": "string",
  1116. "description": "Set seccomp profile in frontend container",
  1117. "default": "RuntimeDefault"
  1118. }
  1119. }
  1120. }
  1121. }
  1122. },
  1123. "command": {
  1124. "type": "array",
  1125. "description": "Override default frontend container command (useful when using custom images)",
  1126. "default": [],
  1127. "items": {}
  1128. },
  1129. "args": {
  1130. "type": "array",
  1131. "description": "Override default frontend container args (useful when using custom images)",
  1132. "default": [],
  1133. "items": {}
  1134. },
  1135. "automountServiceAccountToken": {
  1136. "type": "boolean",
  1137. "description": "Mount Service Account token in frontend pods",
  1138. "default": false
  1139. },
  1140. "hostAliases": {
  1141. "type": "array",
  1142. "description": "frontend pods host aliases",
  1143. "default": [],
  1144. "items": {}
  1145. },
  1146. "deploymentAnnotations": {
  1147. "type": "object",
  1148. "description": "Annotations for frontend deployment",
  1149. "default": {}
  1150. },
  1151. "podLabels": {
  1152. "type": "object",
  1153. "description": "Extra labels for frontend pods",
  1154. "default": {}
  1155. },
  1156. "podAnnotations": {
  1157. "type": "object",
  1158. "description": "Annotations for frontend pods",
  1159. "default": {}
  1160. },
  1161. "podAffinityPreset": {
  1162. "type": "string",
  1163. "description": "Pod affinity preset. Ignored if `frontend.affinity` is set. Allowed values: `soft` or `hard`",
  1164. "default": ""
  1165. },
  1166. "podAntiAffinityPreset": {
  1167. "type": "string",
  1168. "description": "Pod anti-affinity preset. Ignored if `frontend.affinity` is set. Allowed values: `soft` or `hard`",
  1169. "default": "soft"
  1170. },
  1171. "nodeAffinityPreset": {
  1172. "type": "object",
  1173. "properties": {
  1174. "type": {
  1175. "type": "string",
  1176. "description": "Node affinity preset type. Ignored if `frontend.affinity` is set. Allowed values: `soft` or `hard`",
  1177. "default": ""
  1178. },
  1179. "key": {
  1180. "type": "string",
  1181. "description": "Node label key to match. Ignored if `frontend.affinity` is set",
  1182. "default": ""
  1183. },
  1184. "values": {
  1185. "type": "array",
  1186. "description": "Node label values to match. Ignored if `frontend.affinity` is set",
  1187. "default": [],
  1188. "items": {}
  1189. }
  1190. }
  1191. },
  1192. "affinity": {
  1193. "type": "object",
  1194. "description": "Affinity for frontend pods assignment",
  1195. "default": {}
  1196. },
  1197. "nodeSelector": {
  1198. "type": "object",
  1199. "description": "Node labels for frontend pods assignment",
  1200. "default": {}
  1201. },
  1202. "tolerations": {
  1203. "type": "array",
  1204. "description": "Tolerations for frontend pods assignment",
  1205. "default": [],
  1206. "items": {}
  1207. },
  1208. "updateStrategy": {
  1209. "type": "object",
  1210. "properties": {
  1211. "type": {
  1212. "type": "string",
  1213. "description": "frontend deployment strategy type",
  1214. "default": "RollingUpdate"
  1215. }
  1216. }
  1217. },
  1218. "priorityClassName": {
  1219. "type": "string",
  1220. "description": "frontend pods' priorityClassName",
  1221. "default": ""
  1222. },
  1223. "topologySpreadConstraints": {
  1224. "type": "array",
  1225. "description": "Topology Spread Constraints for frontend pod assignment spread across your cluster among failure-domains",
  1226. "default": [],
  1227. "items": {}
  1228. },
  1229. "schedulerName": {
  1230. "type": "string",
  1231. "description": "Name of the k8s scheduler (other than default) for frontend pods",
  1232. "default": ""
  1233. },
  1234. "terminationGracePeriodSeconds": {
  1235. "type": "string",
  1236. "description": "Seconds frontend pods need to terminate gracefully",
  1237. "default": ""
  1238. },
  1239. "lifecycleHooks": {
  1240. "type": "object",
  1241. "description": "for frontend containers to automate configuration before or after startup",
  1242. "default": {}
  1243. },
  1244. "extraEnvVars": {
  1245. "type": "array",
  1246. "description": "Array with extra environment variables to add to frontend containers",
  1247. "default": [],
  1248. "items": {}
  1249. },
  1250. "extraEnvVarsCM": {
  1251. "type": "string",
  1252. "description": "Name of existing ConfigMap containing extra env vars for frontend containers",
  1253. "default": ""
  1254. },
  1255. "extraEnvVarsSecret": {
  1256. "type": "string",
  1257. "description": "Name of existing Secret containing extra env vars for frontend containers",
  1258. "default": ""
  1259. },
  1260. "extraVolumes": {
  1261. "type": "array",
  1262. "description": "Optionally specify extra list of additional volumes for the frontend pods",
  1263. "default": [],
  1264. "items": {}
  1265. },
  1266. "extraVolumeMounts": {
  1267. "type": "array",
  1268. "description": "Optionally specify extra list of additional volumeMounts for the frontend containers",
  1269. "default": [],
  1270. "items": {}
  1271. },
  1272. "sidecars": {
  1273. "type": "array",
  1274. "description": "Add additional sidecar containers to the frontend pods",
  1275. "default": [],
  1276. "items": {}
  1277. },
  1278. "initContainers": {
  1279. "type": "array",
  1280. "description": "Add additional init containers to the frontend pods",
  1281. "default": [],
  1282. "items": {}
  1283. },
  1284. "pdb": {
  1285. "type": "object",
  1286. "properties": {
  1287. "create": {
  1288. "type": "boolean",
  1289. "description": "Enable/disable a Pod Disruption Budget creation",
  1290. "default": true
  1291. },
  1292. "minAvailable": {
  1293. "type": "string",
  1294. "description": "Minimum number/percentage of pods that should remain scheduled",
  1295. "default": ""
  1296. },
  1297. "maxUnavailable": {
  1298. "type": "string",
  1299. "description": "Maximum number/percentage of pods that may be made unavailable. Defaults to `1` if both `frontend.pdb.minAvailable` and `frontend.pdb.maxUnavailable` are empty.",
  1300. "default": ""
  1301. }
  1302. }
  1303. },
  1304. "autoscaling": {
  1305. "type": "object",
  1306. "properties": {
  1307. "vpa": {
  1308. "type": "object",
  1309. "properties": {
  1310. "enabled": {
  1311. "type": "boolean",
  1312. "description": "Enable VPA for frontend pods",
  1313. "default": false
  1314. },
  1315. "annotations": {
  1316. "type": "object",
  1317. "description": "Annotations for VPA resource",
  1318. "default": {}
  1319. },
  1320. "controlledResources": {
  1321. "type": "array",
  1322. "description": "VPA List of resources that the vertical pod autoscaler can control. Defaults to cpu and memory",
  1323. "default": [],
  1324. "items": {}
  1325. },
  1326. "maxAllowed": {
  1327. "type": "object",
  1328. "description": "VPA Max allowed resources for the pod",
  1329. "default": {}
  1330. },
  1331. "minAllowed": {
  1332. "type": "object",
  1333. "description": "VPA Min allowed resources for the pod",
  1334. "default": {}
  1335. },
  1336. "updatePolicy": {
  1337. "type": "object",
  1338. "properties": {
  1339. "updateMode": {
  1340. "type": "string",
  1341. "description": "Autoscaling update policy",
  1342. "default": "Auto"
  1343. }
  1344. }
  1345. }
  1346. }
  1347. },
  1348. "hpa": {
  1349. "type": "object",
  1350. "properties": {
  1351. "enabled": {
  1352. "type": "boolean",
  1353. "description": "Enable HPA for frontend pods",
  1354. "default": false
  1355. },
  1356. "minReplicas": {
  1357. "type": "string",
  1358. "description": "Minimum number of replicas",
  1359. "default": ""
  1360. },
  1361. "maxReplicas": {
  1362. "type": "string",
  1363. "description": "Maximum number of replicas",
  1364. "default": ""
  1365. },
  1366. "targetCPU": {
  1367. "type": "string",
  1368. "description": "Target CPU utilization percentage",
  1369. "default": ""
  1370. },
  1371. "targetMemory": {
  1372. "type": "string",
  1373. "description": "Target Memory utilization percentage",
  1374. "default": ""
  1375. }
  1376. }
  1377. }
  1378. }
  1379. },
  1380. "service": {
  1381. "type": "object",
  1382. "properties": {
  1383. "labels": {
  1384. "type": "object",
  1385. "description": "Extra labels for frontend service",
  1386. "default": {}
  1387. }
  1388. }
  1389. },
  1390. "serviceAccount": {
  1391. "type": "object",
  1392. "properties": {
  1393. "create": {
  1394. "type": "boolean",
  1395. "description": "Specifies whether a ServiceAccount should be created",
  1396. "default": true
  1397. },
  1398. "name": {
  1399. "type": "string",
  1400. "description": "The name of the ServiceAccount to use.",
  1401. "default": ""
  1402. },
  1403. "annotations": {
  1404. "type": "object",
  1405. "description": "Additional Service Account annotations (evaluated as a template)",
  1406. "default": {}
  1407. },
  1408. "automountServiceAccountToken": {
  1409. "type": "boolean",
  1410. "description": "Automount service account token for the frontend service account",
  1411. "default": true
  1412. },
  1413. "imagePullSecrets": {
  1414. "type": "array",
  1415. "description": "Add image pull secrets to the frontend service account",
  1416. "default": [],
  1417. "items": {}
  1418. }
  1419. }
  1420. },
  1421. "networkPolicy": {
  1422. "type": "object",
  1423. "properties": {
  1424. "enabled": {
  1425. "type": "boolean",
  1426. "description": "Specifies whether a NetworkPolicy should be created",
  1427. "default": true
  1428. },
  1429. "allowExternal": {
  1430. "type": "boolean",
  1431. "description": "Don't require server label for connections",
  1432. "default": true
  1433. },
  1434. "allowExternalEgress": {
  1435. "type": "boolean",
  1436. "description": "Allow the pod to access any range of port and all destinations.",
  1437. "default": true
  1438. },
  1439. "extraIngress": {
  1440. "type": "array",
  1441. "description": "Add extra ingress rules to the NetworkPolicy",
  1442. "default": [],
  1443. "items": {}
  1444. },
  1445. "extraEgress": {
  1446. "type": "array",
  1447. "description": "Add extra ingress rules to the NetworkPolicy (ignored if allowExternalEgress=true)",
  1448. "default": [],
  1449. "items": {}
  1450. }
  1451. }
  1452. }
  1453. }
  1454. },
  1455. "orborus": {
  1456. "type": "object",
  1457. "properties": {
  1458. "image": {
  1459. "type": "object",
  1460. "properties": {
  1461. "registry": {
  1462. "type": "string",
  1463. "description": "orborus image registry",
  1464. "default": "ghcr.io"
  1465. },
  1466. "repository": {
  1467. "type": "string",
  1468. "description": "orborus image repository",
  1469. "default": "shuffle/shuffle-orborus"
  1470. },
  1471. "tag": {
  1472. "type": "string",
  1473. "description": "orborus image tag (immutable tags are recommended, defaults to appVersion)",
  1474. "default": ""
  1475. },
  1476. "digest": {
  1477. "type": "string",
  1478. "description": "orborus image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag image tag (immutable tags are recommended)",
  1479. "default": ""
  1480. },
  1481. "pullPolicy": {
  1482. "type": "string",
  1483. "description": "orborus image pull policy",
  1484. "default": "IfNotPresent"
  1485. },
  1486. "pullSecrets": {
  1487. "type": "array",
  1488. "description": "orborus image pull secrets",
  1489. "default": [],
  1490. "items": {}
  1491. }
  1492. }
  1493. },
  1494. "replicaCount": {
  1495. "type": "number",
  1496. "description": "Number of orborus replicas to deploy",
  1497. "default": 1
  1498. },
  1499. "extraContainerPorts": {
  1500. "type": "array",
  1501. "description": "Optionally specify extra list of additional ports for orborus containers",
  1502. "default": [],
  1503. "items": {}
  1504. },
  1505. "livenessProbe": {
  1506. "type": "object",
  1507. "properties": {
  1508. "enabled": {
  1509. "type": "boolean",
  1510. "description": "Enable livenessProbe on orborus containers",
  1511. "default": false
  1512. },
  1513. "initialDelaySeconds": {
  1514. "type": "number",
  1515. "description": "Initial delay seconds for livenessProbe",
  1516. "default": 0
  1517. },
  1518. "periodSeconds": {
  1519. "type": "number",
  1520. "description": "Period seconds for livenessProbe",
  1521. "default": 15
  1522. },
  1523. "timeoutSeconds": {
  1524. "type": "number",
  1525. "description": "Timeout seconds for livenessProbe",
  1526. "default": 1
  1527. },
  1528. "failureThreshold": {
  1529. "type": "number",
  1530. "description": "Failure threshold for livenessProbe",
  1531. "default": 4
  1532. },
  1533. "successThreshold": {
  1534. "type": "number",
  1535. "description": "Success threshold for livenessProbe",
  1536. "default": 1
  1537. }
  1538. }
  1539. },
  1540. "readinessProbe": {
  1541. "type": "object",
  1542. "properties": {
  1543. "enabled": {
  1544. "type": "boolean",
  1545. "description": "Enable readinessProbe on orborus containers",
  1546. "default": false
  1547. },
  1548. "initialDelaySeconds": {
  1549. "type": "number",
  1550. "description": "Initial delay seconds for readinessProbe",
  1551. "default": 0
  1552. },
  1553. "periodSeconds": {
  1554. "type": "number",
  1555. "description": "Period seconds for readinessProbe",
  1556. "default": 5
  1557. },
  1558. "timeoutSeconds": {
  1559. "type": "number",
  1560. "description": "Timeout seconds for readinessProbe",
  1561. "default": 1
  1562. },
  1563. "failureThreshold": {
  1564. "type": "number",
  1565. "description": "Failure threshold for readinessProbe",
  1566. "default": 3
  1567. },
  1568. "successThreshold": {
  1569. "type": "number",
  1570. "description": "Success threshold for readinessProbe",
  1571. "default": 1
  1572. }
  1573. }
  1574. },
  1575. "startupProbe": {
  1576. "type": "object",
  1577. "properties": {
  1578. "enabled": {
  1579. "type": "boolean",
  1580. "description": "Enable startupProbe on orborus containers",
  1581. "default": false
  1582. },
  1583. "initialDelaySeconds": {
  1584. "type": "number",
  1585. "description": "Initial delay seconds for startupProbe",
  1586. "default": 0
  1587. },
  1588. "periodSeconds": {
  1589. "type": "number",
  1590. "description": "Period seconds for startupProbe",
  1591. "default": 1
  1592. },
  1593. "timeoutSeconds": {
  1594. "type": "number",
  1595. "description": "Timeout seconds for startupProbe",
  1596. "default": 1
  1597. },
  1598. "failureThreshold": {
  1599. "type": "number",
  1600. "description": "Failure threshold for startupProbe",
  1601. "default": 60
  1602. },
  1603. "successThreshold": {
  1604. "type": "number",
  1605. "description": "Success threshold for startupProbe",
  1606. "default": 1
  1607. }
  1608. }
  1609. },
  1610. "customLivenessProbe": {
  1611. "type": "object",
  1612. "description": "Custom livenessProbe that overrides the default one",
  1613. "default": {}
  1614. },
  1615. "customReadinessProbe": {
  1616. "type": "object",
  1617. "description": "Custom readinessProbe that overrides the default one",
  1618. "default": {}
  1619. },
  1620. "customStartupProbe": {
  1621. "type": "object",
  1622. "description": "Custom startupProbe that overrides the default one",
  1623. "default": {}
  1624. },
  1625. "resourcesPreset": {
  1626. "type": "string",
  1627. "description": "Set orborus container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if orborus.resources is set (orborus.resources is recommended for production).",
  1628. "default": "nano"
  1629. },
  1630. "resources": {
  1631. "type": "object",
  1632. "description": "Set orborus container requests and limits for different resources like CPU or memory (essential for production workloads)",
  1633. "default": {}
  1634. },
  1635. "podSecurityContext": {
  1636. "type": "object",
  1637. "properties": {
  1638. "enabled": {
  1639. "type": "boolean",
  1640. "description": "Enable orborus pods' Security Context",
  1641. "default": true
  1642. },
  1643. "fsGroupChangePolicy": {
  1644. "type": "string",
  1645. "description": "Set filesystem group change policy for orborus pods",
  1646. "default": "Always"
  1647. },
  1648. "sysctls": {
  1649. "type": "array",
  1650. "description": "Set kernel settings using the sysctl interface for orborus pods",
  1651. "default": [],
  1652. "items": {}
  1653. },
  1654. "supplementalGroups": {
  1655. "type": "array",
  1656. "description": "Set filesystem extra groups for orborus pods",
  1657. "default": [],
  1658. "items": {}
  1659. },
  1660. "fsGroup": {
  1661. "type": "number",
  1662. "description": "Set fsGroup in orborus pods' Security Context",
  1663. "default": 1001
  1664. }
  1665. }
  1666. },
  1667. "containerSecurityContext": {
  1668. "type": "object",
  1669. "properties": {
  1670. "enabled": {
  1671. "type": "boolean",
  1672. "description": "Enabled orborus container' Security Context",
  1673. "default": true
  1674. },
  1675. "runAsUser": {
  1676. "type": "number",
  1677. "description": "Set runAsUser in orborus container' Security Context",
  1678. "default": 1001
  1679. },
  1680. "runAsGroup": {
  1681. "type": "number",
  1682. "description": "Set runAsGroup in orborus container' Security Context",
  1683. "default": 1001
  1684. },
  1685. "runAsNonRoot": {
  1686. "type": "boolean",
  1687. "description": "Set runAsNonRoot in orborus container' Security Context",
  1688. "default": true
  1689. },
  1690. "readOnlyRootFilesystem": {
  1691. "type": "boolean",
  1692. "description": "Set readOnlyRootFilesystem in orborus container' Security Context",
  1693. "default": true
  1694. },
  1695. "privileged": {
  1696. "type": "boolean",
  1697. "description": "Set privileged in orborus container' Security Context",
  1698. "default": false
  1699. },
  1700. "allowPrivilegeEscalation": {
  1701. "type": "boolean",
  1702. "description": "Set allowPrivilegeEscalation in orborus container' Security Context",
  1703. "default": false
  1704. },
  1705. "capabilities": {
  1706. "type": "object",
  1707. "properties": {
  1708. "drop": {
  1709. "type": "array",
  1710. "description": "List of capabilities to be dropped in orborus container",
  1711. "default": [
  1712. "ALL"
  1713. ],
  1714. "items": {
  1715. "type": "string"
  1716. }
  1717. }
  1718. }
  1719. },
  1720. "seccompProfile": {
  1721. "type": "object",
  1722. "properties": {
  1723. "type": {
  1724. "type": "string",
  1725. "description": "Set seccomp profile in orborus container",
  1726. "default": "RuntimeDefault"
  1727. }
  1728. }
  1729. }
  1730. }
  1731. },
  1732. "command": {
  1733. "type": "array",
  1734. "description": "Override default orborus container command (useful when using custom images)",
  1735. "default": [],
  1736. "items": {}
  1737. },
  1738. "args": {
  1739. "type": "array",
  1740. "description": "Override default orborus container args (useful when using custom images)",
  1741. "default": [],
  1742. "items": {}
  1743. },
  1744. "automountServiceAccountToken": {
  1745. "type": "boolean",
  1746. "description": "Mount Service Account token in orborus pods",
  1747. "default": true
  1748. },
  1749. "hostAliases": {
  1750. "type": "array",
  1751. "description": "orborus pods host aliases",
  1752. "default": [],
  1753. "items": {}
  1754. },
  1755. "deploymentAnnotations": {
  1756. "type": "object",
  1757. "description": "Annotations for orborus deployment",
  1758. "default": {}
  1759. },
  1760. "podLabels": {
  1761. "type": "object",
  1762. "description": "Extra labels for orborus pods",
  1763. "default": {}
  1764. },
  1765. "podAnnotations": {
  1766. "type": "object",
  1767. "description": "Annotations for orborus pods",
  1768. "default": {}
  1769. },
  1770. "podAffinityPreset": {
  1771. "type": "string",
  1772. "description": "Pod affinity preset. Ignored if `orborus.affinity` is set. Allowed values: `soft` or `hard`",
  1773. "default": ""
  1774. },
  1775. "podAntiAffinityPreset": {
  1776. "type": "string",
  1777. "description": "Pod anti-affinity preset. Ignored if `orborus.affinity` is set. Allowed values: `soft` or `hard`",
  1778. "default": "soft"
  1779. },
  1780. "nodeAffinityPreset": {
  1781. "type": "object",
  1782. "properties": {
  1783. "type": {
  1784. "type": "string",
  1785. "description": "Node affinity preset type. Ignored if `orborus.affinity` is set. Allowed values: `soft` or `hard`",
  1786. "default": ""
  1787. },
  1788. "key": {
  1789. "type": "string",
  1790. "description": "Node label key to match. Ignored if `orborus.affinity` is set",
  1791. "default": ""
  1792. },
  1793. "values": {
  1794. "type": "array",
  1795. "description": "Node label values to match. Ignored if `orborus.affinity` is set",
  1796. "default": [],
  1797. "items": {}
  1798. }
  1799. }
  1800. },
  1801. "affinity": {
  1802. "type": "object",
  1803. "description": "Affinity for orborus pods assignment",
  1804. "default": {}
  1805. },
  1806. "nodeSelector": {
  1807. "type": "object",
  1808. "description": "Node labels for orborus pods assignment",
  1809. "default": {}
  1810. },
  1811. "tolerations": {
  1812. "type": "array",
  1813. "description": "Tolerations for orborus pods assignment",
  1814. "default": [],
  1815. "items": {}
  1816. },
  1817. "updateStrategy": {
  1818. "type": "object",
  1819. "properties": {
  1820. "type": {
  1821. "type": "string",
  1822. "description": "orborus deployment strategy type",
  1823. "default": "RollingUpdate"
  1824. }
  1825. }
  1826. },
  1827. "priorityClassName": {
  1828. "type": "string",
  1829. "description": "orborus pods' priorityClassName",
  1830. "default": ""
  1831. },
  1832. "topologySpreadConstraints": {
  1833. "type": "array",
  1834. "description": "Topology Spread Constraints for orborus pod assignment spread across your cluster among failure-domains",
  1835. "default": [],
  1836. "items": {}
  1837. },
  1838. "schedulerName": {
  1839. "type": "string",
  1840. "description": "Name of the k8s scheduler (other than default) for orborus pods",
  1841. "default": ""
  1842. },
  1843. "terminationGracePeriodSeconds": {
  1844. "type": "string",
  1845. "description": "Seconds orborus pods need to terminate gracefully",
  1846. "default": ""
  1847. },
  1848. "lifecycleHooks": {
  1849. "type": "object",
  1850. "description": "for orborus containers to automate configuration before or after startup",
  1851. "default": {}
  1852. },
  1853. "extraEnvVars": {
  1854. "type": "array",
  1855. "description": "Array with extra environment variables to add to orborus containers",
  1856. "default": [],
  1857. "items": {}
  1858. },
  1859. "extraEnvVarsCM": {
  1860. "type": "string",
  1861. "description": "Name of existing ConfigMap containing extra env vars for orborus containers",
  1862. "default": ""
  1863. },
  1864. "extraEnvVarsSecret": {
  1865. "type": "string",
  1866. "description": "Name of existing Secret containing extra env vars for orborus containers",
  1867. "default": ""
  1868. },
  1869. "extraVolumes": {
  1870. "type": "array",
  1871. "description": "Optionally specify extra list of additional volumes for the orborus pods",
  1872. "default": [],
  1873. "items": {}
  1874. },
  1875. "extraVolumeMounts": {
  1876. "type": "array",
  1877. "description": "Optionally specify extra list of additional volumeMounts for the orborus containers",
  1878. "default": [],
  1879. "items": {}
  1880. },
  1881. "sidecars": {
  1882. "type": "array",
  1883. "description": "Add additional sidecar containers to the orborus pods",
  1884. "default": [],
  1885. "items": {}
  1886. },
  1887. "initContainers": {
  1888. "type": "array",
  1889. "description": "Add additional init containers to the orborus pods",
  1890. "default": [],
  1891. "items": {}
  1892. },
  1893. "pdb": {
  1894. "type": "object",
  1895. "properties": {
  1896. "create": {
  1897. "type": "boolean",
  1898. "description": "Enable/disable a Pod Disruption Budget creation",
  1899. "default": true
  1900. },
  1901. "minAvailable": {
  1902. "type": "string",
  1903. "description": "Minimum number/percentage of pods that should remain scheduled",
  1904. "default": ""
  1905. },
  1906. "maxUnavailable": {
  1907. "type": "string",
  1908. "description": "Maximum number/percentage of pods that may be made unavailable. Defaults to `1` if both `orborus.pdb.minAvailable` and `orborus.pdb.maxUnavailable` are empty.",
  1909. "default": ""
  1910. }
  1911. }
  1912. },
  1913. "autoscaling": {
  1914. "type": "object",
  1915. "properties": {
  1916. "vpa": {
  1917. "type": "object",
  1918. "properties": {
  1919. "enabled": {
  1920. "type": "boolean",
  1921. "description": "Enable VPA for orborus pods",
  1922. "default": false
  1923. },
  1924. "annotations": {
  1925. "type": "object",
  1926. "description": "Annotations for VPA resource",
  1927. "default": {}
  1928. },
  1929. "controlledResources": {
  1930. "type": "array",
  1931. "description": "VPA List of resources that the vertical pod autoscaler can control. Defaults to cpu and memory",
  1932. "default": [],
  1933. "items": {}
  1934. },
  1935. "maxAllowed": {
  1936. "type": "object",
  1937. "description": "VPA Max allowed resources for the pod",
  1938. "default": {}
  1939. },
  1940. "minAllowed": {
  1941. "type": "object",
  1942. "description": "VPA Min allowed resources for the pod",
  1943. "default": {}
  1944. },
  1945. "updatePolicy": {
  1946. "type": "object",
  1947. "properties": {
  1948. "updateMode": {
  1949. "type": "string",
  1950. "description": "Autoscaling update policy",
  1951. "default": "Auto"
  1952. }
  1953. }
  1954. }
  1955. }
  1956. },
  1957. "hpa": {
  1958. "type": "object",
  1959. "properties": {
  1960. "enabled": {
  1961. "type": "boolean",
  1962. "description": "Enable HPA for orborus pods",
  1963. "default": false
  1964. },
  1965. "minReplicas": {
  1966. "type": "string",
  1967. "description": "Minimum number of replicas",
  1968. "default": ""
  1969. },
  1970. "maxReplicas": {
  1971. "type": "string",
  1972. "description": "Maximum number of replicas",
  1973. "default": ""
  1974. },
  1975. "targetCPU": {
  1976. "type": "string",
  1977. "description": "Target CPU utilization percentage",
  1978. "default": ""
  1979. },
  1980. "targetMemory": {
  1981. "type": "string",
  1982. "description": "Target Memory utilization percentage",
  1983. "default": ""
  1984. }
  1985. }
  1986. }
  1987. }
  1988. },
  1989. "serviceAccount": {
  1990. "type": "object",
  1991. "properties": {
  1992. "create": {
  1993. "type": "boolean",
  1994. "description": "Specifies whether a ServiceAccount should be created",
  1995. "default": true
  1996. },
  1997. "name": {
  1998. "type": "string",
  1999. "description": "The name of the ServiceAccount to use.",
  2000. "default": ""
  2001. },
  2002. "annotations": {
  2003. "type": "object",
  2004. "description": "Additional Service Account annotations (evaluated as a template)",
  2005. "default": {}
  2006. },
  2007. "automountServiceAccountToken": {
  2008. "type": "boolean",
  2009. "description": "Automount service account token for the orborus service account",
  2010. "default": true
  2011. },
  2012. "imagePullSecrets": {
  2013. "type": "array",
  2014. "description": "Add image pull secrets to the orborus service account",
  2015. "default": [],
  2016. "items": {}
  2017. }
  2018. }
  2019. },
  2020. "rbac": {
  2021. "type": "object",
  2022. "properties": {
  2023. "create": {
  2024. "type": "boolean",
  2025. "description": "Specifies whether RBAC resources should be created",
  2026. "default": true
  2027. }
  2028. }
  2029. },
  2030. "networkPolicy": {
  2031. "type": "object",
  2032. "properties": {
  2033. "enabled": {
  2034. "type": "boolean",
  2035. "description": "Specifies whether a NetworkPolicy should be created",
  2036. "default": true
  2037. },
  2038. "allowExternal": {
  2039. "type": "boolean",
  2040. "description": "Don't require server label for connections",
  2041. "default": true
  2042. },
  2043. "allowExternalEgress": {
  2044. "type": "boolean",
  2045. "description": "Allow the pod to access any range of port and all destinations.",
  2046. "default": true
  2047. },
  2048. "extraIngress": {
  2049. "type": "array",
  2050. "description": "Add extra ingress rules to the NetworkPolicy",
  2051. "default": [],
  2052. "items": {}
  2053. },
  2054. "extraEgress": {
  2055. "type": "array",
  2056. "description": "Add extra ingress rules to the NetworkPolicy (ignored if allowExternalEgress=true)",
  2057. "default": [],
  2058. "items": {}
  2059. }
  2060. }
  2061. },
  2062. "executionConcurrency": {
  2063. "type": "number",
  2064. "description": "The maximum amount of concurrent workflow executions per worker",
  2065. "default": 25
  2066. },
  2067. "manageWorkerDeployments": {
  2068. "type": "boolean",
  2069. "description": "Whether workers are deployed and managed by orborus. When disabled, every worker is expected to be already deployed (see worker.enableHelmDeployment).",
  2070. "default": true
  2071. }
  2072. }
  2073. },
  2074. "worker": {
  2075. "type": "object",
  2076. "properties": {
  2077. "enableHelmDeployment": {
  2078. "type": "boolean",
  2079. "description": "Deploy worker via helm. By default, workers are deployed by Orborus.",
  2080. "default": false
  2081. },
  2082. "image": {
  2083. "type": "object",
  2084. "properties": {
  2085. "registry": {
  2086. "type": "string",
  2087. "description": "worker image registry",
  2088. "default": "ghcr.io"
  2089. },
  2090. "repository": {
  2091. "type": "string",
  2092. "description": "worker image repository",
  2093. "default": "shuffle/shuffle-worker"
  2094. },
  2095. "tag": {
  2096. "type": "string",
  2097. "description": "worker image tag (immutable tags are recommended, defaults to appVersion)",
  2098. "default": ""
  2099. },
  2100. "digest": {
  2101. "type": "string",
  2102. "description": "worker image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag image tag (immutable tags are recommended)",
  2103. "default": ""
  2104. },
  2105. "pullPolicy": {
  2106. "type": "string",
  2107. "description": "worker image pull policy. Only effective with worker.enableHelmDeployment.",
  2108. "default": "IfNotPresent"
  2109. },
  2110. "pullSecrets": {
  2111. "type": "array",
  2112. "description": "worker image pull secrets. Only effective with worker.enableHelmDeployment.",
  2113. "default": [],
  2114. "items": {}
  2115. }
  2116. }
  2117. },
  2118. "replicaCount": {
  2119. "type": "number",
  2120. "description": "Number of worker replicas to deploy. Only effective with worker.enableHelmDeployment.",
  2121. "default": 1
  2122. },
  2123. "containerPorts": {
  2124. "type": "object",
  2125. "properties": {
  2126. "http": {
  2127. "type": "number",
  2128. "description": "backend HTTP container port",
  2129. "default": 33333
  2130. }
  2131. }
  2132. },
  2133. "extraContainerPorts": {
  2134. "type": "array",
  2135. "description": "Optionally specify extra list of additional ports for worker containers. Only effective with worker.enableHelmDeployment.",
  2136. "default": [],
  2137. "items": {}
  2138. },
  2139. "livenessProbe": {
  2140. "type": "object",
  2141. "properties": {
  2142. "enabled": {
  2143. "type": "boolean",
  2144. "description": "Enable livenessProbe on worker containers. Only effective with worker.enableHelmDeployment.",
  2145. "default": false
  2146. },
  2147. "initialDelaySeconds": {
  2148. "type": "number",
  2149. "description": "Initial delay seconds for livenessProbe",
  2150. "default": 0
  2151. },
  2152. "periodSeconds": {
  2153. "type": "number",
  2154. "description": "Period seconds for livenessProbe",
  2155. "default": 15
  2156. },
  2157. "timeoutSeconds": {
  2158. "type": "number",
  2159. "description": "Timeout seconds for livenessProbe",
  2160. "default": 1
  2161. },
  2162. "failureThreshold": {
  2163. "type": "number",
  2164. "description": "Failure threshold for livenessProbe",
  2165. "default": 4
  2166. },
  2167. "successThreshold": {
  2168. "type": "number",
  2169. "description": "Success threshold for livenessProbe",
  2170. "default": 1
  2171. }
  2172. }
  2173. },
  2174. "readinessProbe": {
  2175. "type": "object",
  2176. "properties": {
  2177. "enabled": {
  2178. "type": "boolean",
  2179. "description": "Enable readinessProbe on worker containers. Only effective with worker.enableHelmDeployment.",
  2180. "default": false
  2181. },
  2182. "initialDelaySeconds": {
  2183. "type": "number",
  2184. "description": "Initial delay seconds for readinessProbe",
  2185. "default": 0
  2186. },
  2187. "periodSeconds": {
  2188. "type": "number",
  2189. "description": "Period seconds for readinessProbe",
  2190. "default": 5
  2191. },
  2192. "timeoutSeconds": {
  2193. "type": "number",
  2194. "description": "Timeout seconds for readinessProbe",
  2195. "default": 1
  2196. },
  2197. "failureThreshold": {
  2198. "type": "number",
  2199. "description": "Failure threshold for readinessProbe",
  2200. "default": 3
  2201. },
  2202. "successThreshold": {
  2203. "type": "number",
  2204. "description": "Success threshold for readinessProbe",
  2205. "default": 1
  2206. }
  2207. }
  2208. },
  2209. "startupProbe": {
  2210. "type": "object",
  2211. "properties": {
  2212. "enabled": {
  2213. "type": "boolean",
  2214. "description": "Enable startupProbe on worker containers. Only effective with worker.enableHelmDeployment.",
  2215. "default": false
  2216. },
  2217. "initialDelaySeconds": {
  2218. "type": "number",
  2219. "description": "Initial delay seconds for startupProbe",
  2220. "default": 0
  2221. },
  2222. "periodSeconds": {
  2223. "type": "number",
  2224. "description": "Period seconds for startupProbe",
  2225. "default": 1
  2226. },
  2227. "timeoutSeconds": {
  2228. "type": "number",
  2229. "description": "Timeout seconds for startupProbe",
  2230. "default": 1
  2231. },
  2232. "failureThreshold": {
  2233. "type": "number",
  2234. "description": "Failure threshold for startupProbe",
  2235. "default": 60
  2236. },
  2237. "successThreshold": {
  2238. "type": "number",
  2239. "description": "Success threshold for startupProbe",
  2240. "default": 1
  2241. }
  2242. }
  2243. },
  2244. "customLivenessProbe": {
  2245. "type": "object",
  2246. "description": "Custom livenessProbe that overrides the default one. Only effective with worker.enableHelmDeployment.",
  2247. "default": {}
  2248. },
  2249. "customReadinessProbe": {
  2250. "type": "object",
  2251. "description": "Custom readinessProbe that overrides the default one. Only effective with worker.enableHelmDeployment.",
  2252. "default": {}
  2253. },
  2254. "customStartupProbe": {
  2255. "type": "object",
  2256. "description": "Custom startupProbe that overrides the default one. Only effective with worker.enableHelmDeployment.",
  2257. "default": {}
  2258. },
  2259. "resourcesPreset": {
  2260. "type": "string",
  2261. "description": "Set worker container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if worker.resources is set (worker.resources is recommended for production).",
  2262. "default": "nano"
  2263. },
  2264. "resources": {
  2265. "type": "object",
  2266. "description": "Set worker container requests and limits for different resources like CPU or memory (essential for production workloads)",
  2267. "default": {}
  2268. },
  2269. "podSecurityContext": {
  2270. "type": "object",
  2271. "properties": {
  2272. "enabled": {
  2273. "type": "boolean",
  2274. "description": "Enable worker pods' Security Context",
  2275. "default": true
  2276. },
  2277. "fsGroupChangePolicy": {
  2278. "type": "string",
  2279. "description": "Set filesystem group change policy for worker pods",
  2280. "default": "Always"
  2281. },
  2282. "sysctls": {
  2283. "type": "array",
  2284. "description": "Set kernel settings using the sysctl interface for worker pods",
  2285. "default": [],
  2286. "items": {}
  2287. },
  2288. "supplementalGroups": {
  2289. "type": "array",
  2290. "description": "Set filesystem extra groups for worker pods",
  2291. "default": [],
  2292. "items": {}
  2293. },
  2294. "fsGroup": {
  2295. "type": "number",
  2296. "description": "Set fsGroup in worker pods' Security Context",
  2297. "default": 1001
  2298. }
  2299. }
  2300. },
  2301. "containerSecurityContext": {
  2302. "type": "object",
  2303. "properties": {
  2304. "enabled": {
  2305. "type": "boolean",
  2306. "description": "Enabled worker container' Security Context",
  2307. "default": true
  2308. },
  2309. "runAsUser": {
  2310. "type": "number",
  2311. "description": "Set runAsUser in worker container' Security Context",
  2312. "default": 1001
  2313. },
  2314. "runAsGroup": {
  2315. "type": "number",
  2316. "description": "Set runAsGroup in worker container' Security Context",
  2317. "default": 1001
  2318. },
  2319. "runAsNonRoot": {
  2320. "type": "boolean",
  2321. "description": "Set runAsNonRoot in worker container' Security Context",
  2322. "default": true
  2323. },
  2324. "readOnlyRootFilesystem": {
  2325. "type": "boolean",
  2326. "description": "Set readOnlyRootFilesystem in worker container' Security Context",
  2327. "default": true
  2328. },
  2329. "privileged": {
  2330. "type": "boolean",
  2331. "description": "Set privileged in worker container' Security Context",
  2332. "default": false
  2333. },
  2334. "allowPrivilegeEscalation": {
  2335. "type": "boolean",
  2336. "description": "Set allowPrivilegeEscalation in worker container' Security Context",
  2337. "default": false
  2338. },
  2339. "capabilities": {
  2340. "type": "object",
  2341. "properties": {
  2342. "drop": {
  2343. "type": "array",
  2344. "description": "List of capabilities to be dropped in worker container",
  2345. "default": [
  2346. "ALL"
  2347. ],
  2348. "items": {
  2349. "type": "string"
  2350. }
  2351. }
  2352. }
  2353. },
  2354. "seccompProfile": {
  2355. "type": "object",
  2356. "properties": {
  2357. "type": {
  2358. "type": "string",
  2359. "description": "Set seccomp profile in worker container",
  2360. "default": "RuntimeDefault"
  2361. }
  2362. }
  2363. }
  2364. }
  2365. },
  2366. "command": {
  2367. "type": "array",
  2368. "description": "Override default worker container command (useful when using custom images). Only effective with worker.enableHelmDeployment.",
  2369. "default": [],
  2370. "items": {}
  2371. },
  2372. "args": {
  2373. "type": "array",
  2374. "description": "Override default worker container args (useful when using custom images). Only effective with worker.enableHelmDeployment.",
  2375. "default": [],
  2376. "items": {}
  2377. },
  2378. "automountServiceAccountToken": {
  2379. "type": "boolean",
  2380. "description": "Mount Service Account token in worker pods. Only effective with worker.enableHelmDeployment.",
  2381. "default": true
  2382. },
  2383. "hostAliases": {
  2384. "type": "array",
  2385. "description": "worker pods host aliases. Only effective with worker.enableHelmDeployment.",
  2386. "default": [],
  2387. "items": {}
  2388. },
  2389. "deploymentAnnotations": {
  2390. "type": "object",
  2391. "description": "Annotations for worker deployment. Only effective with worker.enableHelmDeployment.",
  2392. "default": {}
  2393. },
  2394. "podLabels": {
  2395. "type": "object",
  2396. "description": "Extra labels for worker pods. Only effective with worker.enableHelmDeployment.",
  2397. "default": {}
  2398. },
  2399. "podAnnotations": {
  2400. "type": "object",
  2401. "description": "Annotations for worker pods. Only effective with worker.enableHelmDeployment.",
  2402. "default": {}
  2403. },
  2404. "podAffinityPreset": {
  2405. "type": "string",
  2406. "description": "Pod affinity preset. Ignored if `worker.affinity` is set. Allowed values: `soft` or `hard`. Only effective with worker.enableHelmDeployment.",
  2407. "default": ""
  2408. },
  2409. "podAntiAffinityPreset": {
  2410. "type": "string",
  2411. "description": "Pod anti-affinity preset. Ignored if `worker.affinity` is set. Allowed values: `soft` or `hard`. Only effective with worker.enableHelmDeployment.",
  2412. "default": "soft"
  2413. },
  2414. "nodeAffinityPreset": {
  2415. "type": "object",
  2416. "properties": {
  2417. "type": {
  2418. "type": "string",
  2419. "description": "Node affinity preset type. Ignored if `worker.affinity` is set. Allowed values: `soft` or `hard`. Only effective with worker.enableHelmDeployment.",
  2420. "default": ""
  2421. },
  2422. "key": {
  2423. "type": "string",
  2424. "description": "Node label key to match. Ignored if `worker.affinity` is set",
  2425. "default": ""
  2426. },
  2427. "values": {
  2428. "type": "array",
  2429. "description": "Node label values to match. Ignored if `worker.affinity` is set",
  2430. "default": [],
  2431. "items": {}
  2432. }
  2433. }
  2434. },
  2435. "affinity": {
  2436. "type": "object",
  2437. "description": "Affinity for worker pods assignment. Only effective with worker.enableHelmDeployment.",
  2438. "default": {}
  2439. },
  2440. "nodeSelector": {
  2441. "type": "object",
  2442. "description": "Node labels for worker pods assignment. Only effective with worker.enableHelmDeployment.",
  2443. "default": {}
  2444. },
  2445. "tolerations": {
  2446. "type": "array",
  2447. "description": "Tolerations for worker pods assignment. Only effective with worker.enableHelmDeployment.",
  2448. "default": [],
  2449. "items": {}
  2450. },
  2451. "updateStrategy": {
  2452. "type": "object",
  2453. "properties": {
  2454. "type": {
  2455. "type": "string",
  2456. "description": "worker deployment strategy type. Only effective with worker.enableHelmDeployment.",
  2457. "default": "RollingUpdate"
  2458. }
  2459. }
  2460. },
  2461. "priorityClassName": {
  2462. "type": "string",
  2463. "description": "worker pods' priorityClassName. Only effective with worker.enableHelmDeployment.",
  2464. "default": ""
  2465. },
  2466. "topologySpreadConstraints": {
  2467. "type": "array",
  2468. "description": "Topology Spread Constraints for worker pod assignment spread across your cluster among failure-domains. Only effective with worker.enableHelmDeployment.",
  2469. "default": [],
  2470. "items": {}
  2471. },
  2472. "schedulerName": {
  2473. "type": "string",
  2474. "description": "Name of the k8s scheduler (other than default) for worker pods. Only effective with worker.enableHelmDeployment.",
  2475. "default": ""
  2476. },
  2477. "terminationGracePeriodSeconds": {
  2478. "type": "string",
  2479. "description": "Seconds worker pods need to terminate gracefully. Only effective with worker.enableHelmDeployment.",
  2480. "default": ""
  2481. },
  2482. "lifecycleHooks": {
  2483. "type": "object",
  2484. "description": "for worker containers to automate configuration before or after startup. Only effective with worker.enableHelmDeployment.",
  2485. "default": {}
  2486. },
  2487. "extraEnvVars": {
  2488. "type": "array",
  2489. "description": "Array with extra environment variables to add to worker containers. Only effective with worker.enableHelmDeployment.",
  2490. "default": [],
  2491. "items": {}
  2492. },
  2493. "extraEnvVarsCM": {
  2494. "type": "string",
  2495. "description": "Name of existing ConfigMap containing extra env vars for worker containers. Only effective with worker.enableHelmDeployment.",
  2496. "default": ""
  2497. },
  2498. "extraEnvVarsSecret": {
  2499. "type": "string",
  2500. "description": "Name of existing Secret containing extra env vars for worker containers. Only effective with worker.enableHelmDeployment.",
  2501. "default": ""
  2502. },
  2503. "extraVolumes": {
  2504. "type": "array",
  2505. "description": "Optionally specify extra list of additional volumes for the worker pods. Only effective with worker.enableHelmDeployment.",
  2506. "default": [],
  2507. "items": {}
  2508. },
  2509. "extraVolumeMounts": {
  2510. "type": "array",
  2511. "description": "Optionally specify extra list of additional volumeMounts for the worker containers. Only effective with worker.enableHelmDeployment.",
  2512. "default": [],
  2513. "items": {}
  2514. },
  2515. "sidecars": {
  2516. "type": "array",
  2517. "description": "Add additional sidecar containers to the worker pods. Only effective with worker.enableHelmDeployment.",
  2518. "default": [],
  2519. "items": {}
  2520. },
  2521. "initContainers": {
  2522. "type": "array",
  2523. "description": "Add additional init containers to the worker pods. Only effective with worker.enableHelmDeployment.",
  2524. "default": [],
  2525. "items": {}
  2526. },
  2527. "pdb": {
  2528. "type": "object",
  2529. "properties": {
  2530. "create": {
  2531. "type": "boolean",
  2532. "description": "Enable/disable a Pod Disruption Budget creation. Only effective with worker.enableHelmDeployment.",
  2533. "default": true
  2534. },
  2535. "minAvailable": {
  2536. "type": "string",
  2537. "description": "Minimum number/percentage of pods that should remain scheduled",
  2538. "default": ""
  2539. },
  2540. "maxUnavailable": {
  2541. "type": "string",
  2542. "description": "Maximum number/percentage of pods that may be made unavailable. Defaults to `1` if both `worker.pdb.minAvailable` and `worker.pdb.maxUnavailable` are empty.",
  2543. "default": ""
  2544. }
  2545. }
  2546. },
  2547. "autoscaling": {
  2548. "type": "object",
  2549. "properties": {
  2550. "vpa": {
  2551. "type": "object",
  2552. "properties": {
  2553. "enabled": {
  2554. "type": "boolean",
  2555. "description": "Enable VPA for worker pods. Only effective with worker.enableHelmDeployment.",
  2556. "default": false
  2557. },
  2558. "annotations": {
  2559. "type": "object",
  2560. "description": "Annotations for VPA resource",
  2561. "default": {}
  2562. },
  2563. "controlledResources": {
  2564. "type": "array",
  2565. "description": "VPA List of resources that the vertical pod autoscaler can control. Defaults to cpu and memory",
  2566. "default": [],
  2567. "items": {}
  2568. },
  2569. "maxAllowed": {
  2570. "type": "object",
  2571. "description": "VPA Max allowed resources for the pod",
  2572. "default": {}
  2573. },
  2574. "minAllowed": {
  2575. "type": "object",
  2576. "description": "VPA Min allowed resources for the pod",
  2577. "default": {}
  2578. },
  2579. "updatePolicy": {
  2580. "type": "object",
  2581. "properties": {
  2582. "updateMode": {
  2583. "type": "string",
  2584. "description": "Autoscaling update policy",
  2585. "default": "Auto"
  2586. }
  2587. }
  2588. }
  2589. }
  2590. },
  2591. "hpa": {
  2592. "type": "object",
  2593. "properties": {
  2594. "enabled": {
  2595. "type": "boolean",
  2596. "description": "Enable HPA for worker pods. Only effective with worker.enableHelmDeployment.",
  2597. "default": false
  2598. },
  2599. "minReplicas": {
  2600. "type": "string",
  2601. "description": "Minimum number of replicas",
  2602. "default": ""
  2603. },
  2604. "maxReplicas": {
  2605. "type": "string",
  2606. "description": "Maximum number of replicas",
  2607. "default": ""
  2608. },
  2609. "targetCPU": {
  2610. "type": "string",
  2611. "description": "Target CPU utilization percentage",
  2612. "default": ""
  2613. },
  2614. "targetMemory": {
  2615. "type": "string",
  2616. "description": "Target Memory utilization percentage",
  2617. "default": ""
  2618. }
  2619. }
  2620. }
  2621. }
  2622. },
  2623. "service": {
  2624. "type": "object",
  2625. "properties": {
  2626. "labels": {
  2627. "type": "object",
  2628. "description": "Extra labels for worker service. Only effective with worker.enableHelmDeployment.",
  2629. "default": {}
  2630. }
  2631. }
  2632. },
  2633. "serviceAccount": {
  2634. "type": "object",
  2635. "properties": {
  2636. "create": {
  2637. "type": "boolean",
  2638. "description": "Specifies whether a ServiceAccount should be created",
  2639. "default": true
  2640. },
  2641. "name": {
  2642. "type": "string",
  2643. "description": "The name of the ServiceAccount to use.",
  2644. "default": ""
  2645. },
  2646. "annotations": {
  2647. "type": "object",
  2648. "description": "Additional Service Account annotations (evaluated as a template)",
  2649. "default": {}
  2650. },
  2651. "automountServiceAccountToken": {
  2652. "type": "boolean",
  2653. "description": "Automount service account token for the worker service account",
  2654. "default": true
  2655. },
  2656. "imagePullSecrets": {
  2657. "type": "array",
  2658. "description": "Add image pull secrets to the worker service account",
  2659. "default": [],
  2660. "items": {}
  2661. }
  2662. }
  2663. },
  2664. "rbac": {
  2665. "type": "object",
  2666. "properties": {
  2667. "create": {
  2668. "type": "boolean",
  2669. "description": "Specifies whether RBAC resources should be created",
  2670. "default": true
  2671. }
  2672. }
  2673. },
  2674. "networkPolicy": {
  2675. "type": "object",
  2676. "properties": {
  2677. "enabled": {
  2678. "type": "boolean",
  2679. "description": "Specifies whether a NetworkPolicy should be created",
  2680. "default": true
  2681. },
  2682. "allowExternal": {
  2683. "type": "boolean",
  2684. "description": "Don't require server label for connections",
  2685. "default": true
  2686. },
  2687. "allowExternalEgress": {
  2688. "type": "boolean",
  2689. "description": "Allow the pod to access any range of port and all destinations.",
  2690. "default": true
  2691. },
  2692. "extraIngress": {
  2693. "type": "array",
  2694. "description": "Add extra ingress rules to the NetworkPolicy",
  2695. "default": [],
  2696. "items": {}
  2697. },
  2698. "extraEgress": {
  2699. "type": "array",
  2700. "description": "Add extra ingress rules to the NetworkPolicy (ignored if allowExternalEgress=true)",
  2701. "default": [],
  2702. "items": {}
  2703. }
  2704. }
  2705. },
  2706. "manageAppDeployments": {
  2707. "type": "boolean",
  2708. "description": "Whether apps are deployed and managed by worker. When disabled, every used app is expected to to be already deployed (see apps.enabled).",
  2709. "default": true
  2710. }
  2711. }
  2712. },
  2713. "app": {
  2714. "type": "object",
  2715. "properties": {
  2716. "image": {
  2717. "type": "object",
  2718. "properties": {
  2719. "registry": {
  2720. "type": "string",
  2721. "description": "app image registry (defaults to shuffle.appRegistry)",
  2722. "default": ""
  2723. },
  2724. "repository": {
  2725. "type": "string",
  2726. "description": "app image repository (defaults to shuffle.appBaseImageName)",
  2727. "default": ""
  2728. },
  2729. "tag": {
  2730. "type": "string",
  2731. "description": "app image tag (defaults to the apps version)",
  2732. "default": ""
  2733. },
  2734. "pullPolicy": {
  2735. "type": "string",
  2736. "description": "default image pull policy for app deployments. Only effective for helm-deployed apps (see apps.enabled).",
  2737. "default": "IfNotPresent"
  2738. },
  2739. "pullSecrets": {
  2740. "type": "array",
  2741. "description": "default image pull secrets for app deployments. Only effective for helm-deployed apps (see apps.enabled).",
  2742. "default": [],
  2743. "items": {}
  2744. }
  2745. }
  2746. },
  2747. "replicaCount": {
  2748. "type": "number",
  2749. "description": "Default number of replicas to deploy for each app. Only effective for helm-deployed apps (see apps.enabled).",
  2750. "default": 1
  2751. },
  2752. "extraContainerPorts": {
  2753. "type": "array",
  2754. "description": "Optionally specify extra list of additional ports for app containers. Only effective for helm-deployed apps (see apps.enabled).",
  2755. "default": [],
  2756. "items": {}
  2757. },
  2758. "livenessProbe": {
  2759. "type": "object",
  2760. "properties": {
  2761. "enabled": {
  2762. "type": "boolean",
  2763. "description": "Enable livenessProbe on app containers. Only effective for helm-deployed apps (see apps.enabled).",
  2764. "default": false
  2765. },
  2766. "initialDelaySeconds": {
  2767. "type": "number",
  2768. "description": "Initial delay seconds for livenessProbe",
  2769. "default": 0
  2770. },
  2771. "periodSeconds": {
  2772. "type": "number",
  2773. "description": "Period seconds for livenessProbe",
  2774. "default": 15
  2775. },
  2776. "timeoutSeconds": {
  2777. "type": "number",
  2778. "description": "Timeout seconds for livenessProbe",
  2779. "default": 1
  2780. },
  2781. "failureThreshold": {
  2782. "type": "number",
  2783. "description": "Failure threshold for livenessProbe",
  2784. "default": 4
  2785. },
  2786. "successThreshold": {
  2787. "type": "number",
  2788. "description": "Success threshold for livenessProbe",
  2789. "default": 1
  2790. }
  2791. }
  2792. },
  2793. "readinessProbe": {
  2794. "type": "object",
  2795. "properties": {
  2796. "enabled": {
  2797. "type": "boolean",
  2798. "description": "Enable readinessProbe on app containers. Only effective for helm-deployed apps (see apps.enabled).",
  2799. "default": false
  2800. },
  2801. "initialDelaySeconds": {
  2802. "type": "number",
  2803. "description": "Initial delay seconds for readinessProbe",
  2804. "default": 0
  2805. },
  2806. "periodSeconds": {
  2807. "type": "number",
  2808. "description": "Period seconds for readinessProbe",
  2809. "default": 5
  2810. },
  2811. "timeoutSeconds": {
  2812. "type": "number",
  2813. "description": "Timeout seconds for readinessProbe",
  2814. "default": 1
  2815. },
  2816. "failureThreshold": {
  2817. "type": "number",
  2818. "description": "Failure threshold for readinessProbe",
  2819. "default": 3
  2820. },
  2821. "successThreshold": {
  2822. "type": "number",
  2823. "description": "Success threshold for readinessProbe",
  2824. "default": 1
  2825. }
  2826. }
  2827. },
  2828. "startupProbe": {
  2829. "type": "object",
  2830. "properties": {
  2831. "enabled": {
  2832. "type": "boolean",
  2833. "description": "Enable startupProbe on app containers. Only effective for helm-deployed apps (see apps.enabled).",
  2834. "default": false
  2835. },
  2836. "initialDelaySeconds": {
  2837. "type": "number",
  2838. "description": "Initial delay seconds for startupProbe",
  2839. "default": 0
  2840. },
  2841. "periodSeconds": {
  2842. "type": "number",
  2843. "description": "Period seconds for startupProbe",
  2844. "default": 1
  2845. },
  2846. "timeoutSeconds": {
  2847. "type": "number",
  2848. "description": "Timeout seconds for startupProbe",
  2849. "default": 1
  2850. },
  2851. "failureThreshold": {
  2852. "type": "number",
  2853. "description": "Failure threshold for startupProbe",
  2854. "default": 60
  2855. },
  2856. "successThreshold": {
  2857. "type": "number",
  2858. "description": "Success threshold for startupProbe",
  2859. "default": 1
  2860. }
  2861. }
  2862. },
  2863. "customLivenessProbe": {
  2864. "type": "object",
  2865. "description": "Custom livenessProbe that overrides the default one. Only effective for helm-deployed apps (see apps.enabled).",
  2866. "default": {}
  2867. },
  2868. "customReadinessProbe": {
  2869. "type": "object",
  2870. "description": "Custom readinessProbe that overrides the default one. Only effective for helm-deployed apps (see apps.enabled).",
  2871. "default": {}
  2872. },
  2873. "customStartupProbe": {
  2874. "type": "object",
  2875. "description": "Custom startupProbe that overrides the default one. Only effective for helm-deployed apps (see apps.enabled).",
  2876. "default": {}
  2877. },
  2878. "resourcesPreset": {
  2879. "type": "string",
  2880. "description": "Set app container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if app.resources is set (app.resources is recommended for production).",
  2881. "default": "nano"
  2882. },
  2883. "resources": {
  2884. "type": "object",
  2885. "description": "Set app container requests and limits for different resources like CPU or memory (essential for production workloads)",
  2886. "default": {}
  2887. },
  2888. "podSecurityContext": {
  2889. "type": "object",
  2890. "properties": {
  2891. "enabled": {
  2892. "type": "boolean",
  2893. "description": "Enable app pods' Security Context",
  2894. "default": true
  2895. },
  2896. "fsGroupChangePolicy": {
  2897. "type": "string",
  2898. "description": "Set filesystem group change policy for app pods",
  2899. "default": "Always"
  2900. },
  2901. "sysctls": {
  2902. "type": "array",
  2903. "description": "Set kernel settings using the sysctl interface for app pods",
  2904. "default": [],
  2905. "items": {}
  2906. },
  2907. "supplementalGroups": {
  2908. "type": "array",
  2909. "description": "Set filesystem extra groups for app pods",
  2910. "default": [],
  2911. "items": {}
  2912. },
  2913. "fsGroup": {
  2914. "type": "number",
  2915. "description": "Set fsGroup in app pods' Security Context",
  2916. "default": 1001
  2917. }
  2918. }
  2919. },
  2920. "containerSecurityContext": {
  2921. "type": "object",
  2922. "properties": {
  2923. "enabled": {
  2924. "type": "boolean",
  2925. "description": "Enabled app container' Security Context",
  2926. "default": true
  2927. },
  2928. "runAsUser": {
  2929. "type": "number",
  2930. "description": "Set runAsUser in app container' Security Context",
  2931. "default": 1001
  2932. },
  2933. "runAsGroup": {
  2934. "type": "number",
  2935. "description": "Set runAsGroup in app container' Security Context",
  2936. "default": 1001
  2937. },
  2938. "runAsNonRoot": {
  2939. "type": "boolean",
  2940. "description": "Set runAsNonRoot in app container' Security Context",
  2941. "default": true
  2942. },
  2943. "readOnlyRootFilesystem": {
  2944. "type": "boolean",
  2945. "description": "Set readOnlyRootFilesystem in app container' Security Context",
  2946. "default": true
  2947. },
  2948. "privileged": {
  2949. "type": "boolean",
  2950. "description": "Set privileged in app container' Security Context",
  2951. "default": false
  2952. },
  2953. "allowPrivilegeEscalation": {
  2954. "type": "boolean",
  2955. "description": "Set allowPrivilegeEscalation in app container' Security Context",
  2956. "default": false
  2957. },
  2958. "capabilities": {
  2959. "type": "object",
  2960. "properties": {
  2961. "drop": {
  2962. "type": "array",
  2963. "description": "List of capabilities to be dropped in app container",
  2964. "default": [
  2965. "ALL"
  2966. ],
  2967. "items": {
  2968. "type": "string"
  2969. }
  2970. }
  2971. }
  2972. },
  2973. "seccompProfile": {
  2974. "type": "object",
  2975. "properties": {
  2976. "type": {
  2977. "type": "string",
  2978. "description": "Set seccomp profile in app container",
  2979. "default": "RuntimeDefault"
  2980. }
  2981. }
  2982. }
  2983. }
  2984. },
  2985. "command": {
  2986. "type": "array",
  2987. "description": "Override default app container command (useful when using custom images)",
  2988. "default": [],
  2989. "items": {}
  2990. },
  2991. "args": {
  2992. "type": "array",
  2993. "description": "Override default app container args (useful when using custom images)",
  2994. "default": [],
  2995. "items": {}
  2996. },
  2997. "automountServiceAccountToken": {
  2998. "type": "boolean",
  2999. "description": "Mount Service Account token in app pods. Only effective for helm-deployed apps (see apps.enabled).",
  3000. "default": false
  3001. },
  3002. "hostAliases": {
  3003. "type": "array",
  3004. "description": "app pods host aliases. Only effective for helm-deployed apps (see apps.enabled).",
  3005. "default": [],
  3006. "items": {}
  3007. },
  3008. "deploymentAnnotations": {
  3009. "type": "object",
  3010. "description": "Annotations for app deployment. Only effective for helm-deployed apps (see apps.enabled).",
  3011. "default": {}
  3012. },
  3013. "podLabels": {
  3014. "type": "object",
  3015. "description": "Extra labels for app pods. Only effective for helm-deployed apps (see apps.enabled).",
  3016. "default": {}
  3017. },
  3018. "podAnnotations": {
  3019. "type": "object",
  3020. "description": "Annotations for app pods. Only effective for helm-deployed apps (see apps.enabled).",
  3021. "default": {}
  3022. },
  3023. "podAffinityPreset": {
  3024. "type": "string",
  3025. "description": "Pod affinity preset. Ignored if `app.affinity` is set. Allowed values: `soft` or `hard`. Only effective for helm-deployed apps (see apps.enabled).",
  3026. "default": ""
  3027. },
  3028. "podAntiAffinityPreset": {
  3029. "type": "string",
  3030. "description": "Pod anti-affinity preset. Ignored if `app.affinity` is set. Allowed values: `soft` or `hard`. Only effective for helm-deployed apps (see apps.enabled).",
  3031. "default": "soft"
  3032. },
  3033. "nodeAffinityPreset": {
  3034. "type": "object",
  3035. "properties": {
  3036. "type": {
  3037. "type": "string",
  3038. "description": "Node affinity preset type. Ignored if `app.affinity` is set. Allowed values: `soft` or `hard`. Only effective for helm-deployed apps (see apps.enabled).",
  3039. "default": ""
  3040. },
  3041. "key": {
  3042. "type": "string",
  3043. "description": "Node label key to match. Ignored if `app.affinity` is set",
  3044. "default": ""
  3045. },
  3046. "values": {
  3047. "type": "array",
  3048. "description": "Node label values to match. Ignored if `app.affinity` is set",
  3049. "default": [],
  3050. "items": {}
  3051. }
  3052. }
  3053. },
  3054. "affinity": {
  3055. "type": "object",
  3056. "description": "Affinity for app pods assignment. Only effective for helm-deployed apps (see apps.enabled).",
  3057. "default": {}
  3058. },
  3059. "nodeSelector": {
  3060. "type": "object",
  3061. "description": "Node labels for app pods assignment. Only effective for helm-deployed apps (see apps.enabled).",
  3062. "default": {}
  3063. },
  3064. "tolerations": {
  3065. "type": "array",
  3066. "description": "Tolerations for app pods assignment. Only effective for helm-deployed apps (see apps.enabled).",
  3067. "default": [],
  3068. "items": {}
  3069. },
  3070. "updateStrategy": {
  3071. "type": "object",
  3072. "properties": {
  3073. "type": {
  3074. "type": "string",
  3075. "description": "app deployment strategy type. Only effective for helm-deployed apps (see apps.enabled).",
  3076. "default": "RollingUpdate"
  3077. }
  3078. }
  3079. },
  3080. "priorityClassName": {
  3081. "type": "string",
  3082. "description": "app pods' priorityClassName. Only effective for helm-deployed apps (see apps.enabled).",
  3083. "default": ""
  3084. },
  3085. "topologySpreadConstraints": {
  3086. "type": "array",
  3087. "description": "Topology Spread Constraints for app pod assignment spread across your cluster among failure-domains. Only effective for helm-deployed apps (see apps.enabled).",
  3088. "default": [],
  3089. "items": {}
  3090. },
  3091. "schedulerName": {
  3092. "type": "string",
  3093. "description": "Name of the k8s scheduler (other than default) for app pods. Only effective for helm-deployed apps (see apps.enabled).",
  3094. "default": ""
  3095. },
  3096. "terminationGracePeriodSeconds": {
  3097. "type": "string",
  3098. "description": "Seconds app pods need to terminate gracefully. Only effective for helm-deployed apps (see apps.enabled).",
  3099. "default": ""
  3100. },
  3101. "lifecycleHooks": {
  3102. "type": "object",
  3103. "description": "for app containers to automate configuration before or after startup. Only effective for helm-deployed apps (see apps.enabled).",
  3104. "default": {}
  3105. },
  3106. "extraEnvVars": {
  3107. "type": "array",
  3108. "description": "Array with extra environment variables to add to app containers. Only effective for helm-deployed apps (see apps.enabled).",
  3109. "default": [],
  3110. "items": {}
  3111. },
  3112. "extraEnvVarsCM": {
  3113. "type": "string",
  3114. "description": "Name of existing ConfigMap containing extra env vars for app containers. Only effective for helm-deployed apps (see apps.enabled).",
  3115. "default": ""
  3116. },
  3117. "extraEnvVarsSecret": {
  3118. "type": "string",
  3119. "description": "Name of existing Secret containing extra env vars for app containers. Only effective for helm-deployed apps (see apps.enabled).",
  3120. "default": ""
  3121. },
  3122. "extraVolumes": {
  3123. "type": "array",
  3124. "description": "Optionally specify extra list of additional volumes for the app pods. Only effective for helm-deployed apps (see apps.enabled).",
  3125. "default": [],
  3126. "items": {}
  3127. },
  3128. "extraVolumeMounts": {
  3129. "type": "array",
  3130. "description": "Optionally specify extra list of additional volumeMounts for the app containers. Only effective for helm-deployed apps (see apps.enabled).",
  3131. "default": [],
  3132. "items": {}
  3133. },
  3134. "sidecars": {
  3135. "type": "array",
  3136. "description": "Add additional sidecar containers to the app pods. Only effective for helm-deployed apps (see apps.enabled).",
  3137. "default": [],
  3138. "items": {}
  3139. },
  3140. "initContainers": {
  3141. "type": "array",
  3142. "description": "Add additional init containers to the app pods. Only effective for helm-deployed apps (see apps.enabled).",
  3143. "default": [],
  3144. "items": {}
  3145. },
  3146. "pdb": {
  3147. "type": "object",
  3148. "properties": {
  3149. "create": {
  3150. "type": "boolean",
  3151. "description": "Enable/disable a Pod Disruption Budget creation. Only effective for helm-deployed apps (see apps.enabled).",
  3152. "default": true
  3153. },
  3154. "minAvailable": {
  3155. "type": "string",
  3156. "description": "Minimum number/percentage of pods that should remain scheduled",
  3157. "default": ""
  3158. },
  3159. "maxUnavailable": {
  3160. "type": "string",
  3161. "description": "Maximum number/percentage of pods that may be made unavailable. Defaults to `1` if both `app.pdb.minAvailable` and `app.pdb.maxUnavailable` are empty.",
  3162. "default": ""
  3163. }
  3164. }
  3165. },
  3166. "autoscaling": {
  3167. "type": "object",
  3168. "properties": {
  3169. "vpa": {
  3170. "type": "object",
  3171. "properties": {
  3172. "enabled": {
  3173. "type": "boolean",
  3174. "description": "Enable VPA for app pods. Only effective for helm-deployed apps (see apps.enabled).",
  3175. "default": false
  3176. },
  3177. "annotations": {
  3178. "type": "object",
  3179. "description": "Annotations for VPA resource",
  3180. "default": {}
  3181. },
  3182. "controlledResources": {
  3183. "type": "array",
  3184. "description": "VPA List of resources that the vertical pod autoscaler can control. Defaults to cpu and memory",
  3185. "default": [],
  3186. "items": {}
  3187. },
  3188. "maxAllowed": {
  3189. "type": "object",
  3190. "description": "VPA Max allowed resources for the pod",
  3191. "default": {}
  3192. },
  3193. "minAllowed": {
  3194. "type": "object",
  3195. "description": "VPA Min allowed resources for the pod",
  3196. "default": {}
  3197. },
  3198. "updatePolicy": {
  3199. "type": "object",
  3200. "properties": {
  3201. "updateMode": {
  3202. "type": "string",
  3203. "description": "Autoscaling update policy",
  3204. "default": "Auto"
  3205. }
  3206. }
  3207. }
  3208. }
  3209. },
  3210. "hpa": {
  3211. "type": "object",
  3212. "properties": {
  3213. "enabled": {
  3214. "type": "boolean",
  3215. "description": "Enable HPA for app pods. Only effective for helm-deployed apps (see apps.enabled).",
  3216. "default": false
  3217. },
  3218. "minReplicas": {
  3219. "type": "string",
  3220. "description": "Minimum number of replicas",
  3221. "default": ""
  3222. },
  3223. "maxReplicas": {
  3224. "type": "string",
  3225. "description": "Maximum number of replicas",
  3226. "default": ""
  3227. },
  3228. "targetCPU": {
  3229. "type": "string",
  3230. "description": "Target CPU utilization percentage",
  3231. "default": ""
  3232. },
  3233. "targetMemory": {
  3234. "type": "string",
  3235. "description": "Target Memory utilization percentage",
  3236. "default": ""
  3237. }
  3238. }
  3239. }
  3240. }
  3241. },
  3242. "service": {
  3243. "type": "object",
  3244. "properties": {
  3245. "labels": {
  3246. "type": "object",
  3247. "description": "Extra labels for app service. Only effective for helm-deployed apps (see apps.enabled).",
  3248. "default": {}
  3249. }
  3250. }
  3251. },
  3252. "serviceAccount": {
  3253. "type": "object",
  3254. "properties": {
  3255. "create": {
  3256. "type": "boolean",
  3257. "description": "Specifies whether a ServiceAccount should be created",
  3258. "default": true
  3259. },
  3260. "name": {
  3261. "type": "string",
  3262. "description": "The name of the ServiceAccount to use.",
  3263. "default": ""
  3264. },
  3265. "annotations": {
  3266. "type": "object",
  3267. "description": "Additional Service Account annotations (evaluated as a template)",
  3268. "default": {}
  3269. },
  3270. "automountServiceAccountToken": {
  3271. "type": "boolean",
  3272. "description": "Automount service account token for the app service account",
  3273. "default": true
  3274. },
  3275. "imagePullSecrets": {
  3276. "type": "array",
  3277. "description": "Add image pull secrets to the app service account",
  3278. "default": [],
  3279. "items": {}
  3280. }
  3281. }
  3282. },
  3283. "rbac": {
  3284. "type": "object",
  3285. "properties": {
  3286. "create": {
  3287. "type": "boolean",
  3288. "description": "Specifies whether RBAC resources should be created",
  3289. "default": true
  3290. }
  3291. }
  3292. },
  3293. "networkPolicy": {
  3294. "type": "object",
  3295. "properties": {
  3296. "enabled": {
  3297. "type": "boolean",
  3298. "description": "Specifies whether a NetworkPolicy should be created",
  3299. "default": true
  3300. },
  3301. "allowExternal": {
  3302. "type": "boolean",
  3303. "description": "Don't require server label for connections",
  3304. "default": true
  3305. },
  3306. "allowExternalEgress": {
  3307. "type": "boolean",
  3308. "description": "Allow the pod to access any range of port and all destinations.",
  3309. "default": true
  3310. },
  3311. "extraIngress": {
  3312. "type": "array",
  3313. "description": "Add extra ingress rules to the NetworkPolicy",
  3314. "default": [],
  3315. "items": {}
  3316. },
  3317. "extraEgress": {
  3318. "type": "array",
  3319. "description": "Add extra ingress rules to the NetworkPolicy (ignored if allowExternalEgress=true)",
  3320. "default": [],
  3321. "items": {}
  3322. }
  3323. }
  3324. },
  3325. "mountTmpVolume": {
  3326. "type": "boolean",
  3327. "description": "Whether a writable /tmp emptyDir volume should be mounted to the app.",
  3328. "default": true
  3329. },
  3330. "exposedContainerPort": {
  3331. "type": "number",
  3332. "description": "The port that shuffle app containers will listen on for new requests.",
  3333. "default": 80
  3334. },
  3335. "sdkTimeout": {
  3336. "type": "number",
  3337. "description": "The timeout in seconds for app actions.",
  3338. "default": 300
  3339. },
  3340. "disableLogs": {
  3341. "type": "boolean",
  3342. "description": "Do not capture app logs. By default, app logs are captured, so that they are visible in the frontend.",
  3343. "default": false
  3344. }
  3345. }
  3346. },
  3347. "apps": {
  3348. "type": "object",
  3349. "properties": {
  3350. "enabled": {
  3351. "type": "boolean",
  3352. "description": "Whether apps should be deployed using helm.",
  3353. "default": false
  3354. },
  3355. "shuffleTools": {
  3356. "type": "object",
  3357. "properties": {
  3358. "enabled": {
  3359. "type": "boolean",
  3360. "description": "Whether the shuffle-tools app is enabled",
  3361. "default": true
  3362. },
  3363. "version": {
  3364. "type": "string",
  3365. "description": "The version of the shuffle-tools app to deploy.",
  3366. "default": "1.2.0"
  3367. }
  3368. }
  3369. },
  3370. "shuffleSubflow": {
  3371. "type": "object",
  3372. "properties": {
  3373. "enabled": {
  3374. "type": "boolean",
  3375. "description": "Whether the shuffle-subflow app is enabled",
  3376. "default": true
  3377. },
  3378. "version": {
  3379. "type": "string",
  3380. "description": "The version of the shuffle-subflow app to deploy.",
  3381. "default": "1.1.0"
  3382. }
  3383. }
  3384. },
  3385. "http": {
  3386. "type": "object",
  3387. "properties": {
  3388. "enabled": {
  3389. "type": "boolean",
  3390. "description": "Whether the http app is enabled",
  3391. "default": true
  3392. },
  3393. "version": {
  3394. "type": "string",
  3395. "description": "The version of the http app to deploy.",
  3396. "default": "1.4.0"
  3397. }
  3398. }
  3399. }
  3400. }
  3401. },
  3402. "ingress": {
  3403. "type": "object",
  3404. "properties": {
  3405. "enabled": {
  3406. "type": "boolean",
  3407. "description": "Enable ingress record generation for frontend and backend",
  3408. "default": false
  3409. },
  3410. "pathType": {
  3411. "type": "string",
  3412. "description": "Ingress path type for the frontend path",
  3413. "default": "Prefix"
  3414. },
  3415. "backendPathType": {
  3416. "type": "string",
  3417. "description": "Ingress path type for the backend path",
  3418. "default": "Prefix"
  3419. },
  3420. "apiVersion": {
  3421. "type": "string",
  3422. "description": "Force Ingress API version (automatically detected if not set)",
  3423. "default": ""
  3424. },
  3425. "hostname": {
  3426. "type": "string",
  3427. "description": "Default host for the ingress record",
  3428. "default": "shuffle.local"
  3429. },
  3430. "ingressClassName": {
  3431. "type": "string",
  3432. "description": "IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)",
  3433. "default": "nginx"
  3434. },
  3435. "path": {
  3436. "type": "string",
  3437. "description": "Ingress path for Shuffle frontend",
  3438. "default": "\"/\""
  3439. },
  3440. "backendPath": {
  3441. "type": "string",
  3442. "description": "Ingress path for Shuffle backend",
  3443. "default": "\"/api/\""
  3444. },
  3445. "annotations": {
  3446. "type": "object",
  3447. "description": "Additional annotations for the Ingress resource.",
  3448. "default": {}
  3449. },
  3450. "tls": {
  3451. "type": "boolean",
  3452. "description": "Enable TLS configuration for the host defined at `ingress.hostname` parameter",
  3453. "default": false
  3454. },
  3455. "selfSigned": {
  3456. "type": "boolean",
  3457. "description": "Create a TLS secret for this ingress record using self-signed certificates generated by Helm",
  3458. "default": false
  3459. },
  3460. "extraHosts": {
  3461. "type": "array",
  3462. "description": "An array with additional hostname(s) to be covered with the ingress record",
  3463. "default": [],
  3464. "items": {}
  3465. },
  3466. "extraPaths": {
  3467. "type": "array",
  3468. "description": "An array with additional arbitrary paths that may need to be added to the ingress under the main host",
  3469. "default": [],
  3470. "items": {}
  3471. },
  3472. "extraTls": {
  3473. "type": "array",
  3474. "description": "TLS configuration for additional hostname(s) to be covered with this ingress record",
  3475. "default": [],
  3476. "items": {}
  3477. },
  3478. "secrets": {
  3479. "type": "array",
  3480. "description": "Custom TLS certificates as secrets",
  3481. "default": [],
  3482. "items": {}
  3483. },
  3484. "extraRules": {
  3485. "type": "array",
  3486. "description": "Additional rules to be covered with this ingress record",
  3487. "default": [],
  3488. "items": {}
  3489. }
  3490. }
  3491. },
  3492. "istio": {
  3493. "type": "object",
  3494. "properties": {
  3495. "enabled": {
  3496. "type": "boolean",
  3497. "description": "Enable creation of an Istio Gateway and VirtualService for frontend and backend",
  3498. "default": false
  3499. },
  3500. "apiVersion": {
  3501. "type": "string",
  3502. "description": "The istio apiVersion to use for Gateway and VirtualService resources",
  3503. "default": "networking.istio.io/v1"
  3504. },
  3505. "hosts": {
  3506. "type": "array",
  3507. "description": "One or more hosts exposed by Istio",
  3508. "default": [],
  3509. "items": {}
  3510. },
  3511. "gateway": {
  3512. "type": "object",
  3513. "properties": {
  3514. "annotations": {
  3515. "type": "object",
  3516. "description": "Additional annotations for the Gateway resource",
  3517. "default": {}
  3518. },
  3519. "http": {
  3520. "type": "object",
  3521. "properties": {
  3522. "enabled": {
  3523. "type": "boolean",
  3524. "description": "Enable HTTP server port 80",
  3525. "default": true
  3526. },
  3527. "httpsRedirect": {
  3528. "type": "boolean",
  3529. "description": "If set to true, a 301 redirect is send for all HTTP connections",
  3530. "default": false
  3531. }
  3532. }
  3533. },
  3534. "https": {
  3535. "type": "object",
  3536. "properties": {
  3537. "enabled": {
  3538. "type": "boolean",
  3539. "description": "Enable HTTPS server on port 443",
  3540. "default": false
  3541. },
  3542. "tlsCredentialName": {
  3543. "type": "string",
  3544. "description": "The name of the secret that holds the TLS certs including the CA certificates.",
  3545. "default": ""
  3546. },
  3547. "tlsCipherSuites": {
  3548. "type": "array",
  3549. "description": "If specified, only support the specified cipher list.",
  3550. "default": [],
  3551. "items": {}
  3552. }
  3553. }
  3554. },
  3555. "extraServers": {
  3556. "type": "array",
  3557. "description": "Additional servers for the Gateway resource",
  3558. "default": [],
  3559. "items": {}
  3560. }
  3561. }
  3562. },
  3563. "virtualService": {
  3564. "type": "object",
  3565. "properties": {
  3566. "annotations": {
  3567. "type": "object",
  3568. "description": "Additional annotations for the VirtualService resource.",
  3569. "default": {}
  3570. },
  3571. "backendHeaders": {
  3572. "type": "object",
  3573. "description": "Header manipulation rules for backend traffic",
  3574. "default": {}
  3575. },
  3576. "frontendHeaders": {
  3577. "type": "object",
  3578. "description": "Header manipulation rules for frontend traffic",
  3579. "default": {}
  3580. }
  3581. }
  3582. }
  3583. }
  3584. },
  3585. "persistence": {
  3586. "type": "object",
  3587. "properties": {
  3588. "enabled": {
  3589. "type": "boolean",
  3590. "description": "Enable persistence using Persistent Volume Claims",
  3591. "default": true
  3592. },
  3593. "apps": {
  3594. "type": "object",
  3595. "properties": {
  3596. "existingClaim": {
  3597. "type": "string",
  3598. "description": "Name of an existing PVC to use",
  3599. "default": ""
  3600. },
  3601. "storageClass": {
  3602. "type": "string",
  3603. "description": "PVC Storage Class for shuffle-apps volume",
  3604. "default": ""
  3605. },
  3606. "subPath": {
  3607. "type": "string",
  3608. "description": "The sub path used in the volume",
  3609. "default": ""
  3610. },
  3611. "accessModes": {
  3612. "type": "array",
  3613. "description": "The access mode of the volume",
  3614. "default": [
  3615. "ReadWriteOnce"
  3616. ],
  3617. "items": {
  3618. "type": "string"
  3619. }
  3620. },
  3621. "size": {
  3622. "type": "string",
  3623. "description": "The size of the volume",
  3624. "default": "5Gi"
  3625. },
  3626. "annotations": {
  3627. "type": "object",
  3628. "description": "Annotations for the PVC",
  3629. "default": {}
  3630. },
  3631. "selector": {
  3632. "type": "object",
  3633. "description": "Selector to match an existing Persistent Volume",
  3634. "default": {}
  3635. }
  3636. }
  3637. },
  3638. "appBuilder": {
  3639. "type": "object",
  3640. "properties": {
  3641. "storageClass": {
  3642. "type": "string",
  3643. "description": "PVC Storage Class for backend-apps-claim volume",
  3644. "default": ""
  3645. },
  3646. "accessModes": {
  3647. "type": "array",
  3648. "description": "The access mode of the volume",
  3649. "default": [
  3650. "ReadWriteOnce"
  3651. ],
  3652. "items": {
  3653. "type": "string"
  3654. }
  3655. },
  3656. "size": {
  3657. "type": "string",
  3658. "description": "The size of the volume",
  3659. "default": "5Gi"
  3660. },
  3661. "annotations": {
  3662. "type": "object",
  3663. "description": "Annotations for the PVC",
  3664. "default": {}
  3665. },
  3666. "selector": {
  3667. "type": "object",
  3668. "description": "Selector to match an existing Persistent Volume",
  3669. "default": {}
  3670. }
  3671. }
  3672. },
  3673. "files": {
  3674. "type": "object",
  3675. "properties": {
  3676. "existingClaim": {
  3677. "type": "string",
  3678. "description": "Name of an existing PVC to use",
  3679. "default": ""
  3680. },
  3681. "storageClass": {
  3682. "type": "string",
  3683. "description": "PVC Storage Class for shuffle-files volume",
  3684. "default": ""
  3685. },
  3686. "subPath": {
  3687. "type": "string",
  3688. "description": "The sub path used in the volume",
  3689. "default": ""
  3690. },
  3691. "accessModes": {
  3692. "type": "array",
  3693. "description": "The access mode of the volume",
  3694. "default": [
  3695. "ReadWriteOnce"
  3696. ],
  3697. "items": {
  3698. "type": "string"
  3699. }
  3700. },
  3701. "size": {
  3702. "type": "string",
  3703. "description": "The size of the volume",
  3704. "default": "5Gi"
  3705. },
  3706. "annotations": {
  3707. "type": "object",
  3708. "description": "Annotations for the PVC",
  3709. "default": {}
  3710. },
  3711. "selector": {
  3712. "type": "object",
  3713. "description": "Selector to match an existing Persistent Volume",
  3714. "default": {}
  3715. }
  3716. }
  3717. }
  3718. }
  3719. },
  3720. "volumePermissions": {
  3721. "type": "object",
  3722. "properties": {
  3723. "enabled": {
  3724. "type": "boolean",
  3725. "description": "Enable init container that changes the owner/group of the PV mount point to `runAsUser:fsGroup`",
  3726. "default": false
  3727. },
  3728. "image": {
  3729. "type": "object",
  3730. "properties": {
  3731. "registry": {
  3732. "type": "string",
  3733. "description": "OS Shell + Utility image registry",
  3734. "default": "docker.io"
  3735. },
  3736. "repository": {
  3737. "type": "string",
  3738. "description": "OS Shell + Utility image repository",
  3739. "default": "bitnamilegacy/os-shell"
  3740. },
  3741. "tag": {
  3742. "type": "string",
  3743. "description": "OS Shell + Utility image tag (immutable tags are recommended)",
  3744. "default": "12-debian-12-r30"
  3745. },
  3746. "pullPolicy": {
  3747. "type": "string",
  3748. "description": "OS Shell + Utility image pull policy",
  3749. "default": "IfNotPresent"
  3750. },
  3751. "pullSecrets": {
  3752. "type": "array",
  3753. "description": "OS Shell + Utility image pull secrets",
  3754. "default": [],
  3755. "items": {}
  3756. }
  3757. }
  3758. },
  3759. "resourcesPreset": {
  3760. "type": "string",
  3761. "description": "Set init container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if volumePermissions.resources is set (volumePermissions.resources is recommended for production).",
  3762. "default": "nano"
  3763. },
  3764. "resources": {
  3765. "type": "object",
  3766. "description": "Set init container requests and limits for different resources like CPU or memory (essential for production workloads)",
  3767. "default": {}
  3768. },
  3769. "containerSecurityContext": {
  3770. "type": "object",
  3771. "properties": {
  3772. "enabled": {
  3773. "type": "boolean",
  3774. "description": "Enabled init container' Security Context",
  3775. "default": true
  3776. },
  3777. "runAsUser": {
  3778. "type": "number",
  3779. "description": "Set init container's Security Context runAsUser",
  3780. "default": 0
  3781. }
  3782. }
  3783. }
  3784. }
  3785. },
  3786. "opensearch": {
  3787. "type": "object",
  3788. "properties": {
  3789. "enabled": {
  3790. "type": "boolean",
  3791. "description": "Switch to enable or disable the opensearch helm chart",
  3792. "default": true
  3793. }
  3794. }
  3795. },
  3796. "vault": {
  3797. "type": "object",
  3798. "properties": {
  3799. "role": {
  3800. "type": "string",
  3801. "description": "Specify the Vault role, which should be used to get the secret from Vault.",
  3802. "default": ""
  3803. },
  3804. "secrets": {
  3805. "type": "array",
  3806. "description": "A list of VaultSecrets to create",
  3807. "default": [],
  3808. "items": {}
  3809. }
  3810. }
  3811. }
  3812. }
  3813. }