Anuj Garg
ec397ef351
Updating the script binary_size_check to complete the command name by adding .exe extension to the k3s binary name to make it available to run stat command
...
Signed-off-by: Anuj Garg <anujgarg@microsoft.com >
(cherry picked from commit eb192197eb )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-05-31 09:17:58 -07:00
Brad Davidson
2c2a6ee982
Bump klipper-helm image for tls secret support
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit 6683fcdb65 )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-05-31 09:17:58 -07:00
Brad Davidson
a302dae4b5
Update packaged manifests
...
* Update traefik chart to bump image tag and fix quoting
* Fix image quoting in flat manifests
* Update local-path-provisioner config to stop using deprecated hostpath volume type
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-04-11 10:01:23 -07:00
Derek Nola
183074e09c
Run docker tests in E2E GH Action
...
Build image with new input option
Run most of the basic docker tests in E2E
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-03-08 11:39:05 -08:00
Derek Nola
e1dcbf410b
Move docker tests into tests folder ( #9555 )
...
* Move docker tests into tests folder
* Remove old test certs
* Update TESTING.md with docker test inf
Signed-off-by: Derek Nola <derek.nola@suse.com >
2024-03-08 11:39:05 -08:00
Brad Davidson
58ec70772a
Bump metrics-server to v0.7.0
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-03-07 16:37:15 -08:00
Brad Davidson
cb0f608d50
Include flannel version in flannel cni plugin version
...
We were misreporting the flannel version as the flannel cni plugin version; restore the actual flannel version as build metadata
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit 6f331ea7b5 )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-03-07 16:37:15 -08:00
Brad Davidson
9461615967
Use and version flannel/cni-plugin properly
...
Moves us closer to using the proper upstream for our flannel CNI plugin, instead of the snapshot that is vendored into our plugins fork.
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit 88d30f940d )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-03-07 16:37:15 -08:00
Brad Davidson
cfc6d1d134
Bump helm-controller/klipper-helm versions
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit 109e3e454c )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-03-07 16:37:15 -08:00
Manuel Buil
f605ede835
Update klipper-lb image version
...
Signed-off-by: Manuel Buil <mbuil@suse.com >
2024-03-05 19:45:13 +01:00
Brad Davidson
6c5da6f6ed
Use 3/2/1 cluster for split role test
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-02-21 13:50:47 -08:00
Brooks Newberry
b3b0a25c0d
Update Kubernetes to v1.27.11 ( #9491 )
...
Signed-off-by: Brooks Newberry <brooks@newberry.com >
2024-02-15 13:14:34 -08:00
Brad Davidson
7d9b5cc28d
Bump CNI plugins to v1.4.0
...
Ref: https://github.com/rancher/plugins/compare/v1.3.0-k3s1...v1.4.0-k3s2
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit 77ba9904d1 )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-02-10 00:49:41 -08:00
Matt Trachier
aa7a83d6ee
Bump Local Path Provisioner version ( #8953 ) ( #9427 )
...
* chore: Bump Local Path Provisioner version
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-02-07 18:24:41 -06:00
Brad Davidson
823eb2361a
Bump runc and helm-controller versions
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-02-01 18:52:17 -08:00
Brad Davidson
1f27e2f80e
Fix OS PRETTY_NAME on tagged releases
...
These were always showing up as dev due to the build arg not being set by the drone step.
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit eae221f9e5 )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-01-11 16:30:56 -08:00
Brad Davidson
3d4216ca46
Add runtime checking of golang version
...
Forces other groups packaging k3s to intentionally choose to build k3s with an unvalidated golang version
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit b297996b92 )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-01-11 16:30:56 -08:00
Brad Davidson
47cb25272b
Add ServiceLB support for PodHostIPs FeatureGate
...
If the feature-gate is enabled, use status.hostIPs for dual-stack externalTrafficPolicy=Local support
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit a27d660a24 )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-01-11 16:30:56 -08:00
Pedro Tashima
02fcbd1f57
remove s390x ( #8999 )
...
Signed-off-by: Pedro Tashima <pedro.tashima@suse.com >
Co-authored-by: Pedro Tashima <pedro.tashima@suse.com >
2023-12-06 18:20:37 -03:00
Sean Yen
dbea2e68c8
Windows support
...
Signed-off-by: Sean Yen <seanyen@microsoft.com >
2023-10-16 23:14:58 +02:00
Brad Davidson
e073442551
Add etcd-only/control-plane-only server test
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2023-10-14 00:38:56 -07:00
Brad Davidson
548f8a292d
Update kube-router package in build script
...
Package was changed in version script in bc332ac667 but we missed changing it here as well.
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2023-10-13 16:23:05 -07:00
Brad Davidson
22f8d28ba6
Bump traefik, golang.org/x/net, google.golang.org/grpc
...
Fixes exposure to CVE-2023-39325
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2023-10-13 11:09:28 -07:00
dlorenc
58cc7dadfd
Switch build target from main.go to a package. ( #8342 )
...
* Switch build target from main.go to a package.
* Dont build with vcs
Signed-off-by: Dan Lorenc <dlorenc@chainguard.dev >
Signed-off-by: Derek Nola <derek.nola@suse.com >
Co-authored-by: Derek Nola <derek.nola@suse.com >
(cherry picked from commit 3d25e9f66c )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2023-10-13 11:09:28 -07:00
Brad Davidson
3237b0e0a2
Bump busybox to v1.36.1
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit 9bb1ce1253 )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2023-10-13 11:09:28 -07:00
Johnatas
6c2a7cb316
[v1.27] System agent push tags fix ( #8569 )
...
* change script and drone
Signed-off-by: Johnatas <johnatasr@hotmail.com >
* adjust secret
Signed-off-by: Johnatas <johnatasr@hotmail.com >
---------
Signed-off-by: Johnatas <johnatasr@hotmail.com >
2023-10-06 17:40:22 -03:00
Pedro Tashima
bd04941a29
Update to v1.27.6 and Go to 1.20.8 ( #8356 )
...
* Update to v1.27.6
Signed-off-by: Pedro Tashima <pedro.tashima@suse.com >
* Bump containerd and stargz versions
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
* Print message on upgrade fail
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
* Send Bad Gateway instead of Service Unavailable when tunnel dial fails
Works around new handling for Service Unavailable by apiserver aggregation added in kubernetes/kubernetes#119870
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
* Add 60 seconds to server upgrade wait to account for delays in apiserver readiness
Also change cleanup helper to ensure upgrade test doesn't pollute the
images for the rest of the tests.
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
---------
Signed-off-by: Pedro Tashima <pedro.tashima@suse.com >
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
Co-authored-by: Pedro Tashima <pedro.tashima@suse.com >
Co-authored-by: Brad Davidson <brad.davidson@rancher.com >
2023-09-19 12:53:43 -03:00
Brad Davidson
84ded911e9
Bump helm-controller/klipper-helm versions
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2023-08-15 22:24:12 -07:00
Derek Nola
9702f92345
Fix for Kubeflag Integration test ( #8154 )
...
* Use argument that doesn't require file
* Use build-k3s workflow in cgroup
* Bump timeout on integration tests
Signed-off-by: Derek Nola <derek.nola@suse.com >
2023-08-07 14:04:04 -07:00
Brad Davidson
b2e71553ce
Use VERSION_K8S in tests instead of grep go.mod
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2023-08-04 16:06:47 -07:00
Brad Davidson
bc332ac667
Use 'go list -m' instead of grep to look up versions
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2023-08-04 12:26:54 -07:00
Manuel Buil
e56839b329
Update cni plugins version to v1.3.0
...
Signed-off-by: Manuel Buil <mbuil@suse.com >
2023-07-27 11:37:28 +02:00
Ian Cardoso
58a8deb25d
fix image_scan.sh script and download trivy version ( #7950 )
...
Signed-off-by: Ian Cardoso <osodracnai@gmail.com >
2023-07-13 15:03:50 -03:00
Derek Nola
70691a95ee
Faster K3s Binary Build Option ( #7805 )
...
* Add local build option
Signed-off-by: Derek Nola <derek.nola@suse.com >
2023-06-27 10:28:23 -07:00
Manuel Buil
869e030bdd
VPN PoC
...
Signed-off-by: Manuel Buil <mbuil@suse.com >
2023-06-09 12:39:33 +02:00
Brad Davidson
e9958cf070
Bump metrics-server to v0.6.3 and update tls-cipher-suites
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2023-05-30 17:44:06 -07:00
Brad Davidson
93279d2f59
Bump klipper-lb to v0.4.4
...
Fixes issue with localhost access to ServiceLB when
ExternalTrafficPolicy=Local
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2023-05-30 17:38:59 -07:00
Brad Davidson
8f450bafe1
Bump helm-controller version for repo auth/ca support
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2023-05-10 14:57:37 -07:00
Brad Davidson
607cbf0ad6
Bump containerd to v1.7.0 and move back into multicall binary
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2023-05-10 08:34:03 -07:00
Derek Nola
c6dc789e25
Add support for -cover + integration test code coverage ( #7415 )
...
* Add support for -cover in k3s server
* Update codecov reporting
* Sigterm in StopK3sServer
Signed-off-by: Derek Nola <derek.nola@suse.com >
2023-05-08 12:46:51 -07:00
Brad Davidson
cedefeff24
Bump cni plugins to v1.2.0-k3s1
...
Also add bandwidth and firewall plugins. The bandwidth plugin is
automatically registered with the appropriate capability, but the
firewall plugin must be configured by the user if they want to use it.
Ref: https://www.cni.dev/plugins/current/meta/firewall/
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2023-05-04 13:58:42 -07:00
Brad Davidson
0bbc6ad3f0
Bump traefik to v2.9.10
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2023-04-28 11:13:47 -07:00
Derek Nola
ef648b7a5d
Bump Runc and Containerd ( #7339 )
...
* Bump runc
Signed-off-by: Derek Nola <derek.nola@suse.com >
* Bump to containerd, recombine build and go.mod version
Signed-off-by: Derek Nola <derek.nola@suse.com >
---------
Signed-off-by: Derek Nola <derek.nola@suse.com >
2023-04-28 09:37:32 -07:00
Brad Davidson
9539147ee1
Bump k3s-root for aarch64 page size fix
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2023-04-27 20:43:22 -07:00
Hussein Galal
30638072c9
Update klipper lb to v0.4.2 ( #7210 )
...
* Update klipper lb to v0.4.2
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* Update klipper lb to v0.4.3
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* Update klipper lb to v0.4.3 in airgap list
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
---------
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
2023-04-06 19:02:00 +02:00
Hussein Galal
127cea1f3f
Upgrade helm-controller to v0.13.3 ( #7209 )
...
* Upgrade helm-controller to v0.13.3
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
* Upgrade klipper-helm image in the airgap list
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
---------
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
2023-04-04 20:20:40 +02:00
Brad Davidson
de80c07053
Ensure that loopback is used for the advertised address when resetting
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2023-04-03 19:47:06 -07:00
Brad Davidson
eb982bbbde
Bump etcd to v3.5.7
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2023-04-03 17:00:30 -07:00
Brad Davidson
cee3ddbc4a
Bump Local Path Provisioner version ( #7167 )
...
* chore: Bump Local Path Provisioner version
* go generate
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-04-03 16:00:16 -07:00
Guilherme Macedo
ddd9665fed
Improve Trivy configuration ( #7154 )
...
Signed-off-by: Guilherme Macedo <guilherme.macedo@suse.com >
2023-04-03 14:09:21 -05:00