* build: upgrade the Go toolchain to 1.27.4
Signed-off-by: Ilya Kislenko <ikislenko@nvidia.com>
* ci: pin internal-config tools outside Ubuntu mirrors
Ubuntu mirror DNS repeatedly prevented the required scanner from running. Extract checksum-pinned ripgrep and current PCRE2 packages from an immutable Debian snapshot, with the library path scoped to the checker step. Preserve the existing scan and merge-gate policy.
Signed-off-by: Ilya Kislenko <ikislenko@nvidia.com>
* ci: restore the existing Ubuntu package setup
Remove the unnecessary custom ripgrep action and Debian snapshot package pins. Restore the original apt installation and keep this pull request focused on the Go 1.27.4 upgrade.
Signed-off-by: Ilya Kislenko <ikislenko@nvidia.com>
---------
Signed-off-by: Ilya Kislenko <ikislenko@nvidia.com>
Go 1.27.3 fixes CVE-2026-111943 (golang/go#82345). crypto/x509 stops
trusting a small set of intermediate CA certificates, and
Certificate.Verify drops chains that contain them. Every shipped
binary verifies TLS chains through crypto/x509.
go.work names 1.27.3 and make go-version-sync carries it to each
member go.mod. The golang base images move to 1.27.3 with their new
index digests.
Signed-off-by: dbudris <dbudris@nvidia.com>
One proxy.golang.org stream reset fails a go install, go mod download or builder-stage build, because the default GOPROXY falls back only on 404/410. The `|` separator falls back on any proxy error; set it in the Dockerfile Go stages, lint, govulncheck and the nfpm install.
Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com>
Go 1.27.2 carries security fixes in html/template, net/http, HTTP/2,
net/textproto, crypto/tls, and two cmd/go checksum bypasses.
golangci-lint moves with it. Go 1.27.2 writes compiler export data
version 5, which v2.13.2 cannot read, so lint failed on every module.
v2.14.0's loggercheck flags slog values that may panic when nil; agent
now logs bundle versions through a nil-safe utils.VersionString.
Signed-off-by: dbudris <dbudris@nvidia.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(e2e): pull host image builds through the Docker Hub mirror
The lanes already route pulls inside the Kind nodes and Helm through NKE_E2E_DOCKERHUB_MIRROR, but the host docker builds that make the controller, profiles, DSX mock, capd-reboot-controller and CAPD node images still resolved their bases from docker.io. The arm64 ARC runners share one egress address and their dind daemon has no mirror, so those builds hit 429 as soon as a few lanes ran at once: eight arm64 legs between 22:47Z and 22:59Z on 2026-10-02. Read each Dockerfile's docker.io ARG defaults and pass them as build-args on the mirror; give capd-reboot-controller and the node image the ARG they lacked; pull kindest/node through the mirror too. nico-vms gets the same variable.
Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com>
* fix(e2e): mirror the two remaining Docker Hub pulls and fix the mirror probe
The first mirror runs of this change still showed two docker.io pulls. The nkectl bootstrap lane builds the controller image with nerdctl directly in the workflow, outside the lane scripts, and configureDockerHubMirror covers the bootstrap cluster's node rather than the host's containerd; it now passes the same build-args. The CAPNICo provider image is built from the staged module, whose Dockerfile names golang directly with no ARG; install-capnico.sh now feeds BuildKit a copy on stdin with official-image bases pointed at the mirror. build-image.sh's reachability probe treated the registry's 401 token challenge as no answer; it now accepts 200 and 401.
Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com>
---------
Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com>
* build: bump Go to 1.27.1 and warn when Flox lacks the go.work version
go.work, the Flox manifest and every golang: Dockerfile image move to
1.27.1. Flox's plain `go` package tops out at 1.26.7, so the manifest now
uses go_1_27 and leaves the patch version to the lock. The old lock was
still on 1.26.5 because 1.26.8 was never in the catalog.
Go 1.27 moves the standard library to Unicode 17, so:
- charlievieth/strcase goes to v0.0.6, which carries Unicode 17 tables;
v0.0.5 panics at init. Re-vendored and notices regenerated.
- golangci-lint goes to v2.13.2, built with Go 1.27; v2.12.2 panics.
Its new gofumpt, nolintlint and staticcheck findings are fixed.
flox-go-version.yml runs in the ghcr.io/flox/flox image when go.work
changes and warns if `flox show go_1_NN` does not list the version.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Cullen McDermott <9535761+cullenmcdermott@users.noreply.github.com>
* fix(provisioned): replace deprecated Requeue with RequeueAfter
golangci-lint v2.13.2 reports ctrl.Result.Requeue as deprecated. The three
immediate retries now use a one-second retryNow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Cullen McDermott <9535761+cullenmcdermott@users.noreply.github.com>
---------
Signed-off-by: Cullen McDermott <9535761+cullenmcdermott@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Bumps the docker-images group with 1 update in the /agent directory: golang.
Bumps the docker-images group with 1 update in the /agent/internal-scripts/docker directory: golang.
Bumps the docker-images group with 1 update in the /controller/hack/capd-reboot-controller directory: golang.
Updates `golang` from 1.26.7 to 1.26.8
Updates `golang` from 1.26.7-bookworm to 1.26.8-bookworm
Updates `golang` from 1.26.7-alpine to 1.26.8-alpine
---
updated-dependencies:
- dependency-name: golang
dependency-version: 1.26.8
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: docker-images
- dependency-name: golang
dependency-version: 1.26.8-bookworm
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: docker-images
- dependency-name: golang
dependency-version: 1.26.8-alpine
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: docker-images
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps the docker-images group with 1 update in the /controller/hack directory: kindest/node.
Bumps the docker-images group with 1 update in the /controller/hack/capd-reboot-controller directory: golang.
Updates `kindest/node` from v1.34.8 to v1.36.1
Updates `golang` from 1.26.6-alpine to 1.26.7-alpine
---
updated-dependencies:
- dependency-name: kindest/node
dependency-version: v1.36.1
dependency-type: direct:production
dependency-group: docker-images
- dependency-name: golang
dependency-version: 1.26.7-alpine
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: docker-images
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build: bump the docker-images group across 9 directories with 3 updates
Bumps the docker-images group with 1 update in the /agent directory: golang.
Bumps the docker-images group with 1 update in the /controller/hack/capd-reboot-controller directory: golang.
Bumps the docker-images group with 1 update in the /controller/internal/temporal/activities directory: dns/k8s-dns-node-cache.
Bumps the docker-images group with 1 update in the /generated/aicr/observability/helm/002-postgresql directory: library/postgres.
Bumps the docker-images group with 1 update in the /generated/aicr/observability/helm/data/components/postgresql directory: library/postgres.
Bumps the docker-images group with 1 update in the /generated/aicr/quickstart/argocd/002-postgresql directory: library/postgres.
Bumps the docker-images group with 1 update in the /generated/aicr/quickstart/argocd/data/components/postgresql directory: library/postgres.
Bumps the docker-images group with 1 update in the /generated/aicr/quickstart/helm/002-postgresql directory: library/postgres.
Bumps the docker-images group with 1 update in the /generated/aicr/quickstart/helm/data/components/postgresql directory: library/postgres.
Updates `golang` from `640a234` to `0d1d3a7`
Updates `golang` from `af8d674` to `3889b42`
Updates `dns/k8s-dns-node-cache` from 1.23.1 to 1.26.8
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
Updates `library/postgres` from 17.4 to 18.6
---
updated-dependencies:
- dependency-name: dns/k8s-dns-node-cache
dependency-version: 1.26.8
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: docker-images
- dependency-name: golang
dependency-version: 1.26.6
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: docker-images
- dependency-name: golang
dependency-version: 1.26.6-alpine
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: docker-images
- dependency-name: library/postgres
dependency-version: '18.6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: docker-images
- dependency-name: library/postgres
dependency-version: '18.6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: docker-images
- dependency-name: library/postgres
dependency-version: '18.6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: docker-images
- dependency-name: library/postgres
dependency-version: '18.6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: docker-images
- dependency-name: library/postgres
dependency-version: '18.6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: docker-images
- dependency-name: library/postgres
dependency-version: '18.6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: docker-images
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix: update postgres digest to match 18.6 tag
Dependabot bumped the tag from 17.4 to 18.6 but left the digest
pointing at the 17.4 image. Update all nine affected files to the
correct sha256 digest for docker.io/library/postgres:18.6.
Signed-off-by: gpg: Signature made Tue Aug 18 09:22:55 2026 MDTgpg: using RSA key B5690EEEBB952194gpg: Can't check signature: No public keyDavanum Srinivas <thowe@nvidia.com>
* fix: keep postgres data on the mounted volume under 18.x
postgres:18 moved PGDATA from /var/lib/postgresql/data to
/var/lib/postgresql/18/docker and made the old path fatal: the entrypoint
refuses to start when it finds a mount there, even an empty one. Verified
against postgres:18.6 with an empty directory mounted at the old path --
the container exits 1 before initdb.
The bundles mount their emptyDir at /var/lib/postgresql/data, so the 17.4
-> 18.6 bump alone would leave postgresql in CrashLoopBackOff. Pin PGDATA
back to the mounted path, which keeps the data directory on the volume and
its 1Gi sizeLimit meaningful.
Signed-off-by: Terry Howe <thowe@nvidia.com>
* chore: refresh aicr bundle checksums after the postgres bump
The bump edited rendered bundle contents without updating the integrity
manifest each bundle ships, so `sha256sum -c checksums.txt` failed on 9
files across the three bundles. All three now verify clean again.
Signed-off-by: Terry Howe <thowe@nvidia.com>
* chore: bump dev-env postgres to 18.6
Keeps the local dev database on the same major version as the bundles.
The container takes no volume mount, so the PGDATA relocation in 18.x
does not apply here.
Signed-off-by: Terry Howe <thowe@nvidia.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: gpg: Signature made Tue Aug 18 09:22:55 2026 MDTgpg: using RSA key B5690EEEBB952194gpg: Can't check signature: No public keyDavanum Srinivas <thowe@nvidia.com>
Signed-off-by: Terry Howe <thowe@nvidia.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: gpg: Signature made Tue Aug 18 09:22:55 2026 MDTgpg: using RSA key B5690EEEBB952194gpg: Can't check signature: No public keyDavanum Srinivas <thowe@nvidia.com>
* chore(license): normalise SPDX headers to Apache-2.0 [machine generated]
MACHINE GENERATED. Every added line in this commit is
`SPDX-License-Identifier: Apache-2.0` and nothing else; every removed line is
the identifier it replaces, or the notice paragraph that followed it. Verified:
0 added lines are anything other than that SPDX line.
829 files. The repository ships Apache-2.0 -- LICENSE says so and GitHub
reports it -- while 676 Go files and 153 others declared a different
identifier, followed by a notice that contradicted it.
The copyright line, the comment style and the indentation are left alone. Files
carrying the short form, two SPDX lines with no notice paragraph, have the
identifier swapped and nothing else.
Markdown is excluded: there the identifier appears in prose describing the
mismatch rather than in a header, so rewriting it would turn the sentence into
a tautology. That file is handled in the next commit.
Three shapes needed care, and each is worth knowing about if this is ever
repeated. controller/api/prepend-license.go carries the block inside a Go raw
string, so the paragraph's last line ends with a backtick; the closing
delimiter is carried back onto the SPDX line rather than dropped, or the string
would be left unterminated. Two shell scripts under controller/hack/ word the
final sentence differently, so matching on the common ending alone misses them.
And controller/.golangci.yml prefixes each line with "# //", which has to be
stripped before the paragraph text can be recognised.
The templates that produce these headers are rewritten here too, so this commit
is self-consistent: the five addlicense boilerplates, the five goheader
templates in .golangci.yml, and the block in prepend-license.go. Every header
in the tree now names the same identifier.
Review the next commit. This one is a substitution.
Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com>
* fix(license): one header template, and a check that reads it
The previous commit fixed the headers. This one stops them drifting again, and
is the part worth reviewing.
Nothing here could catch a header that named the wrong licence. addlicense only
ADDS a header to a file that has none; it never rewrites one already present.
So `make file-license-check` runs addlicense, finds every file already stamped,
produces no diff, and passes -- whatever the header says. agent/ is the proof:
its template and its check have both been correct all along, and six of its
files disagreed with them.
Three mechanisms defined the header and could disagree with each other: an
addlicense boilerplate per module, a goheader template in five .golangci.yml
files, and a hardcoded block in controller/api/prepend-license.go that stamps
generated API code. They are now one file, hack/license-header.tmpl, and every
module reads it.
make license-header-check replaces the per-module matrix and asserts two things
rather than one: that a header exists, and that it names Apache-2.0. The second
assertion is what this repository never had. Verified by planting a different
identifier in a file and confirming the check fails and names it.
Modules resolve the template through `git rev-parse --show-toplevel`, not a
relative path. A relative ../hack path silently changes meaning when a module
moves, which is how cli/ broke when it moved out of controller/.
The file set is the union of what the per-module targets already ignored, so
this covers exactly the files stamped today. 120 files carry no header at all
-- generated output, testdata, fixtures, build tooling, three .github files --
and widening the set to reach them is a separate change. Mixing headers that
are WRONG with headers that are MISSING would hide both.
Dockerfiles stay out: addlicense keys off the file extension and gives
Dockerfile.proto C-style // comments, which Docker cannot parse.
AGENTS.md's licence-header rule now describes the current state: one identifier,
added by `make license` rather than copied from a neighbouring file. The ban on
relicensing as a side effect of unrelated work stays.
The header-check job is renamed from "License headers (<module>)" to "License
headers". The merge gate calls this workflow whole rather than naming its jobs,
and the branch ruleset requires only `gate` and `DCO`, so no required check
changes name.
Verified: GOPROXY=off make build links all five binaries with no credentials;
golangci-lint goheader reports 0 issues on cli and controller; `make license`
is a no-op in all five modules; make license-header-check passes over 828 files
and fails on a planted mismatched header.
Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com>
stderr is not captured when reading addlicense's output. addlicense prints the
offending paths to stdout, while `go run` writes "go: downloading ..." on a
cold module cache and "exit status 1" on failure -- both to stderr. Folding the
two together reports a module download as a file with no header, which is how
the first CI run of this check failed while passing on a machine whose cache
was already warm. Reproduced locally against an empty GOMODCACHE.
Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com>
---------
Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com>
A tag is mutable, so golang:1.26.6 can be repointed and nothing here would
notice. Three Dockerfiles now pin the digest beside the tag:
golang:1.26.6 sha256:640a234f4bea3e...
golang:1.26.6-alpine sha256:af8d6740070b89...
golang:1.26.6-bookworm sha256:116d58cbd88c12...
All three are multi-platform indexes (8, 7 and 5 platforms), so pinning does not
fix the architecture. nke-builder is the one image built for two arches and is
unaffected.
The four ${BASE_REGISTRY} lines are deliberately left on tags. Dependabot cannot
parse a FROM whose registry is a variable: the open bot branch
dependabot/docker/agent/docker-images-34309e47e8 bumps all three bare
FROM golang: lines and skips every ${BASE_REGISTRY} one. The same branch updates
otel/weaver's tag and digest together, so tag@digest is fine wherever the line
is readable. Pinning those four would freeze them at a digest nothing moves,
and lose the in-place rebuilds that deliver base-OS CVE fixes under one patch
tag. The reason is recorded in controller/Dockerfile.
Separately, controller/hack/nico-mock/Dockerfile ran on alpine:3.21.6 while the
other two used 3.21.7. That image is one of the two CI builds for real. It had
been stale for four months, which is the same Dependabot blind spot. Moved to
3.21.7 and verified: the built controller reports 3.21.7.
kindest/node keeps its tag: it comes from an ARG. It could be pinned by moving
the whole reference into that ARG; not done here.
Verified: each digest re-checked against its tag with `docker buildx imagetools
inspect`; all six Dockerfiles pass `docker build --check`; nico-mock and the
controller build end to end.
Note that `docker build --check` does NOT verify a digest matches the tag beside
it -- a mismatched pair passes. The tags here are documentation, and only the
digests bind.
Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com>
* build: move every Go toolchain pin to 1.26.6
go1.26.6 carries standard-library CVE fixes. What compiles a binary is
what determines whether it has them, so this moves the toolchain pins --
the container tags -- and nothing else.
agent/Dockerfile.nke-builder 1.26.5 -> 1.26.6
controller/Dockerfile 1.26.5 -> 1.26.6
controller/hack/capd-reboot-controller/Dockerfile 1.26.5 -> 1.26.6 (alpine)
controller/hack/nico-mock/Dockerfile 1.25.12 -> 1.26.6
agent/internal-scripts/docker/Dockerfile.proto 1.24 -> 1.26.6 (bookworm)
The last two are more than a patch bump. nico-mock was a whole minor
behind and is one of the images CI actually builds; its go.mod floor is
1.25.12, which 1.26.6 satisfies, and the image builds clean. The proto
image only `go install`s two version-pinned protoc plugins and never
compiles this module, so it was harmless, but it is a published image
and there is no reason for it to ship a toolchain two minors old.
The `go` directives in go.mod and go.work are deliberately unchanged.
They are floors, not toolchain pins: `go 1.26.0` permits 1.26.6 and does
not request 1.26.0. Raising them would fix no CVE and would force every
consumer onto a newer minimum, which is a compatibility decision rather
than a security one.
Worth recording, because it inverts the usual assumption: the floating
`golang:1.26` tag does NOT yet carry the fix. Checked against the
registry -- `golang:1.26` runs go1.26.5 today while `golang:1.26.6` runs
go1.26.6 -- so a repository tracking the minor is still vulnerable until
Docker republishes. Pinning the patch is what actually delivers the fix
now.
Verified: `docker build --check` clean on all five Dockerfiles, and the
nico-mock image built for real across the minor jump.
Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com>
* ci: pin govulncheck to the toolchain we ship, not `stable`
The gate failed on the pull request that fixes the CVEs it reported,
which is the wrong way round:
stable version resolved as 1.26.5
Found in: encoding/asn1@go1.26.5 Fixed in: encoding/asn1@go1.26.6
setup-go resolves `stable` from GitHub's own version manifest, and that
lags an upstream Go release. So `stable` can be OLDER than the toolchain
in the Dockerfiles, and the scan then reports vulnerabilities the shipped
artefact does not have.
`stable` was chosen to avoid the opposite bug -- reading go.mod, whose
`go` directive is a floor, scanned the oldest Go the module allows. That
reasoning was right and the mechanism was wrong: `stable` is not "at
least what we ship", it is "whatever GitHub has published a manifest
entry for".
Pinning the same version the Dockerfiles use makes the scan report on
what we actually build. Verified: govulncheck on go1.26.6 reports no
vulnerabilities for the agent.
The cost is that a Go bump now touches the Dockerfiles and this file. A
single authoritative version source would remove that, and is worth doing
separately.
Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com>
* docs: drop references a reader of this repository cannot resolve
Six comments pointed at numbered items in a private working file. Anyone
reading them here has no way to look them up, so they read as authority
without content.
The facts they carried are already stated in place, so the pointers are
removed rather than replaced. Pull request numbers stay: those resolve.
Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com>
---------
Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com>
* build(deps): bump the Go dependencies of every workspace module
Applies the updates from Dependabot #79, #82, #83 in one change, so the
workspace is synchronised once instead of five times.
k8s.io/api, k8s.io/apimachinery, k8s.io/client-go 0.35.3 -> 0.36.3
sigs.k8s.io/controller-runtime 0.23.3 -> 0.24.1
github.com/getkin/kin-openapi 0.144.0 -> 0.146.0
github.com/go-jose/go-jose/v4 4.1.3 -> 4.1.4
github.com/go-logr/logr 1.4.3 -> 1.4.4
github.com/google/logger 1.1.1 -> 1.1.2
github.com/Masterminds/semver/v3 3.4.0 -> 3.5.0
github.com/moby/spdystream 0.5.0 -> 0.5.1
github.com/oapi-codegen/runtime 1.2.0 -> 1.6.0
github.com/onsi/ginkgo/v2 2.27.2 -> 2.32.0
github.com/onsi/gomega 1.38.2 -> 1.40.0
github.com/spiffe/go-spiffe/v2 2.6.0 -> 2.8.1
go.opentelemetry.io/otel 1.40.0 -> 1.41.0
golang.org/x/oauth2 0.34.0 -> 0.36.0
golang.org/x/sync 0.21.0 -> 0.22.0
google.golang.org/grpc 1.79.3 -> 1.83.0
oras.land/oras-go/v2 2.6.0 -> 2.6.2
Each module took only the dependencies it already required. No module
gained one.
The Kubernetes libraries raise the floor: agent, capd-reboot-controller
and test/e2e now state `go 1.26.0`, and `go work sync` raised go.work to
match. The container images move in the next commit for that reason --
golang:1.25.12 can no longer build the agent.
THIRD_PARTY_NOTICES.md is regenerated: 57 packages.
Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com>
* build(deps): bump the golang and SPIFFE base images
Applies Dependabot #81. #39 proposed the same SPIFFE and alpine bump and
is superseded by it.
golang 1.25.12 -> 1.26.5
golang (alpine) 1.25.12-alpine -> 1.26.5-alpine
ghcr.io/spiffe/k8s-spiffe-workload-jwt-exec-auth 0.1.0 -> 0.2.0
The golang bump is required, not optional: the previous commit raised
three modules to `go 1.26.0`, and the official golang images set
GOTOOLCHAIN=local, so 1.25.12 cannot download a newer toolchain. It
fails with "go.mod requires go >= 1.26.0".
Dependabot asked for 1.26.4 for the plain tag and 1.26.5 for the alpine
tag, which was registry lag when it opened the pull request. 1.26.5
exists for both, so both use it and the Dockerfiles stay on one version,
as the comment in agent/Dockerfile.nke-builder states they should.
The SPIFFE image keeps its digest pin.
Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com>
* build(deps): bump actions/checkout and actions/setup-go
Applies Dependabot #61.
actions/checkout 4.4.0 -> 7.0.1
actions/setup-go 5.6.0 -> 7.0.0
Both stay pinned by full commit SHA. release.yml already used checkout
7.0.1 in one job; this brings its other job in line.
setup-go 6 and later set GOTOOLCHAIN=local unconditionally. license.yml
already expects that -- it sets GOTOOLCHAIN=local itself and reads the
Go version from each module's go.mod -- so the version installed and the
version demanded still agree.
Also corrects the workspace floor quoted in five workflow comments. The
previous commits moved it from 1.25.12 to 1.26.0, and a quoted error
message that no longer matches the file it explains is worse than none.
Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com>
---------
Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com>