Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release-1.28] Backports for 2024-06 release cycle #10258

Merged
merged 31 commits into from
May 31, 2024

Commits on May 30, 2024

  1. Add WithSkipMissing to not fail import on missing blobs

    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    (cherry picked from commit 5f6b813)
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    brandond committed May 30, 2024
    Configuration menu
    Copy the full SHA
    27be6e0 View commit details
    Browse the repository at this point in the history
  2. Use fixed stream server bind address for cri-dockerd

    Will now use 127.0.0.1:10010, same as containerd's CRI
    
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    (cherry picked from commit 7374010)
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    brandond committed May 30, 2024
    Configuration menu
    Copy the full SHA
    01ae8c0 View commit details
    Browse the repository at this point in the history
  3. Switch stargz over to cri registry config_path

    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    (cherry picked from commit 30999f9)
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    brandond committed May 30, 2024
    Configuration menu
    Copy the full SHA
    8e0782d View commit details
    Browse the repository at this point in the history
  4. Bump containerd to v1.7.17

    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    (cherry picked from commit aaa5787)
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    brandond committed May 30, 2024
    Configuration menu
    Copy the full SHA
    84c548f View commit details
    Browse the repository at this point in the history
  5. bump etcd to v3.5.13

    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    (cherry picked from commit bf8b15e)
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    brandond committed May 30, 2024
    Configuration menu
    Copy the full SHA
    844eef3 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2024

  1. Bump spegel version

    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    (cherry picked from commit 5cf4d75)
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    brandond committed May 31, 2024
    Configuration menu
    Copy the full SHA
    698f8e5 View commit details
    Browse the repository at this point in the history
  2. Fix issue with local traffic policy for single-stack services on dual…

    …-stack nodes.
    
    Just enable IP forwarding for all address families regardless of service address families.
    
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    (cherry picked from commit 095ecdb)
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    brandond committed May 31, 2024
    Configuration menu
    Copy the full SHA
    153658a View commit details
    Browse the repository at this point in the history
  3. Update local-path-provisioner helper script

    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    (cherry picked from commit b453630)
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    brandond committed May 31, 2024
    Configuration menu
    Copy the full SHA
    30fcc4f View commit details
    Browse the repository at this point in the history
  4. Add support for svclb pod PriorityClassName

    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    (cherry picked from commit 37f97b3)
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    brandond committed May 31, 2024
    Configuration menu
    Copy the full SHA
    3b10b93 View commit details
    Browse the repository at this point in the history
  5. bump minio-go to v7.0.70

    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    (cherry picked from commit afdcc83)
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    brandond committed May 31, 2024
    Configuration menu
    Copy the full SHA
    402765d View commit details
    Browse the repository at this point in the history
  6. Bump kine to v0.11.9 to fix pagination

    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    (cherry picked from commit 2669d67)
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    brandond committed May 31, 2024
    Configuration menu
    Copy the full SHA
    43fc0de View commit details
    Browse the repository at this point in the history
  7. Validate resolv.conf for presence of nameserver entries

    Co-authored-by: Brad Davidson <brad@oatmail.org>
    Signed-off-by: linxin <linxin@geedgenetworks.com>
    (cherry picked from commit f24ba9d)
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    linxin and brandond committed May 31, 2024
    Configuration menu
    Copy the full SHA
    aeb0cbf View commit details
    Browse the repository at this point in the history
  8. add missing kernel config check

    Signed-off-by: zouxianyu <2979121738@qq.com>
    (cherry picked from commit c1cb5d6)
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    zouxianyu authored and brandond committed May 31, 2024
    Configuration menu
    Copy the full SHA
    5ab31b1 View commit details
    Browse the repository at this point in the history
  9. Follow directory symlinks in auto deploying manifests (k3s-io#9288)

    Signed-off-by: Robert Rose <robert.rose@mailbox.org>
    (cherry picked from commit 6886c09)
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    rorosen authored and brandond committed May 31, 2024
    Configuration menu
    Copy the full SHA
    b19afea View commit details
    Browse the repository at this point in the history
  10. allow helm controller set owner reference

    Signed-off-by: huangzy <huangzynn@outlook.com>
    (cherry picked from commit 6fcaad5)
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    huangzynn authored and brandond committed May 31, 2024
    Configuration menu
    Copy the full SHA
    61896c1 View commit details
    Browse the repository at this point in the history
  11. Bump klipper-helm image for tls secret support

    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    (cherry picked from commit 6683fcd)
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    brandond committed May 31, 2024
    Configuration menu
    Copy the full SHA
    4309397 View commit details
    Browse the repository at this point in the history
  12. 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 eb19219)
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    ag6221254 authored and brandond committed May 31, 2024
    Configuration menu
    Copy the full SHA
    e0d9d3b View commit details
    Browse the repository at this point in the history
  13. Fix issue with k3s-etcd informers not starting

    Start shared informer caches when k3s-etcd controller wins leader election. Previously, these were only started when the main k3s apiserver controller won an election. If the leaders ended up going to different nodes, some informers wouldn't be started
    
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    (cherry picked from commit 3d14092)
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    brandond committed May 31, 2024
    Configuration menu
    Copy the full SHA
    22229d7 View commit details
    Browse the repository at this point in the history
  14. Add proctitle package with linux and windows constraints

    Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
    (cherry picked from commit 48ff3bc)
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    galal-hussein authored and brandond committed May 31, 2024
    Configuration menu
    Copy the full SHA
    a4e37e3 View commit details
    Browse the repository at this point in the history
  15. Refactor supervisor listener startup and add metrics

    * Refactor agent supervisor listener startup and authn/authz to use upstream
      auth delegators to perform for SubjectAccessReview for access to
      metrics.
    * Convert spegel and pprof handlers over to new structure.
    * Promote bind-address to agent flag to allow setting supervisor bind
      address for both agent and server.
    * Promote enable-pprof to agent flag to allow profiling agents. Access
      to the pprof endpoint now requires client cert auth, similar to the
      spegel registry api endpoint.
    * Add prometheus metrics handler.
    
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    (cherry picked from commit ff679fb)
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    brandond committed May 31, 2024
    Configuration menu
    Copy the full SHA
    6953447 View commit details
    Browse the repository at this point in the history
  16. Convert remaining http handlers over to use util.SendError

    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    (cherry picked from commit f8e0648)
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    brandond committed May 31, 2024
    Configuration menu
    Copy the full SHA
    1340af4 View commit details
    Browse the repository at this point in the history
  17. Update golangci-lint to stop using deprecated skip files/dirs

    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    (cherry picked from commit 2eca3f1)
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    brandond committed May 31, 2024
    Configuration menu
    Copy the full SHA
    165aa72 View commit details
    Browse the repository at this point in the history
  18. Bump alpine from 3.18 to 3.20 in /conformance

    Bumps alpine from 3.18 to 3.20.
    
    ---
    updated-dependencies:
    - dependency-name: alpine
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    (cherry picked from commit de4cda5)
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    dependabot[bot] authored and brandond committed May 31, 2024
    Configuration menu
    Copy the full SHA
    756e636 View commit details
    Browse the repository at this point in the history
  19. Bump alpine from 3.18 to 3.20 in /package

    Bumps alpine from 3.18 to 3.20.
    
    ---
    updated-dependencies:
    - dependency-name: alpine
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    (cherry picked from commit 86875c9)
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    dependabot[bot] authored and brandond committed May 31, 2024
    Configuration menu
    Copy the full SHA
    0dd091a View commit details
    Browse the repository at this point in the history
  20. Use busybox tar to avoid issues with fchmodat2 on arm

    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    (cherry picked from commit 84b578e)
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    brandond committed May 31, 2024
    Configuration menu
    Copy the full SHA
    7b9b29b View commit details
    Browse the repository at this point in the history
  21. Bump ubuntu from 22.04 to 24.04 in /tests/e2e/scripts

    Bumps ubuntu from 22.04 to 24.04.
    
    ---
    updated-dependencies:
    - dependency-name: ubuntu
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    (cherry picked from commit 4cb4542)
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    dependabot[bot] authored and brandond committed May 31, 2024
    Configuration menu
    Copy the full SHA
    8421538 View commit details
    Browse the repository at this point in the history
  22. chore: Bump Trivy version

    Made with ❤️️ by updatecli
    
    (cherry picked from commit f2e7c01)
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    github-actions[bot] authored and brandond committed May 31, 2024
    Configuration menu
    Copy the full SHA
    8a1f557 View commit details
    Browse the repository at this point in the history
  23. Fix netpol crash when node remains tained unintialized

    It is concievable that users might take more than 60 seconds to deploy their own cloud-provider. Instead of exiting, we should wait forever, but with more logging to indicate what's being waited on.
    
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    (cherry picked from commit ed23a2b)
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    brandond committed May 31, 2024
    Configuration menu
    Copy the full SHA
    5f0c7c7 View commit details
    Browse the repository at this point in the history
  24. Fix issue caused by sole server marked as failed under load

    If health checks are failing for all servers, make a second pass through the server list with health-checks ignored before returning failure
    
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    (cherry picked from commit ca39614)
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    brandond committed May 31, 2024
    Configuration menu
    Copy the full SHA
    eac7c7b View commit details
    Browse the repository at this point in the history
  25. Fix embedded mirror blocked by SAR RBAC and re-enable test

    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    brandond committed May 31, 2024
    Configuration menu
    Copy the full SHA
    9249260 View commit details
    Browse the repository at this point in the history
  26. Add write-kubeconfig-group flag to server (k3s-io#9233)

    * Add write-kubeconfig-group flag to server
    * update kubectl unable to read config message for kubeconfig mode/group
    
    Signed-off-by: Katherine Pata <me@kitty.sh>
    (cherry picked from commit 7a0ea3c)
    Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
    kittydoor authored and brandond committed May 31, 2024
    Configuration menu
    Copy the full SHA
    ea47376 View commit details
    Browse the repository at this point in the history