Jonathan Crowther
25e910ccaf
Add initial affinity to podspecs ( #696 )
...
* Add initial affinity to podspecs
* Fix go generate
* Add field to the policy and prioritize it over the cluster spec
* Fix linter issue
* Add docs
* Address comments
* Fix the tests and improve the field descriptions
* Fix formatter issues
* Change logs to info level
* run validation
* undo pandoc changes
2026-03-23 16:16:30 -04:00
Kevin McDermott
056b36e8b5
Don't start the metrics server in tests.
...
This prevents the metrics server from starting when testing.
None of the tests check the metrics server.
2026-03-19 14:06:59 +00:00
Enrico Candino
7b0f695248
Bump some tes dependencies and fix lint ( #708 )
2026-03-18 17:43:41 +01:00
Enrico Candino
7641a1c9c5
Add sync of Host StorageClasses ( #681 )
...
* initial impl
* wip test
* fix
* wip tests
* Refactor storage class sync logic and enhance test coverage
* fix test
* remove storageclass sync test
* removed commented code
* added sync to cluster status to apply policy configuration
* fix for storageClass policy indexes
* fix for missing indexed field, and label sync
* - update sync options descriptions for resource types
- added storage class tests sync with policy
- requested changes
* fix for nil map
2026-03-17 16:53:29 +01:00
Enrico Candino
9836f8376d
Added policy in Cluster Status ( #663 )
...
* initial implementation
restored policyName
* added test, fixed priority scheduling
* requested changes from review
- wrapped errors
- fixed some kube-api-linter issues to match k8s conventions
- moved policy namespace check in the same condition branch
2026-02-17 16:15:13 +01:00
Enrico Candino
0164c785ab
Show correct allocatable resources when a Policy is applied ( #638 )
...
* wip
* wip
* wip
* fix lint and tests
* fixed bugs for missing resources
* cleanup and refactor
* removed coreClient from configureNode
* added comments to distribute algorithm
2026-01-27 15:56:37 +01:00
Enrico Candino
7144cf9e66
Moved CRDs to Helm templates folder ( #552 )
...
* moved CRDs of Cluster and VirtualClusterPolicy
Updated the generate script to output CRDs to the correct directory and include the keep resource policy annotation.
* fix crd directory in tests
2025-11-11 16:22:56 +01:00
Enrico Candino
ee7eac89ce
Enhance logging and update Helm installation parameters for better debugging and cluster management ( #519 )
2025-10-22 14:55:47 +02:00
Enrico Candino
594c2571c3
promoted v1alpha1 resources to v1beta1 ( #505 )
2025-10-13 17:24:56 +02:00
Hussein Galal
aca01127f8
Fix PVC sync and sync defaults ( #458 )
...
* Fix PVC sync and sync defaults
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* Fix PVC sync and sync defaults
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* fixes to pvc sync
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* increase the timeout on the e2e test
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* configure the syncConfig correctly in vcp
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* update docs
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* fix policy unit test
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* revert timeout of the test to 20 second
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
---------
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
2025-09-16 13:01:12 +03:00
Enrico Candino
98d17cdb50
Added new golangci-lint formatters ( #425 )
...
* add gci formatter
* gofmt and gofumpt
* rewrite rule
* added make fmt
2025-07-22 10:42:41 +02:00
Enrico Candino
2047a600ed
Migrate golangci-lint to v2 ( #424 )
...
* golangci-lint upgrade
* fix lint
2025-07-22 10:10:26 +02:00
Enrico Candino
753b31b52a
Adding configurable maxConcurrentReconcilers and small CRD cleanup ( #410 )
...
* removed Persistence from Status, fixed default for StorageSize and StorageDefault
* added configurable maxConcurrentReconciles
* fix concurrent issues
* add validate as prereq for tests
2025-07-10 14:46:33 +02:00
Enrico Candino
f389a4e2be
Fix Network Policy reconciliation ( #388 )
...
* logs
* fix delete cleanup
* update spec
* added policyName to status, skip netpol for policy managed clusters
2025-06-20 16:10:47 +02:00
Hussein Galal
d1f88c32b3
Ephemeral containers fix ( #371 )
...
* Update virtual kubelet and k8s to 1.31.4
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* Fix ephemeral containers in provider
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* Fix linters
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* wsl
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* wsl
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* Fix comments
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
---------
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
2025-06-20 12:52:45 +03:00
Enrico Candino
2655d792cc
Update allowedModeTypes field to allowedMode ( #367 )
...
* change allowedModeTypse to allowedMode
* added shortname "vcp" and additional mode column
2025-05-29 14:53:58 +02:00
Enrico Candino
8fbe4b93e8
Change VirtualClusterPolicy scope to Cluster ( #358 )
...
* rename clusterset to policy
* fixes
* rename clusterset to policy
* wip
* go mod
* cluster scoped
* gomod
* gomod
* fix lint
* wip
* moved logic to vcp controller
* update for clusters
* small fixes
* update cli
* fix docs, updated spec
* fix cleanup
* added missing owns for limitranges
2025-05-29 10:45:48 +02:00
Enrico Candino
cca3d0c309
Rename ClusterSet to VirtualClusterPolicy ( #349 )
...
* rename clusterset to policy
* fixes
2025-05-15 12:04:47 +02:00