Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Stage 1: CI base image with essential build tools
# Pinned by digest (Scorecard "pinned dependencies"); Dependabot's docker
# ecosystem keeps version + digest current together.
FROM golang:1.27.3-bookworm@sha256:972b4110ba0f47539a975c31e52c64765e1ff19f2d74469ae4a595c6676e80a5 AS ci
FROM golang:1.27.4-bookworm@sha256:4fa7c968ba93f1635670522dbb01a2c78150443e1385746924566079f36570ea AS ci

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
Expand Down Expand Up @@ -66,24 +66,24 @@ RUN apt-get update \
# TRIVY_VERSION -> https://github.com/aquasecurity/trivy/releases

ENV PATH="/go/bin:/usr/local/go/bin:${PATH}" \
KUBECTL_VERSION=v1.37.1 \
KUBECTL_VERSION=v1.37.2 \
KUSTOMIZE_VERSION=5.8.3 \
KUBEBUILDER_VERSION=4.16.0 \
GOLANGCI_LINT_VERSION=v2.15.0 \
HELM_VERSION=v4.3.1 \
HELM_VERSION=v4.3.2 \
K3D_VERSION=v5.9.0 \
FLUX_VERSION=2.9.6 \
FLUX_OPERATOR_VERSION=0.61.0 \
FLUX_VERSION=2.10.0 \
FLUX_OPERATOR_VERSION=0.62.1 \
TASK_VERSION=v3.54.0 \
ACTIONLINT_VERSION=1.7.12 \
HADOLINT_VERSION=2.15.1 \
VALKEY_VERSION=9.1.2 \
VALKEY_VERSION=9.1.3 \
COSIGN_VERSION=v3.1.4 \
ORAS_VERSION=1.3.6 \
NODE_MAJOR=24 \
MARKDOWNLINT_CLI2_VERSION=0.24.0 \
VALE_VERSION=3.25.1 \
TRIVY_VERSION=0.76.1
MARKDOWNLINT_CLI2_VERSION=0.24.1 \
VALE_VERSION=3.27.0 \
TRIVY_VERSION=0.76.2

# Fail early on unsupported architectures instead of producing a partial image.
RUN test "$(dpkg --print-architecture)" = "amd64" \
Expand Down Expand Up @@ -285,9 +285,9 @@ RUN chgrp -R godev /go && \
# `go` build in any container deletes ~90% of it regardless. Cleaning in the
# same layer keeps those ~400MB out of the image instead of merely hiding them.
RUN go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.23.0 \
&& go install github.com/onsi/ginkgo/v2/ginkgo@v2.33.1 \
&& go install sigs.k8s.io/controller-runtime/tools/setup-envtest@v0.25.2 \
&& go install golang.org/x/tools/cmd/goimports@v0.51.0 \
&& go install github.com/onsi/ginkgo/v2/ginkgo@v2.34.0 \
&& go install sigs.k8s.io/controller-runtime/tools/setup-envtest@v0.25.3 \
&& go install golang.org/x/tools/cmd/goimports@v0.52.0 \
&& go install github.com/boyter/scc/v4@v4.1.0 \
&& go clean -cache

