Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* init * move sync loop to service reconciler * init service controller * refactor status collector * refactor status collector move engine utils to reconciler * move service controller to main * remove unused * add controller manager * add context * refactor * fix controller manager init * make console client once * refactor agent and engine * update socket * bump console client * refactor status * update socket * fix format error * fix some linter issues * update dep * refactor cmd package * fix build * minor changes * add lua unit tests * fix imports * minor enhancement * add restore controller * add velero crds * add backup controller * bump console client * add backup creation logs * add backup creation logs * copy full files * integrate agent changes * pipelines client * engine changes * add gateloop * fix * fix instantiation * gatecontrolloop as parallel * fix some stuff, type is always pending, api error? * needs namespace now, so has to be type job, or ns is added to api type * fix creation error + pretty print * missed adding to manager from old branch * restart policy onfailure per default * dont reconcile based on label/annotations changes, those are applied automatically * try fix for client init * create a second pipeline for testing * change name to name + id * pipeline3 * raw example * fix raw job parsing error * go mod tidy * add jobref to status field * refactor to track child job in status field jobref * actually always create the pipelinegate CR * add spec fields for status synced * add spec fields * actually lose ggraphql types * state needs to be nullable * all status fields need to be nullable * complete refactor of state handling * the time field is optional, should be becase you should be ablte to create the cr with kubectl * scribbles on state * debugg ln * make geenrate * make optional * fix the infinity jobs * fix yaml name * logging * refactor logging * rename field * fix job reconciliation error on resource version change * tests with cr * gateloop logging * clean up * clean up readme * move apis dir into api dir * adapt to new format * need by id for cache * pieplinegate reconciler * make some methods available outside of service pkg * add socket publisher * add gate controller * rm rebase leftovers * pipelinegate controllers rename * add capi * fix compilation * comment out scope, uses cluster api * use reconcile helper * fix version * use patch * rename package * fix rerun, and jobs not getting updated after connection/auth was lost for some time * clean up logging * rm comments * rm debug lines * convert fmt prints to logs * rm debug lines * update gate jobref at console after first reconcile * rm restore_controller.go * fix unit test * fix some lints * add pipelinegates crds to crd in charts * add permissions * fix * needs batch permissions, annotation for completeness sake * make test run * missing paths * Update pkg/controller/pipelinegates/reconciler.go Co-authored-by: Marcin Maciaszczyk <[email protected]> * Update controllers/pipelinegates/pipelinegate_controller.go Co-authored-by: Marcin Maciaszczyk <[email protected]> * move pipelinegate types over to v1alpha1 * create manifests for it * rbac for pipelines in deployments group * import pipelines from v1alpha1 * use ctrl runtime client instead of clientset * rm clientset usage * defer unnecessary * move synced state into status * deepcopy, too * role updated for group version * reset to pending in reconcile, needs to get resource from cluster for that * refactor controller with methods * synced state now in status * improve jobstatus handling * fix wrong condition * fix condition * use scope and remove debug lines * replace crd for pipelinegates in chart * update role for pipelinegates in new group * delete generated clientsets * move samples to config/samples * use cluster gate by id * dont need the client gen anymore * rm pipeilne query example * get rid of generic cache * create diableclientlimits in utils * sue utils version of disableclientlimits * no fmt here * rm velero crds * remove old pipelines types * after rm of velero crds # components is 23 * readd other controllers * delete notes * move pg controller over to other controllers * rn pipelinesv1alpha -> v1alhpa1 * rm test file * adapt dockerfile for re/moved packages * try fix chart linting action * bump chart version * fix lints * new line eof * fix some lints --------- Co-authored-by: Lukasz Zajaczkowski <[email protected]> Co-authored-by: Marcin Maciaszczyk <[email protected]>
- Loading branch information