Enrico Candino
51a8fd8a8d
Fix and enhancements to IngressExposeConfig (annotations) ( #248 )
...
* ingress fixes
* added annotations to IngressConfig
* sync annotations with CR
* removed hosts
* small doc for ingress
2025-02-14 12:38:42 +01:00
Enrico Candino
fdb133ad4a
Added Ports to NodePortConfig and expose fixes ( #247 )
...
* fix NodePort service update
* updated crd docs
2025-02-11 14:47:01 +01:00
Enrico Candino
0aa60b7f3a
Update of some docs ( #231 )
...
* updated README, docs folder
* updated architecture doc
* shared and virtual architecture images
* advanced usage
* added crd-ref-docs tool for CRDs documentation
* small fixes
* requested changes
* full example in advanced usage
* removed security part
* Apply suggestions from code review
Co-authored-by: jpgouin <jp-gouin@hotmail.fr >
---------
Co-authored-by: jpgouin <jp-gouin@hotmail.fr >
2025-02-10 16:21:33 +01:00
Enrico Candino
8d1bda4733
fix panic for nil Expose ( #240 )
2025-02-10 12:44:53 +01:00
Hussein Galal
f23b538f11
Fix metadata information for the virtual pods ( #228 )
...
* Fix metadata information for the virtual pods
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* Fixes
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* Fixes
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
---------
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
2025-02-10 10:24:56 +02:00
Hussein Galal
ac132a5840
Fixing etcd pod controller ( #233 )
...
* Fixing etcd pod controller
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* Fix logic in etcd pod controller
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
---------
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
2025-02-06 22:36:05 +02:00
Enrico Candino
2f44b4068a
Small cli refactor (cluster name as arg, default kubeconfig path) ( #230 )
...
* cli refactor
* restored name
2025-02-05 23:54:40 +01:00
Enrico Candino
48efbe575e
Fix Webhook certificate recreate ( #226 )
...
* wip cert webhook
* fix lint
* cleanup and refactor
* fix go.mod
* removed logs
* renamed
* small simplification
* improved logging
* improved logging
* some tests for config data
* fix logs
* moved interface
2025-02-05 21:55:34 +01:00
jpgouin
3df5a5b780
Merge pull request #213 from jp-gouin/fix-ingress
...
fix ingress creation, use the ingress host in Kubeconfig when enabled
2025-02-04 09:31:49 +01:00
Enrico Candino
2a7541cdca
Fix missing updates of server certificates ( #219 )
...
* merge
* wip test
* added test for restart
* tests reorg
* simplified tests
2025-02-04 09:17:56 +01:00
Enrico Candino
997216f4bb
chart-releaser action ( #222 )
2025-02-04 09:17:27 +01:00
Enrico Candino
bc3f906280
Fix status update, updated k3s default version, updated CRDs ( #218 )
...
* fix status update
* fix schema and default image
* removed retry in controller
* removed fmt
2025-01-30 12:56:42 +01:00
Hussein Galal
19efdc81c3
Add initial support for daemonsets ( #217 )
...
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
2025-01-30 00:59:25 +02:00
Enrico Candino
54be0ba9d8
Logs and organization cleanup ( #208 )
...
* logs and organization cleanup
* getting log from context
* reused log var
2025-01-29 12:03:33 +01:00
Enrico Candino
72b5a98dff
Fix typos and adding spellcheck linter ( #215 )
...
* adding spellcheck linter
* fix typos
2025-01-28 17:47:45 +01:00
jpgouin
2019decc78
check value of cluster.Spec.Expose.Ingress
2025-01-28 14:34:50 +00:00
jpgouin
ebdeb3aa58
fix merge
2025-01-28 14:27:50 +00:00
jpgouin
c88890e502
Merge branch 'main' into fix-ingress
2025-01-28 15:11:09 +01:00
Hussein Galal
86d543b4be
Fix webhook restarts in k3k-kubelet ( #214 )
...
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
2025-01-28 01:52:55 +02:00
Enrico Candino
44045c5592
Added test (virtual cluster creation, with pod) and small kubeconfig refactor ( #211 )
...
* added virtual cluster and pod test
* moved ClusterCreate
* match patch k8s host version
2025-01-24 22:26:01 +01:00
jpgouin
e6db5a34c8
fix ingress creation, use the ingress host in Kubeconfig when enabled
2025-01-24 18:48:31 +00:00
jpgouin
8f24151b3f
Merge pull request #209 from jp-gouin/cli
...
add flag to override kubernetes server value in the generated kubeconfig
2025-01-24 10:46:26 +01:00
Hussein Galal
8b0383f35e
Fix chart release action ( #210 )
...
* Fix chart release action
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* Fix chart release action
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
---------
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
chart-0.1.5-r1
2025-01-23 21:02:34 +02:00
jpgouin
ec93371b71
check err
2025-01-23 16:29:43 +00:00
jpgouin
5721c108b6
add flag to override kubernetes server value in the generated kubeconfig
2025-01-23 16:16:45 +00:00
Enrico Candino
9e52c375a0
bump urfave/cli to v2 ( #205 )
2025-01-23 10:14:01 +01:00
Hussein Galal
ca8f30fd9e
upgrade chart ( #207 )
...
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
2025-01-23 02:30:12 +02:00
Hussein Galal
931c7c5fcb
Fix secret tokens and DNS translation ( #200 )
...
* Include init containers in token translation
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* Fix kubernetes.defaul service DNS translation
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* Add skip test var to dapper
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* Add kubelet version and image pull policy to the shared agent
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* fixes
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
---------
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
v0.2.2-rc4
2025-01-23 01:55:05 +02:00
Enrico Candino
fd6ed8184f
removed antiaffinity ( #199 )
2025-01-22 18:34:30 +01:00
Enrico Candino
c285004944
fix release tag ( #201 )
2025-01-22 15:18:10 +01:00
Enrico Candino
b0aa22b2f4
Simplify Cluster spec ( #193 )
...
* removed some required parameters, adding defaults
* add hostVersion in Status field
* fix tests
2025-01-21 21:19:44 +01:00
Enrico Candino
3f49593f96
Add Cluster creation test ( #192 )
...
* added k3kcli to path
* test create cluster
* updated ptr
* added cluster creation test
2025-01-21 17:53:42 +01:00
Enrico Candino
0b3a5f250e
Added golangci-lint action ( #197 )
...
* added golangci-lint action
* linters
* cleanup linters
* fix error, increase timeout
* removed unnecessary call to Stringer
2025-01-21 11:30:57 +01:00
Enrico Candino
e7671134d2
fixed missing version ( #196 )
2025-01-21 10:52:27 +01:00
Enrico Candino
f9b3d62413
bump go1.23 ( #198 )
2025-01-21 10:50:23 +01:00
Enrico Candino
d4368da9a0
E2E tests scaffolding ( #189 )
...
* testcontainers
add build script
dropped namespace from chart
upload logs
removed old tests
* show go.mod diffs
chart-0.1.5-r5
2025-01-16 20:40:53 +01:00
Hussein Galal
c93cdd0333
Add retry for k3k-kubelet provider functions ( #188 )
...
* Add retry for k3k kubelet provider functions
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* Add retry for k3k kubelet provider function
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* go mod tidy
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
---------
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
v0.2.2-rc3
2025-01-16 21:34:28 +02:00
Enrico Candino
958d515a59
removed Namespace creation from charts, edited default ( #190 )
2025-01-16 18:34:17 +01:00
Hussein Galal
9d0c907df2
Fix downward api for status fields in k3k-kubelet ( #185 )
...
* Fix downward api for status fields in k3k-kubelet
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* Fixes
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
---------
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
2025-01-16 02:40:17 +02:00
Enrico Candino
1691d48875
Fix for UpdatePod ( #187 )
...
* fix for UpdatePod
* removed print
2025-01-15 18:50:21 +01:00
Enrico Candino
960afe9504
fix error for existing webhook ( #186 )
2025-01-15 18:43:12 +01:00
Enrico Candino
349f54d627
fix for default priorityClasses ( #182 )
v0.2.2-rc2
2025-01-14 20:30:16 +01:00
Hussein Galal
ccaa09fa4a
Add PVC syncing support ( #179 )
...
* Add pvc syncing support
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* fixes
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
---------
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
2025-01-14 20:57:04 +02:00
Enrico Candino
f9ddec53b7
Added priorityClass to Clusters and ClusterSets ( #180 )
...
* added priorityClass to Clusters and ClusterSets
* fixed comment
2025-01-14 11:05:48 +01:00
Enrico Candino
5892121dbe
Fix action event check on wrong field event_name ( #177 )
...
The event name should be checked against the `event_name` field.
2025-01-09 11:28:43 +01:00
Enrico Candino
524dc69b98
Fix for missing permission ( #176 )
2025-01-09 10:25:38 +01:00
Enrico Candino
4fdce5b1aa
Test release workflows ( #173 )
...
* goreleaser action
* removed old release
* fix gomega version in tests
* updated build workflow
* fix for empty var
2025-01-09 10:10:53 +01:00
Enrico Candino
9fc4a57fc2
Fix go.mod ( #171 )
...
* check go mod
* fix go.mod
2025-01-08 10:02:23 +01:00
Enrico Candino
ee00b08927
Add real node resources to virtual node ( #169 )
...
* add real nodes capacity to virtual node
* distinguish capacity from allocatable node resources
2025-01-02 22:22:18 +01:00
Enrico Candino
7fdd48d577
Implementation of GetStatsSummary and GetMetricsResource for Virtual Kubelet ( #163 )
...
* implemented GetStatsSummary and GetMetricsResource for Virtual Kubelet
* fixed ClusterRole for node proxy
* limit the clusterrole with get and list
* remove unused Metrics client interface
2024-12-27 11:41:40 +01:00