Commit Graph

18 Commits

Author SHA1 Message Date
dependabot[bot] cbadfbcd93 Bump github.com/onsi/gomega from 1.38.2 to 1.39.1
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.38.2 to 1.39.1.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.38.2...v1.39.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-version: 1.39.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-02 08:05:19 +00:00
lukaszraczylo 49f068edcd Update go.mod and go.sum (#46) 2026-01-15 03:30:56 +00:00
lukaszraczylo 5b40e991c5 Update go.mod and go.sum (#45) 2026-01-13 03:30:53 +00:00
lukaszraczylo 7516fa9d4f Update go.mod and go.sum (#42) 2026-01-10 03:30:46 +00:00
lukaszraczylo 19a193ebe0 Update go.mod and go.sum (#41) 2026-01-09 03:31:35 +00:00
lukaszraczylo 9c768d1ae1 Update go.mod and go.sum (#40) 2026-01-07 03:31:47 +00:00
lukaszraczylo 04816a7524 Update go.mod and go.sum (#39) 2026-01-06 03:30:14 +00:00
lukaszraczylo 711ff6f309 Update go.mod and go.sum (#38) 2025-12-27 03:29:34 +00:00
lukaszraczylo f015636a9e Update go.mod and go.sum (#37) 2025-12-24 03:31:23 +00:00
lukaszraczylo baf0b32047 Update go.mod and go.sum (#36) 2025-12-23 03:31:38 +00:00
lukaszraczylo 9a3b7e0cbf Update go.mod and go.sum (#35) 2025-12-22 14:35:26 +00:00
lukaszraczylo 794e2d487a Remove dependency on kube-rbac-proxy. 2025-12-17 23:06:21 +00:00
lukaszraczylo 2b36071647 Multiple fixes (#29)
* Multiple fixes

- add goreleaser to the build / release process
- add kubectl plugin for job graphs visualization
- add installation scripts
- update dependencies

* Update the release & CRD content.

* Next set of improvements.

  Code Quality

  - Label constants: Added LabelWorkflowName, LabelGroupName, LabelJobName, LabelJobID in controllers/definitions.go
  - Removed commented debug code: Cleaned up dead code from multiple files
  - Removed unused dependencyTree field: Cleaned connPackage struct
  - Fixed snake_case variables: Changed to camelCase (runGroup, groupDep, runJob, jobDep, k8sJob)

  Kubernetes Best Practices

  - Finalizers: Implemented handleDeletion() and deleteChildJobs() for proper cleanup
  - Status enum validation: Added +kubebuilder:validation:Enum=pending;running;succeeded;failed;aborted
  - ImagePullPolicy default: Created getImagePullPolicy() helper that defaults to IfNotPresent
  - Resource limits support: Added Resources *corev1.ResourceRequirements to ManagedJobParameters

  Observability

  - Prometheus metrics: Created controllers/metrics.go with counters (jobs created/succeeded/failed), histogram (reconciliation duration), and gauge (active jobs)
  - Structured logging: Added logger field to connPackage, used context-based logging throughout

  Configuration

  - Leader election ID: Made configurable via --leader-election-id flag
  - Development mode: Made configurable via --dev-mode flag and LOG_LEVEL env var

  Performance

  - Dependency lookup optimization: Changed from O(n*m) to O(1) using lookup maps (jobDepMap, groupDepMap)
  - Reconciliation backoff: Added RequeueAfter: 30*time.Second when workflow is running

  Documentation & Testing

  - Godoc documentation: Added comprehensive comments to API types and controller
  - Unit tests: Added helpers_test.go with tests for all helper functions
  - Integration tests: Added managedjob_controller_test.go with Ginkgo/Gomega tests

* Add the helm chart release.

* Add reasonable test coverage.
2025-12-17 22:33:23 +00:00
lukaszraczylo b6ce5b7c98 Fix CVEs. 2025-12-17 22:33:23 +00:00
lukaszraczylo 97f4007a6a Update dependencies. 2025-12-17 22:33:21 +00:00
lukaszraczylo 76f25e0746 Update dependencies. 2025-12-17 22:33:18 +00:00
lukaszraczylo ad45a0ce00 Add build pipeline. 2023-02-19 23:58:00 +00:00
lukaszraczylo 984e1a0f7b Initial commit. 2023-02-19 21:23:50 +00:00