Commit Graph

23 Commits

Author SHA1 Message Date
Swastik Gour 185ff9f785
added k8s-1.33-support (#370)
* added k8s-1.33-support

Signed-off-by: swastik959 <Sswastik959@gmail.com>

* added corrections

Signed-off-by: swastik959 <Sswastik959@gmail.com>

* un-rced wrangler and lasso

Signed-off-by: swastik959 <Sswastik959@gmail.com>

---------

Signed-off-by: swastik959 <Sswastik959@gmail.com>
2025-07-10 12:23:44 -04:00
Brad Davidson 42e0dc31ba Add API docs
Also clean up some of the api spec for better documentation, and fix
tests.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-06-30 17:07:33 -07:00
Brad Davidson 355252512c Migrate CRD generation to controller-gen
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-06-30 17:07:33 -07:00
Brad Davidson 42d77ed9b8 Bump component versions in Dockerfiles
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-06-30 17:07:33 -07:00
Jack Luo b1a9781acc
support k8s 1.32.2 and fix e2e tests(#352) 2025-03-05 17:01:50 -07:00
Jiaqi Luo c303e94418 bump go to 1.23 and k8s to 1.31.1 2024-10-22 14:25:08 -07:00
Brad Davidson 61d715d07a Re-add arm support and fix target arch for non-amd64 platforms
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2024-09-25 17:31:04 -07:00
Harsimran Singh Maan 3c5598c1ef Upgrade dependencies
Some Golang CVEs get flagged in the suc binary as it was built with an
older golang version. Use go 1.22.6
Updating other go module deps.
SLES update is required for libc compatiblity with latest ginkgo
version.

Update golangci-lint. Most gingko and gomega changes are to fix linting
failures.
Update sonobuoy

docker bridge address is added to tls-san to avoid cert errors when
using the client to connect the KUBEHOST.

Drop deprecated version field in the docker compose manifests.

It is recommended that the next release be v0.15.0 as 0.14.0 was already
published and deleted in the past and gosumdb already has entries.
2024-08-26 17:26:41 -07:00
matttrach f82866e5cb
Fix: upgrade go in go.mod and bci image
Signed-off-by: matttrach <matttrach@gmail.com>
2023-10-18 16:36:57 -05:00
Brooks Newberry 0ffe0d0ca0
install buildx
Signed-off-by: Brooks Newberry <brooks@newberry.com>
2023-07-21 12:15:59 -07:00
Brad Davidson 9e7e45c1bd Bump to wrangler v1.1.1 / Kubernetes 1.25 / ginkgo 2
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2023-05-25 14:15:44 -07:00
thomasferrandiz 27ff123e53
Migrate to SLE BCI images (#193)
* migrate to SLE BCI images

* remove arm pipeline

We do not need to build for armv7 anymore and there are no SLE BCI images available for it.
2022-04-25 12:22:15 -07:00
thomasferrandiz 8dda958161 Upgrade sononuoy to 0.56.2
The path for the results directory changed so the junit results file path needs to change.
2022-03-18 15:52:11 -07:00
Thomas Ferrandiz 8c2a88392e Add support for s390x 2022-03-18 15:52:11 -07:00
Jacob Blain Christen fdf6400a1a
kubernetes: v1.18.20 (#140)
- rancher/kubectl:v1.18.20
- sonobuoy/sonobuoy:v0.18.5
- k3s:v1.18.20+k3s1

Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2021-09-12 18:49:47 -07:00
Jacob Blain Christen c70c6e091d
golang: 1.16.8 on alpine 3.14 (#139)
- ginkgo v1.16.4
- gomega v1.16.0
- golangci v1.41.1
- revive v1.1.1

Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2021-09-12 17:22:35 -07:00
Darren Shepherd a04e2061be
Make pkg/apis a go module (#102)
* Make pkg/apis a go module

system-upgrade-controller depends on k8s.io/kubernetes which makes it very
difficult to include as a dependency from another project. The main reason
a project would want to have a go dependency on system-upgrade-controller
would be for the types. This makes the apis package a first class module
that one can depend on without having to depend on k8s.io/kubernetes

* Swith to vendorless
2020-08-25 07:55:42 -07:00
Jacob Blain Christen fd6140e36f build: sidestep kustomize v3.5.5
Because that build done broke. Pinned to 3.5.4 for now.
2020-05-20 16:08:39 -07:00
Jacob Blain Christen 36d625e383 prepare for v0.4.0
Fixes #51
2020-03-25 00:00:49 -07:00
Jacob Blain Christen d0b684b5b3
fix replace wait errors and rate limiting (#30)
This is a decent-sized refactor, primarily in how the controller is setup, that I think enhances readability. Additionally, wrangler has been upgraded which now supports openapi schema creation so norman has been dropped.

Primarily, however, this change is meant to address #25 (and possibly #36) caused by a bug in wrangler that:
- prevented the controller from properly replacing jobs that could not be patched (pod tempalte spec changes)
- prevented the controller from replacing a job generated with the `apply.WithNoDelete` option
- prevented the controller from processing external plan edits in a timely manner (no more long waits due to spurious replace-wait errors)

Fixes #25
Fixes #34

Depends on rancher/wrangler#66
2020-02-25 12:42:24 -07:00
Jacob Blain Christen b53bd3bac0 testing: sonobuoy plugin for e2e testing
- includes removal of controller serviceAccountName references and envvar
- image tarballs a la `docker save` are added to dist/artifacts
- sonobuoy plugin yaml added to dist/artifacts
- introduces e2e-tests tag suffix image that can be used for the sonobuoy plugin
2020-02-10 10:45:39 -07:00
Jacob Blain Christen 0e77c79550 secrets support
- Add `secrets` references to **Plan** spec. Changes in referenced `secrets` can trigger re-application of a **Plans**.
- The label that a **Plan** places on an applied `node` is no longer the `status.latestVersion` but is instead a sha224 digest of `status.latestVersion` and the key-order-value(s) of each secret's `data` in the order each `secret` is specified. This value is represented as `status.latestHash`
2020-01-29 13:55:38 -07:00
Jacob Blain Christen 968cf52541 initial commit 2020-01-05 22:46:52 -07:00