Expand Down Expand Up @@ -350,7 +350,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# DLV_VERSION -> https://github.com/go-delve/delve/releases
# GOPLS_VERSION -> https://github.com/golang/tools/releases
# STATICCHECK_VERSION -> https://github.com/dominikh/go-tools/releases
ENV TILT_VERSION=v0.37.8 \
ENV TILT_VERSION=v0.37.9 \
DLV_VERSION=v1.27.2 \
GOPLS_VERSION=v0.24.0 \
STATICCHECK_VERSION=v0.8.2
Expand Down
8 changes: 4 additions & 4 deletions .devcontainer/devcontainer-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"resolved": "ghcr.io/devcontainers/features/common-utils@sha256:e76a6a8a35d1ad824daad1540725e0ec9f8ed2dc00d2850e990a9830013c7d08",
"integrity": "sha256:e76a6a8a35d1ad824daad1540725e0ec9f8ed2dc00d2850e990a9830013c7d08"
},
"ghcr.io/devcontainers/features/docker-outside-of-docker:1.10.1": {
"version": "1.10.1",
"resolved": "ghcr.io/devcontainers/features/docker-outside-of-docker@sha256:698f5900fac471e046c6e9d4333fec88c0e8d952c713494fa0712dce80baeca0",
"integrity": "sha256:698f5900fac471e046c6e9d4333fec88c0e8d952c713494fa0712dce80baeca0"
"ghcr.io/devcontainers/features/docker-outside-of-docker:1.10.2": {
"version": "1.10.2",
"resolved": "ghcr.io/devcontainers/features/docker-outside-of-docker@sha256:661b0fd4c57a7e0bd14d99701ab9bc824719678a9319118728f8d9c59441b7e4",
"integrity": "sha256:661b0fd4c57a7e0bd14d99701ab9bc824719678a9319118728f8d9c59441b7e4"
},
"ghcr.io/devcontainers/features/git:1": {
"version": "1.3.8",
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/${localWorkspaceFolderBasename},type=bind",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
"features": {
"ghcr.io/devcontainers/features/docker-outside-of-docker:1.10.1": {},
"ghcr.io/devcontainers/features/docker-outside-of-docker:1.10.2": {},
"ghcr.io/devcontainers/features/common-utils:2.7.1": {
"userUid": "automatic",
"userGid": "automatic",
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/docker-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ runs:

- name: Log in to Container Registry
if: ${{ inputs.login == 'true' }}
uses: docker/login-action@81c6f93d4bc991e510b342a00b419b3bb4efc5c6 # v4.7.0
uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0
with:
registry: ${{ inputs.registry }}
username: ${{ inputs.username }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:

- name: Login to GitHub Container Registry
if: github.event_name != 'pull_request'
uses: docker/login-action@81c6f93d4bc991e510b342a00b419b3bb4efc5c6 # v4.7.0
uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
Expand Down Expand Up @@ -812,7 +812,7 @@ jobs:
# always(): the SARIF is written by the report pass BEFORE the gate runs, so a
# gate failure must not swallow the report that explains it.
if: always()
uses: github/codeql-action/upload-sarif@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
uses: github/codeql-action/upload-sarif@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
with:
sarif_file: trivy-image.sarif
# Distinct category so the amd64 and arm64 legs don't overwrite each
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1

- name: Login to registry
uses: docker/login-action@81c6f93d4bc991e510b342a00b419b3bb4efc5c6 # v4.7.0
uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
VERSION: ${{ steps.meta.outputs.version }}

- name: Install cosign
uses: sigstore/cosign-installer@6f9f17788090df1f26f669e9d70d6ae9567deba6 # v4.1.2
uses: sigstore/cosign-installer@756fe2d284c7292c4e9b62c8a28f1e5629c59532 # v4.1.3
with:
# Keep in sync with COSIGN_VERSION in .devcontainer/Dockerfile — this
# is the only other job that signs release artifacts (publish-helm),
Expand Down Expand Up @@ -205,7 +205,7 @@ jobs:
run: cp "${{ steps.attest-sbom-asset.outputs.bundle-path }}" sbom.spdx.json.intoto.jsonl

- name: Update release info
uses: softprops/action-gh-release@efb35369e0ad2afab669f228072c1b0d510eae64 # v3.0.3
uses: softprops/action-gh-release@8a0cd651e5b2365bd640854a3fa5dfc70e4875f3 # v3.0.4
with:
tag_name: ${{ needs.release-please.outputs.tag_name }}
# Keep the release a draft: GitHub's immutable-releases enforcement
Expand Down Expand Up @@ -387,7 +387,7 @@ jobs:
run: cp "${{ steps.attest-commitrequest-crd.outputs.bundle-path }}" commitrequest-crd.yaml.intoto.jsonl

- name: Upload installer bundle as release assets
uses: softprops/action-gh-release@efb35369e0ad2afab669f228072c1b0d510eae64 # v3.0.3
uses: softprops/action-gh-release@8a0cd651e5b2365bd640854a3fa5dfc70e4875f3 # v3.0.4
with:
tag_name: ${{ needs.release-please.outputs.tag_name }}
# Attach to the still-draft release; publish-release publishes it once
Expand Down Expand Up @@ -498,7 +498,7 @@ jobs:
run: cp "${{ steps.attest-analyzer.outputs.bundle-path }}" dist/analyzer/manifest-analyzer.intoto.jsonl

- name: Upload the analyzer as release assets
uses: softprops/action-gh-release@efb35369e0ad2afab669f228072c1b0d510eae64 # v3.0.3
uses: softprops/action-gh-release@8a0cd651e5b2365bd640854a3fa5dfc70e4875f3 # v3.0.4
with:
tag_name: ${{ needs.release-please.outputs.tag_name }}
# Attach to the still-draft release; publish-release publishes it once every
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ jobs:
publish_results: true

- name: Upload SARIF to code scanning
uses: github/codeql-action/upload-sarif@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
uses: github/codeql-action/upload-sarif@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
with:
sarif_file: results.sarif
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Build the manager binary
# Base images are pinned by digest (Scorecard "pinned dependencies");
# Dependabot's docker ecosystem keeps version + digest current together.
FROM golang:1.27.3@sha256:f20d83a83e18dbd2a4714b8ffd4b30b287b6243962dd75608e86abcc63ba4efc AS builder
FROM golang:1.27.4@sha256:fe517acaa580cc7915457080f850c37e618b3c1e750f98b58fc6429b605147a1 AS builder

# Automatic platform arguments provided by Docker BuildKit
ARG TARGETOS
Expand Down Expand Up @@ -49,7 +49,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
-ldflags "-X main.version=${VERSION} -X main.gitCommit=${GIT_COMMIT} -X main.gitDirty=${GIT_DIRTY} -X main.buildDate=${BUILD_DATE}" \
-o manager ./cmd

FROM golang:1.27.3@sha256:f20d83a83e18dbd2a4714b8ffd4b30b287b6243962dd75608e86abcc63ba4efc AS sops-builder
FROM golang:1.27.4@sha256:fe517acaa580cc7915457080f850c37e618b3c1e750f98b58fc6429b605147a1 AS sops-builder

# Automatic platform arguments provided by Docker BuildKit
ARG TARGETOS
Expand Down Expand Up @@ -94,7 +94,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \

# Use distroless as minimal base image to package the manager binary
# Refer to https://github.com/GoogleContainerTools/distroless for more details
FROM gcr.io/distroless/static:debug@sha256:63b4c0065ff7bd68753510400b2d5cedd5d5571d15eac4be0b6b0dd236a2d148
FROM gcr.io/distroless/static:debug@sha256:ebd32759877244c6e72c1610b6fb1cd1004625cc575361ee2ae0b79df9eb3893
WORKDIR /
COPY --from=builder /workspaces/manager .
COPY --from=sops-builder /out/sops /usr/local/bin/sops
Expand Down
8 changes: 4 additions & 4 deletions docs/spec/e2e-bi-directional-corner.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ checked in source.
**The install is pinned to `v3.4.5`**, the latest actual release (`v3.5.0` is
master's next version and has no tag). Every fact in the tables below was
re-verified at `v3.4.5` before pinning; line numbers cited are master's, and the
constants are unchanged between the two. The pin has since moved to `v3.5.6`
(chart `10.11.1`); the four facts the setup README lists were re-checked at that tag.
constants are unchanged between the two. The pin has since moved to `v3.6.1`
(chart `10.18.0`); the four facts the setup README lists were re-checked at that tag.

### Resource tracking

Expand Down Expand Up @@ -274,9 +274,9 @@ chart**. `_argocd-installed` `helm pull`s the pinned chart into
`.stamps/cluster/<ctx>/argocd/` (retryable network step) and `helm upgrade
--install`s it with `values.yaml` and `--wait`, then gates on CRD establishment.

- `ARGOCD_CHART_VERSION` (e.g. `10.11.1`) lives in `test/e2e/Taskfile-e2e.yml` and pins
- `ARGOCD_CHART_VERSION` (e.g. `10.18.0`) lives in `test/e2e/Taskfile-e2e.yml` and pins
the chart, which carries the Argo CD release the specs pin behaviour against (its
appVersion, e.g. `v3.5.6`). Unlike `FLUX_VERSION` it is not a devcontainer env
appVersion, e.g. `v3.6.1`). Unlike `FLUX_VERSION` it is not a devcontainer env
var: nothing outside the cluster needs an `argocd` binary — the specs drive Argo
through `kubectl` alone — so pinning it in the Taskfile avoids a container rebuild.
- **Why `helm`, not a flat `kubectl apply`.** The chart's `redis-secret-init` runs
Expand Down
26 changes: 13 additions & 13 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ require (
github.com/go-git/go-billy/v6 v6.0.0-beta.1
github.com/go-git/go-git/v6 v6.0.0-beta.1
github.com/go-logr/logr v1.4.4
github.com/onsi/ginkgo/v2 v2.33.1
github.com/onsi/ginkgo/v2 v2.34.0
github.com/onsi/gomega v1.44.0
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2
github.com/prometheus/client_golang v1.25.0
github.com/prometheus/common v0.73.1
github.com/prometheus/common v0.74.0
github.com/redis/go-redis/v9 v9.23.0
github.com/stretchr/testify v1.12.1
go.opentelemetry.io/otel v1.47.0
go.opentelemetry.io/otel/exporters/prometheus v0.69.0
go.opentelemetry.io/otel/metric v1.47.0
go.opentelemetry.io/otel/sdk/metric v1.47.0
go.uber.org/zap v1.28.0
golang.org/x/crypto v0.58.0
golang.org/x/crypto v0.59.0
gopkg.in/yaml.v3 v3.0.1
k8s.io/api v0.37.2
k8s.io/apiextensions-apiserver v0.37.2
Expand All @@ -31,7 +31,7 @@ require (
k8s.io/client-go v0.37.2
k8s.io/utils v0.0.0-20261023123148-ca04ba58ecab
sigs.k8s.io/cli-utils v0.37.2
sigs.k8s.io/controller-runtime v0.25.2
sigs.k8s.io/controller-runtime v0.25.3
sigs.k8s.io/kustomize/api v0.21.2
sigs.k8s.io/kustomize/kyaml v0.21.2
sigs.k8s.io/yaml v1.6.0
Expand Down Expand Up @@ -87,7 +87,7 @@ require (
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/pandatix/go-abnf v0.5.3 // indirect
github.com/pandatix/go-abnf v0.5.5 // indirect
github.com/pjbgf/sha1cd v0.7.0 // indirect
github.com/prometheus/client_model v0.6.3 // indirect
github.com/prometheus/otlptranslator v1.0.0 // indirect
Expand All @@ -108,18 +108,18 @@ require (
go.opentelemetry.io/proto/otlp v1.11.0 // indirect
go.uber.org/atomic v1.12.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.yaml.in/yaml/v2 v2.4.4 // indirect
go.yaml.in/yaml/v2 v2.4.5 // indirect
go.yaml.in/yaml/v3 v3.0.5 // indirect
golang.org/x/exp v0.0.0-20260820142414-ca536658362e // indirect
golang.org/x/mod v0.41.0 // indirect
golang.org/x/mod v0.42.0 // indirect
golang.org/x/net v0.62.0 // indirect
golang.org/x/oauth2 v0.37.0 // indirect
golang.org/x/sync v0.24.0 // indirect
golang.org/x/sys v0.49.0 // indirect
golang.org/x/term v0.47.0 // indirect
golang.org/x/text v0.43.0 // indirect
golang.org/x/oauth2 v0.38.0 // indirect
golang.org/x/sync v0.25.0 // indirect
golang.org/x/sys v0.50.0 // indirect
golang.org/x/term v0.48.0 // indirect
golang.org/x/text v0.44.0 // indirect
golang.org/x/time v0.15.0 // indirect
golang.org/x/tools v0.51.0 // indirect
golang.org/x/tools v0.52.0 // indirect
gomodules.xyz/jsonpatch/v2 v2.5.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20260819154853-08b0e4226688 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20260819154853-08b0e4226688 // indirect
Expand Down
Loading
Loading