- 18 May, 2023 1 commit
-
-
Brian Downs authored
-
- 15 May, 2023 2 commits
-
-
Manuel Buil authored
[Release 1.24] Wrap error stating that it is coming from netpol
-
Manuel Buil authored
Signed-off-by:
Manuel Buil <mbuil@suse.com>
-
- 11 May, 2023 2 commits
-
-
Brad Davidson authored
Cherry-picked from ba62c79fSigned-off-by:
Brad Davidson <brad.davidson@rancher.com>
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com>
-
- 10 May, 2023 18 commits
-
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com>
-
Brad Davidson authored
As per https://github.com/golang/go/issues/47001 even subtle.ConstantTimeCompare should never be used with variable-length inputs, as it will return 0 if the lengths do not match. Switch to consistently using constant-time comparisons of hashes for password checks to avoid any possible side-channel leaks that could be combined with other vectors to discover password lengths. Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 239021e7)
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit b32bf495)
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit c98137dd)
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit cf9ebb32)
-
Brad Davidson authored
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> (cherry picked from commit cedefeff)
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit e61fde93)
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 91afb387)
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit f1b6a354)
-
Brad Davidson authored
Several places in the code used a 5-second retry loop to wait on Runtime.Core to be set. This caused a race condition where OnChange handlers could be added after the Wrangler shared informers were already started. When this happened, the handlers were never called because the shared informers they relied upon were not started. Fix that by requiring anything that waits on Runtime.Core to run from a cluster controller startup hook that is guaranteed to be called before the shared informers are started, instead of just firing it off in a goroutine that retries until it is set. Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit c44d33d2)
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 1ca035ac)
-
Brad Davidson authored
Don't set up the agent tunnel authorizer on agentless servers, and warn when agentless servers won't have a way to reach in-cluster endpoints. Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 31a63869)
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 5348b5e6)
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 0247794a)
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 0bbc6ad3)
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 9539147e)
-
Brad Davidson authored
Fixes an issue where CRDs were being created without schema, allowing resources with invalid content to be created, later stalling the controller ListWatch event channel when the invalid resources could not be deserialized. This also requires moving Addon GVK tracking from a status field to an annotation, as the GroupVersionKind type has special handling internal to Kubernetes that prevents it from being serialized to the CRD when schema validation is enabled. Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit ad41fb8c)
-
Derek Nola authored
* local-storage: Fix permission Signed-off-by:
Boleyn Su <boleyn.su@gmail.com> Signed-off-by:
Derek Nola <derek.nola@suse.com> Co-authored-by:
Boleyn Su <boleyn.su@gmail.com> Co-authored-by:
Brad Davidson <brad@oatmail.org>
-
- 09 May, 2023 3 commits
-
-
Ian Cardoso authored
This commit adds SearchK3sLog function to find specific strings in integration tests log file and also removes FindStringInCmdAsync function since it was not being used. Signed-off-by:
Ian Cardoso <osodracnai@gmail.com> (cherry picked from commit 3982213f) Signed-off-by:
Ian Cardoso <osodracnai@gmail.com>
-
Brooks Newberry authored
Signed-off-by:
Brooks Newberry <brooks@newberry.com> (cherry picked from commit bbda54b3) Signed-off-by:
Ian Cardoso <osodracnai@gmail.com>
-
Roberto Bonafiglia authored
Signed-off-by:
Roberto Bonafiglia <roberto.bonafiglia@suse.com>
-
- 08 May, 2023 1 commit
-
-
Derek Nola authored
Signed-off-by:
Derek Nola <derek.nola@suse.com>
-
- 05 May, 2023 2 commits
-
-
Manuel Buil authored
[Release 1.24] Migrate netutil methods into /utils/net.go
-
Manuel Buil authored
Signed-off-by:
Manuel Buil <mbuil@suse.com>
-
- 02 May, 2023 3 commits
-
-
Derek Nola authored
* Handle multiple arguments with StringSlice flags (#7380) * Add helper function for multiple arguments in stringslice * Cleanup server setup with util function Signed-off-by:
Derek Nola <derek.nola@suse.com> * Enable FindString to search dotD config files (#7323) * Enable FindString to search dotD config files * Address multiple arg cases Signed-off-by:
Derek Nola <derek.nola@suse.com>
-
Ian Cardoso authored
Add integration tests for etc-snapshot server flags and refactor /tests/integration/integration.go/K3sStartServer (#7300) This adds integration tests for the following flags: "--etcd-snapshot-name","--etcd-snapshot-dir","--etcd-snapshot-retention","--etcd-snapshot-schedule-cron" and "--etcd-snapshot-compress". It also refactors K3sStartServer to stop applying strings.Fields() into inputArgs, so it can accept arguments that have space in their definition. Signed-off-by:
Ian Cardoso <osodracnai@gmail.com> (cherry picked from commit 1ac03aad)
-
Derek Nola authored
* Add containerd testlet to startup integration * Fix all log dumps * Stop server gracefully Signed-off-by:
Derek Nola <derek.nola@suse.com>
-
- 01 May, 2023 1 commit
-
-
Derek Nola authored
* Initial drone vagrant pipeline Signed-off-by:
Derek Nola <derek.nola@suse.com> * Build e2e test image * Add ci flag to secretsencryption * Fix vagrant log on secretsencryption * Add cron conformance pipeline * Add string output for nodes * Switch snapshot restore for upgrade cluster Signed-off-by:
Derek Nola <derek.nola@suse.com> * Added IPv6 check and agent restart on e2e test utils Signed-off-by:
Roberto Bonafiglia <roberto.bonafiglia@suse.com> * Drone: Cleanup E2E VMs on test panic (#7104) * Cleanup leftover VMs in E2E pipeline * Clean E2E VMs before testing (#7109) * Cleanup VMs proper Signed-off-by:
Derek Nola <derek.nola@suse.com> * Dont run most pipelines on nightly cron * Improve RunCmdOnNode error * Pin upgradecluster to v1.24 Signed-off-by:
Derek Nola <derek.nola@suse.com> --------- Signed-off-by:
Derek Nola <derek.nola@suse.com> Signed-off-by:
Roberto Bonafiglia <roberto.bonafiglia@suse.com> Co-authored-by:
Roberto Bonafiglia <roberto.bonafiglia@suse.com>
-
- 13 Apr, 2023 1 commit
-
-
Brian Downs authored
-
- 12 Apr, 2023 2 commits
-
-
Roberto Bonafiglia authored
Signed-off-by:
Roberto Bonafiglia <roberto.bonafiglia@suse.com>
-
Roberto Bonafiglia authored
Signed-off-by:
Roberto Bonafiglia <roberto.bonafiglia@suse.com>
-
- 06 Apr, 2023 2 commits
-
-
Hussein Galal authored
* Update klipper lb and helm-controller Signed-off-by:
galal-hussein <hussein.galal.ahmed.11@gmail.com> * update klipper helm image Signed-off-by:
galal-hussein <hussein.galal.ahmed.11@gmail.com> --------- Signed-off-by:
galal-hussein <hussein.galal.ahmed.11@gmail.com>
-
Roberto Bonafiglia authored
Signed-off-by:
Roberto Bonafiglia <roberto.bonafiglia@suse.com>
-
- 05 Apr, 2023 2 commits
-
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit d95980bb) Signed-off-by:
Brad Davidson <brad.davidson@rancher.com>
-
Brad Davidson authored
Signed-off-by:
Brad Davidson <brad.davidson@rancher.com> (cherry picked from commit 2992477c) Signed-off-by:
Brad Davidson <brad.davidson@rancher.com>
-