Commit Graph

21 Commits

Author SHA1 Message Date
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
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
Brad Davidson ac09a00de7 Fix image tag
Workflow is triggered on tag, not release, so we can't use
release.tag_name. Also, need to use TARGETARCH instead of ARCH for
multiplatform builds.

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
Sheogorath 097fe71742 fix: Drop unneeded reorder surpression
This patch drops the deprecated flag for output reordering. This causes
the output to be ordered properly instead of following the order of the
resource list.

References:
https://kubectl.docs.kubernetes.io/references/kustomize/kustomization/sortoptions/#legacy-sorting
2024-03-07 23:29:40 -08: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
Brad Davidson 247afde0c3 Update e2e test config
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2023-04-19 16:22:57 -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
Brad Davidson bc2daa5002 Add CRD manifest as build artifact
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2022-03-03 09:35:36 -08: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 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 81b18094e8 munge plan.status.latestVersion
This fixes the use case where a channel resolves to (or a version value is) a legitimate SemVer with metadata by replacing all `+` with `-`.
i.e. in the case of k3s, git tag v1.17.2+k3s1 as the version becomes the docker tag v1.17.2-k3s1

Fixes #28
2020-02-13 17:18:22 -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 64e51c9fa5 testing: unit tests leveraging ginkgo and gomega 2020-02-04 09:48:27 -07:00
Jacob Blain Christen 82b6733a94 updated build scripts enabling automatic publishing of binaries 2020-01-30 12:34:07 -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 e375fe769d work around drone and manually build multi-arch 2020-01-15 17:41:47 -07:00
Jacob Blain Christen e7e3e83e11 prepare for first release
Fixes #1
2020-01-14 16:50:01 -07:00
Jacob Blain Christen 968cf52541 initial commit 2020-01-05 22:46:52 -07:00