Enrico Candino and GitHub
244011e68d
Refactor kubeconfig URL generation ( #938 )
...
* Refactor kubeconfig generation to remove unused port parameter and update related functions
* Refactor kubeconfig generation to streamline error handling and remove unused imports
* Refactor kubeconfig URL generation functions and deprecate old implementation
* restore old behavior
* Add 'k3kcli kubeconfig get' command and update documentation
* Refactor URL generation by removing deprecated getURLFromService function and updating tests to use new implementation
* Fix expected URL for LoadBalancer test case to include hostname
* Refactor kubeconfig test documentation to clarify URL generation behavior for ClusterIP, NodePort, and LoadBalancer service types
* Refactor kubeconfig URL generation functions to improve clarity and maintainability
* Remove deprecated 'k3kcli kubeconfig get' command and update related documentation
* Set logger to discard in NewRootCmd for improved logging control
* Refactor getURLFromService to streamline ingress key retrieval
2026-06-26 11:16:54 +02:00
Enrico Candino and GitHub
594c2571c3
promoted v1alpha1 resources to v1beta1 ( #505 )
2025-10-13 17:24:56 +02:00
Enrico Candino and GitHub
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 and GitHub
96a4341dfb
Services updates (LoadBalancerConfig and NodePortConfig) ( #329 )
...
* updates to services
- added loadBalancerConfig
- removed service-port
- added logic to not expose services
* Refactor cluster tests to improve readability and maintainability
- Simplified service port expectations by directly accessing elements instead of using `ContainElement`.
- Enhanced clarity of test assertions for `k3s-server-port` and `k3s-etcd-port` attributes.
- Removed redundant code for checking service ports.
* fix ports for ingress expose, update kubeconfig generate
2025-04-22 11:52:18 +02:00
Enrico Candino and GitHub
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
jpgouin
e6db5a34c8
fix ingress creation, use the ingress host in Kubeconfig when enabled
2025-01-24 18:48:31 +00:00
Hussein Galal and GitHub
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 >
2025-01-23 01:55:05 +02:00
Hussein Galal and GitHub
d19f0f9ca6
virtual-kubelet controller integration ( #130 )
...
* Virtual kubelet controller integration
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* Add k3k-kubelet image to the release workflow
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* Add k3k-kubelet image to the release workflow
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* Fix build/release workflow
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* Remove pkg directory in k3k-kubelet
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* rename Type to Config
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* Move the kubelet and config outside of pkg
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* fix comments
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* Fix naming throughout the package
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* Fix comments
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* more fixes to naming
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 >
* 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 >
2024-10-21 22:54:08 +03:00
Michael Bolot and GitHub
9faab4f82d
Changing the cluster to be namespaced ( #110 )
...
* Changing the cluster to be namespaced
Changes the cluster type to be namespaced (and changes the various
controllers to work with this new feature). Also adds crd generation and
docs to the core cluster type.
* CI fix
2024-09-05 22:50:11 +03:00
Hussein Galal and GitHub
5e141fe98e
Add kubeconfig subcommand ( #87 )
...
* Add kubeconfig subcommand
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* Add kubeconfig subcommand
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* Add kubeconfig subcommand
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* Add kubeconfig subcommand
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
---------
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
2024-01-11 00:57:46 +02:00
Hussein Galal and GitHub
fedfa109b5
Fix append to empty slice ( #80 )
...
* Fix append to empty slice
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* Fix initialization of addresses slice
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
---------
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
2024-01-04 01:49:48 +02:00
Brian Downs and GitHub
0dd234b2d5
Add Addon Feature ( #61 )
...
* resolve conflicts and other changes
Signed-off-by: Brian Downs <brian.downs@gmail.com >
* updates
Signed-off-by: Brian Downs <brian.downs@gmail.com >
* fix remaining conflict
Signed-off-by: Brian Downs <brian.downs@gmail.com >
* add back cluster and service cidr
Signed-off-by: Brian Downs <brian.downs@gmail.com >
---------
Signed-off-by: Brian Downs <brian.downs@gmail.com >
2023-08-31 01:34:35 +03:00
Brian Downs
d32ce24d31
remove some unused code and additional updates
...
Signed-off-by: Brian Downs <brian.downs@gmail.com >
2023-08-01 10:58:18 -07:00
Brian Downs
b2e969f6df
update package refs
...
Signed-off-by: Brian Downs <brian.downs@gmail.com >
2023-06-13 16:45:46 -07:00
galal-hussein
e31ab4102c
Add serverArgs and agentArgs
...
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
2023-01-31 02:55:34 +02:00
galal-hussein
7794188415
Add expose options to the cluster
2023-01-31 02:55:21 +02:00
galal-hussein
b624102528
Add ingress and kubeconfig with sslip.io
2023-01-20 02:26:40 +02:00