Skip to content
This repository was archived by the owner on Oct 14, 2025. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
d4f22eb
Label sync for release/v1.4.x
darkowlzz Sep 27, 2024
a77f044
Merge pull request #1255 from fluxcd/release/v1.4.x
stefanprodan Sep 27, 2024
d7bad03
Merge pull request #1256 from fluxcd/labels-sync
darkowlzz Sep 27, 2024
443c96a
Fixed decryption in components.
vlasov-y Nov 8, 2024
681573b
Added sops encryped .env in component test data
vlasov-y Nov 10, 2024
29080cb
Merge pull request #1283 from vlasov-y/main
stefanprodan Nov 12, 2024
49770ea
Added decryption of patches and components.
vlasov-y Nov 12, 2024
933ef1f
Merge pull request #1286 from vlasov-y/main
stefanprodan Dec 4, 2024
53cca79
Clarify precedence in Kustomization substituteFrom
srgvg Dec 6, 2024
3791888
Merge pull request #1301 from srgvg/patch-1
stefanprodan Dec 6, 2024
4d03cf0
Update SOPS to v3.9.2
stefanprodan Dec 6, 2024
61fa7da
Merge pull request #1302 from fluxcd/sops-v3.9.3
stefanprodan Dec 6, 2024
9974a49
Update Kustomize packages to v5.5.0
stefanprodan Dec 6, 2024
9d65ff8
Merge pull request #1304 from fluxcd/kustomize-v5.5.0
stefanprodan Dec 6, 2024
d36aa14
feat: Remove deprecated object metrics from controllers fluxcd/flux2#…
hasithsen Dec 9, 2024
ca40713
Merge pull request #1305 from hasithsen/main
stefanprodan Dec 11, 2024
ccfbf44
Update dependencies to Kubernetes 1.32.0 and Go 1.23.0
stefanprodan Dec 12, 2024
64ee754
Merge pull request #1310 from fluxcd/k8s-1.32
stefanprodan Dec 12, 2024
5ab5f14
upgrading helm api
Dec 13, 2024
a87337c
Merge pull request #1313 from luis-giraldo/upgrade-helm-api
matheuscscp Dec 13, 2024
c38ebab
Allow control of finalization garbage collection
erikgb Dec 15, 2024
aa1a99b
Bump filippo.io/age from 1.2.0 to 1.2.1
dependabot[bot] Dec 18, 2024
c41cb82
Merge pull request #1314 from erikgb/finalizer-tuning
stefanprodan Dec 19, 2024
c2e4ed6
Merge pull request #1318 from fluxcd/dependabot/go_modules/filippo.io…
matheuscscp Dec 19, 2024
10a5e86
Bump the go-deps group across 1 directory with 2 updates
dependabot[bot] Dec 19, 2024
a284bfb
Merge pull request #1320 from fluxcd/dependabot/go_modules/go-deps-da…
stefanprodan Dec 19, 2024
6022571
Upgrade runtime
matheuscscp Jan 10, 2025
550576e
Merge pull request #1330 from fluxcd/upgrade-runtime
matheuscscp Jan 10, 2025
eccdbad
Add OCI revision to events
matheuscscp Jan 21, 2025
5967686
Merge pull request #1338 from fluxcd/origin-revision
matheuscscp Jan 22, 2025
6455cfe
[RFC-0009] Add CEL custom healthchecks
matheuscscp Jan 24, 2025
5e620a5
Merge pull request #1344 from fluxcd/custom-healthchecks
matheuscscp Jan 31, 2025
ea10ba4
Bump the ci group across 1 directory with 12 updates
dependabot[bot] Feb 1, 2025
4a9a093
Merge pull request #1348 from fluxcd/dependabot/github_actions/ci-fba…
stefanprodan Feb 1, 2025
bb09c69
Update API dependencies
stefanprodan Feb 1, 2025
e454604
Merge pull request #1352 from fluxcd/up-deps-api
stefanprodan Feb 1, 2025
f329ea1
Bump the ci group across 1 directory with 3 updates
dependabot[bot] Feb 7, 2025
07a74c8
Merge pull request #1354 from fluxcd/dependabot/github_actions/ci-05f…
stefanprodan Feb 9, 2025
c371376
Upgrade pkg/runtime
matheuscscp Feb 11, 2025
281d998
Merge pull request #1359 from fluxcd/upgrade-deps
matheuscscp Feb 11, 2025
ac22c11
Update source-controller API to v1.5.0
matheuscscp Feb 13, 2025
230b55f
chore: add GroupChangeLog feature gate to fix es indexing cardinality
94DanielBrown Feb 11, 2025
947be82
Merge pull request #1361 from 94DanielBrown/main
stefanprodan Feb 17, 2025
6790333
Bump golang.org/x/net in the go-deps group across 1 directory
dependabot[bot] Feb 17, 2025
cc89da1
Bump the ci group across 1 directory with 2 updates
dependabot[bot] Feb 18, 2025
f82ae38
Merge pull request #1362 from fluxcd/upgrade-deps
matheuscscp Feb 18, 2025
3b0de40
Merge pull request #1364 from fluxcd/dependabot/go_modules/go-deps-4d…
stefanprodan Feb 18, 2025
fc2a95e
Merge pull request #1358 from fluxcd/dependabot/github_actions/ci-4ac…
stefanprodan Feb 18, 2025
5d2bcf9
Add changelog entry for v1.5.0
matheuscscp Feb 18, 2025
676fc61
Release v1.5.0
matheuscscp Feb 18, 2025
9ce7db7
Merge pull request #1365 from fluxcd/release-v1.5.0
matheuscscp Feb 18, 2025
66e0c43
Merge pull request #1366 from fluxcd/release/v1.5.x
matheuscscp Feb 18, 2025
adfde39
Add 1.5.x release label
matheuscscp Feb 18, 2025
444b8d2
Merge pull request #1367 from fluxcd/update-labels
matheuscscp Feb 18, 2025
a7e4927
Fix secret value showing up in logs
matheuscscp Feb 24, 2025
0837a42
Merge pull request #1372 from fluxcd/redact-values
matheuscscp Feb 24, 2025
8b6f4bc
Use lazy restmapper vendored from controller-runtime v0.19
stefanprodan Feb 24, 2025
12b3acb
Add test for RESTMapper with CRD/CR
stefanprodan Feb 25, 2025
4ad6f25
Update `fluxcd/pkg/runtime` to v0.54.0
stefanprodan Feb 25, 2025
c353f1e
Merge pull request #1377 from fluxcd/lazy-restmapper
stefanprodan Feb 25, 2025
6c001f2
Add changelog entry for v1.5.1
matheuscscp Feb 25, 2025
dc0e585
Merge pull request #1381 from fluxcd/pick-changelog-v1.5.1
matheuscscp Feb 25, 2025
42b9036
Update `fluxcd/pkg/runtime` to v0.58.0
matheuscscp Mar 25, 2025
860d5f8
Merge pull request #1401 from fluxcd/upgrade-deps
matheuscscp Mar 27, 2025
6b139ad
Bump the go-deps group across 1 directory with 3 updates
dependabot[bot] Mar 31, 2025
cb67f6f
Fix decryption test due to SOPS breaking change
matheuscscp Mar 31, 2025
12628b8
Merge pull request #1410 from fluxcd/dependabot/go_modules/go-deps-0e…
matheuscscp Mar 31, 2025
6c7da05
docs: mention CEL macros when discussing health check expressions
zevisert Mar 31, 2025
b715ca0
Bump github.com/getsops/sops/v3 in the go-deps group
dependabot[bot] Apr 1, 2025
2437aaf
Merge pull request #1414 from fluxcd/dependabot/go_modules/go-deps-25…
matheuscscp Apr 1, 2025
35fd6c1
Merge pull request #1413 from zevisert/docs/add-mention-CEL-macros
stefanprodan Apr 10, 2025
2d89eb6
feat: prevent no-op reconciles
norman-zon Mar 17, 2025
60afb73
Merge pull request #1396 from norman-zon/suspension-event-log
stefanprodan Apr 15, 2025
a8edbb9
Update link to envsubst lib
florensie Apr 18, 2025
e279459
Merge pull request #1427 from florensie/patch-1
stefanprodan Apr 23, 2025
59bbc52
Update controller-runtime to v0.20.4
stefanprodan Apr 23, 2025
a5e315e
Merge pull request #1429 from fluxcd/controller-runtime-v0.20.4
stefanprodan Apr 24, 2025
3ac784d
Update to Kubernetes 1.33.0 and Go 1.24.0
stefanprodan Apr 28, 2025
8079722
Merge pull request #1435 from fluxcd/ks-1.33
stefanprodan Apr 28, 2025
88ccb5a
Bump the ci group across 1 directory with 14 updates
dependabot[bot] Apr 28, 2025
690c8c8
Merge pull request #1433 from fluxcd/dependabot/github_actions/ci-4c7…
stefanprodan Apr 28, 2025
361a28e
Fix performance regression due to using client without cache
matheuscscp Apr 29, 2025
d157045
Merge pull request #1436 from fluxcd/fix-1428
matheuscscp Apr 29, 2025
ac963f9
[RFC-0010] Introduce KMS provider decryption with service account
matheuscscp Apr 16, 2025
d775ed3
Merge pull request #1426 from fluxcd/rfc-0010
matheuscscp May 7, 2025
c54d9f6
Add `WaitForTermination` option to DeletionPolicy
stefanprodan May 13, 2025
92070be
Update `fluxcd/pkg/ssa` to v0.47.0
stefanprodan May 13, 2025
98adddb
Implement waiting for termination at finalization
stefanprodan May 13, 2025
413118e
Document The `WaitForTermination` policy
stefanprodan May 13, 2025
0d6ab9f
[RFC-0010] Introduce feature gate
matheuscscp May 16, 2025
c25690c
Merge pull request #1449 from fluxcd/rfc-0010-feature-gate
matheuscscp May 23, 2025
55be958
Merge pull request #1444 from fluxcd/gc-wait-for-termination
stefanprodan May 23, 2025
8303b08
[RFC-0010] Link workload identity docs to complete guide
matheuscscp May 26, 2025
e537b99
Merge pull request #1456 from fluxcd/rfc-0010-docs
stefanprodan May 27, 2025
1d32962
Bump the ci group across 1 directory with 4 updates
dependabot[bot] May 27, 2025
ada569f
Merge pull request #1448 from fluxcd/dependabot/github_actions/ci-b75…
stefanprodan May 27, 2025
f2db6a2
Update dependencies
matheuscscp May 25, 2025
ff76a91
Update controller to OCIRepository v1 (GA)
stefanprodan May 28, 2025
24e54da
Merge pull request #1458 from fluxcd/oci-ga
stefanprodan May 28, 2025
9eb8ca7
Add changelog entry for v1.6.0
matheuscscp May 28, 2025
6efc3eb
Release v1.6.0
matheuscscp May 28, 2025
f54038e
Merge pull request #1460 from fluxcd/release-v1.6.0
matheuscscp May 28, 2025
f1cfd9f
Merge pull request #1461 from fluxcd/release/v1.6.x
matheuscscp May 28, 2025
40a7572
Add 1.6.x release label
matheuscscp May 28, 2025
ee8981f
Merge pull request #1462 from fluxcd/update-labels
matheuscscp May 28, 2025
07837f6
Update dependabot config
stefanprodan May 28, 2025
9f784c5
Merge pull request #1463 from fluxcd/dependabot-up
stefanprodan May 28, 2025
dbc5168
build based on chlundes+larhauga fork of newest kustomize with perfor…
larhauga Jul 10, 2023
3612e32
update container registry
larhauga Jul 10, 2023
716170c
disable workflows
larhauga Jul 10, 2023
bd0e2ed
Add duration metrics to logs
chlunde Jul 31, 2023
fc43cf0
Switch kustomize impl
chlunde Jul 31, 2023
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
4 changes: 2 additions & 2 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ updates:
directory: "/"
labels: ["dependencies"]
schedule:
interval: "daily"
interval: "monthly"
groups:
go-deps:
patterns:
Expand All @@ -31,4 +31,4 @@ updates:
patterns:
- "*"
schedule:
interval: "daily"
interval: "monthly"
9 changes: 9 additions & 0 deletions .github/labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,12 @@
- name: backport:release/v1.3.x
description: To be backported to release/v1.3.x
color: '#ffd700'
- name: backport:release/v1.4.x
description: To be backported to release/v1.4.x
color: '#ffd700'
- name: backport:release/v1.5.x
description: To be backported to release/v1.5.x
color: '#ffd700'
- name: backport:release/v1.6.x
description: To be backported to release/v1.6.x
color: '#ffd700'
4 changes: 2 additions & 2 deletions .github/workflows/backport.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
if: github.event.pull_request.state == 'closed' && github.event.pull_request.merged && (github.event_name != 'labeled' || startsWith('backport:', github.event.label.name))
steps:
- name: Checkout
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Create backport PRs
uses: korthout/backport-action@be567af183754f6a5d831ae90f648954763f17f5 # v3.1.0
uses: korthout/backport-action@436145e922f9561fc5ea157ff406f21af2d6b363 # v3.2.0
# xref: https://github.com/korthout/backport-action#inputs
with:
# Use token to allow workflows to be triggered for the created PR
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cifuzz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version: 1.23.x
go-version: 1.24.x
cache-dependency-path: |
**/go.sum
**/go.mod
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,29 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup QEMU
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
- name: Setup Docker Buildx
id: buildx
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
- name: Cache Docker layers
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
id: cache
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-ghcache-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-ghcache-
- name: Setup Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version: 1.23.x
go-version: 1.24.x
cache-dependency-path: |
**/go.sum
**/go.mod
- name: Setup Kubernetes
uses: helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde # v1.10.0
uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0
with:
version: v0.20.0
cluster_name: kind
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup QEMU
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
- name: Setup Docker Buildx
id: buildx
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
with:
buildkitd-flags: "--debug"
- name: Build multi-arch container image
uses: docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v6.7.0
uses: docker/build-push-action@1dc73863535b631f98b2378be8619f83b136f4a0 # v6.17.0
with:
push: false
builder: ${{ steps.buildx.outputs.name }}
Expand Down
186 changes: 93 additions & 93 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
packages: write # for pushing and signing container images.
steps:
- name: Checkout
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Kustomize
uses: fluxcd/pkg/actions/kustomize@main
- name: Prepare
Expand All @@ -42,33 +42,33 @@ jobs:
echo "BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_OUTPUT
echo "VERSION=${VERSION}" >> $GITHUB_OUTPUT
- name: Setup QEMU
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
- name: Setup Docker Buildx
id: buildx
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
- name: Login to GitHub Container Registry
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
with:
registry: ghcr.io
username: fluxcdbot
password: ${{ secrets.GHCR_TOKEN }}
- name: Login to Docker Hub
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with:
username: fluxcdbot
password: ${{ secrets.DOCKER_FLUXCD_PASSWORD }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
#- name: Login to Docker Hub
# uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
# with:
# username: fluxcdbot
# password: ${{ secrets.DOCKER_FLUXCD_PASSWORD }}
- name: Generate images meta
id: meta
uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
with:
#fluxcd/${{ env.CONTROLLER }}
images: |
fluxcd/${{ env.CONTROLLER }}
ghcr.io/fluxcd/${{ env.CONTROLLER }}
ghcr.io/sparebank1utvikling/kustomize-controller
tags: |
type=raw,value=${{ steps.prep.outputs.VERSION }}
- name: Publish images
id: build-push
uses: docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v6.7.0
uses: docker/build-push-action@1dc73863535b631f98b2378be8619f83b136f4a0 # v6.17.0
with:
sbom: true
provenance: true
Expand All @@ -79,82 +79,82 @@ jobs:
platforms: linux/amd64,linux/arm/v7,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- uses: sigstore/cosign-installer@4959ce089c160fddf62f7b42464195ba1a56d382 # v3.6.0
- name: Sign images
env:
COSIGN_EXPERIMENTAL: 1
run: |
cosign sign --yes fluxcd/${{ env.CONTROLLER }}@${{ steps.build-push.outputs.digest }}
cosign sign --yes ghcr.io/fluxcd/${{ env.CONTROLLER }}@${{ steps.build-push.outputs.digest }}
- name: Generate release artifacts
if: startsWith(github.ref, 'refs/tags/v')
run: |
mkdir -p config/release
kustomize build ./config/crd > ./config/release/${{ env.CONTROLLER }}.crds.yaml
kustomize build ./config/manager > ./config/release/${{ env.CONTROLLER }}.deployment.yaml
- uses: anchore/sbom-action/download-syft@61119d458adab75f756bc0b9e4bde25725f86a7a # v0.17.2
- name: Create release and SBOM
id: run-goreleaser
if: startsWith(github.ref, 'refs/tags/v')
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
with:
version: latest
args: release --clean --skip=validate
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Generate SLSA metadata
id: slsa
env:
ARTIFACTS: "${{ steps.run-goreleaser.outputs.artifacts }}"
run: |
hashes=$(echo $ARTIFACTS | jq --raw-output '.[] | {name, "digest": (.extra.Digest // .extra.Checksum)} | select(.digest) | {digest} + {name} | join(" ") | sub("^sha256:";"")' | base64 -w0)
echo "hashes=$hashes" >> $GITHUB_OUTPUT

image_url=fluxcd/${{ env.CONTROLLER }}:${{ steps.prep.outputs.version }}
echo "image_url=$image_url" >> $GITHUB_OUTPUT

image_digest=${{ steps.build-push.outputs.digest }}
echo "image_digest=$image_digest" >> $GITHUB_OUTPUT
# - uses: sigstore/cosign-installer@3454372f43399081ed03b604cb2d021dabca52bb # v3.8.2
# - name: Sign images
# env:
# COSIGN_EXPERIMENTAL: 1
# run: |
# cosign sign --yes fluxcd/${{ env.CONTROLLER }}@${{ steps.build-push.outputs.digest }}
# cosign sign --yes ghcr.io/fluxcd/${{ env.CONTROLLER }}@${{ steps.build-push.outputs.digest }}
# - name: Generate release artifacts
# if: startsWith(github.ref, 'refs/tags/v')
# run: |
# mkdir -p config/release
# kustomize build ./config/crd > ./config/release/${{ env.CONTROLLER }}.crds.yaml
# kustomize build ./config/manager > ./config/release/${{ env.CONTROLLER }}.deployment.yaml
# - uses: anchore/sbom-action/download-syft@e11c554f704a0b820cbf8c51673f6945e0731532 # v0.20.0
# - name: Create release and SBOM
# id: run-goreleaser
# if: startsWith(github.ref, 'refs/tags/v')
# uses: goreleaser/goreleaser-action@9c156ee8a17a598857849441385a2041ef570552 # v6.3.0
# with:
# version: latest
# args: release --clean --skip=validate
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Generate SLSA metadata
# id: slsa
# env:
# ARTIFACTS: "${{ steps.run-goreleaser.outputs.artifacts }}"
# run: |
# hashes=$(echo $ARTIFACTS | jq --raw-output '.[] | {name, "digest": (.extra.Digest // .extra.Checksum)} | select(.digest) | {digest} + {name} | join(" ") | sub("^sha256:";"")' | base64 -w0)
# echo "hashes=$hashes" >> $GITHUB_OUTPUT
#
# image_url=fluxcd/${{ env.CONTROLLER }}:${{ steps.prep.outputs.version }}
# echo "image_url=$image_url" >> $GITHUB_OUTPUT
#
# image_digest=${{ steps.build-push.outputs.digest }}
# echo "image_digest=$image_digest" >> $GITHUB_OUTPUT

release-provenance:
needs: [release]
permissions:
actions: read # for detecting the Github Actions environment.
id-token: write # for creating OIDC tokens for signing.
contents: write # for uploading attestations to GitHub releases.
if: startsWith(github.ref, 'refs/tags/v')
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.0.0
with:
provenance-name: "provenance.intoto.jsonl"
base64-subjects: "${{ needs.release.outputs.hashes }}"
upload-assets: true

dockerhub-provenance:
needs: [release]
permissions:
actions: read # for detecting the Github Actions environment.
id-token: write # for creating OIDC tokens for signing.
packages: write # for uploading attestations.
if: startsWith(github.ref, 'refs/tags/v')
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_container_slsa3.yml@v2.0.0
with:
image: ${{ needs.release.outputs.image_url }}
digest: ${{ needs.release.outputs.image_digest }}
registry-username: fluxcdbot
secrets:
registry-password: ${{ secrets.DOCKER_FLUXCD_PASSWORD }}

ghcr-provenance:
needs: [release]
permissions:
actions: read # for detecting the Github Actions environment.
id-token: write # for creating OIDC tokens for signing.
packages: write # for uploading attestations.
if: startsWith(github.ref, 'refs/tags/v')
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_container_slsa3.yml@v2.0.0
with:
image: ghcr.io/${{ needs.release.outputs.image_url }}
digest: ${{ needs.release.outputs.image_digest }}
registry-username: fluxcdbot
secrets:
registry-password: ${{ secrets.GHCR_TOKEN }}
# release-provenance:
# needs: [release]
# permissions:
# actions: read # for detecting the Github Actions environment.
# id-token: write # for creating OIDC tokens for signing.
# contents: write # for uploading attestations to GitHub releases.
# if: startsWith(github.ref, 'refs/tags/v')
# uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.1.0
# with:
# provenance-name: "provenance.intoto.jsonl"
# base64-subjects: "${{ needs.release.outputs.hashes }}"
# upload-assets: true
#
# dockerhub-provenance:
# needs: [release]
# permissions:
# actions: read # for detecting the Github Actions environment.
# id-token: write # for creating OIDC tokens for signing.
# packages: write # for uploading attestations.
# if: startsWith(github.ref, 'refs/tags/v')
# uses: slsa-framework/slsa-github-generator/.github/workflows/generator_container_slsa3.yml@v2.1.0
# with:
# image: ${{ needs.release.outputs.image_url }}
# digest: ${{ needs.release.outputs.image_digest }}
# registry-username: fluxcdbot
# secrets:
# registry-password: ${{ secrets.DOCKER_FLUXCD_PASSWORD }}
#
# ghcr-provenance:
# needs: [release]
# permissions:
# actions: read # for detecting the Github Actions environment.
# id-token: write # for creating OIDC tokens for signing.
# packages: write # for uploading attestations.
# if: startsWith(github.ref, 'refs/tags/v')
# uses: slsa-framework/slsa-github-generator/.github/workflows/generator_container_slsa3.yml@v2.1.0
# with:
# image: ghcr.io/${{ needs.release.outputs.image_url }}
# digest: ${{ needs.release.outputs.image_digest }}
# registry-username: fluxcdbot
# secrets:
# registry-password: ${{ secrets.GHCR_TOKEN }}
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Run FOSSA scan and upload build data
uses: fossa-contrib/fossa-action@cdc5065bcdee31a32e47d4585df72d66e8e941c2 # v3.0.0
uses: fossa-contrib/fossa-action@3d2ef181b1820d6dcd1972f86a767d18167fa19b # v3.0.1
with:
# FOSSA Push-Only API Token
fossa-api-key: 5ee8bf422db1471e0bcf2bcb289185de
Expand All @@ -31,22 +31,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version: 1.23.x
go-version: 1.24.x
cache-dependency-path: |
**/go.sum
**/go.mod
- name: Initialize CodeQL
uses: github/codeql-action/init@461ef6c76dfe95d5c364de2f431ddbd31a417628 # v3.26.9
uses: github/codeql-action/init@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
with:
languages: go
# xref: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# xref: https://codeql.github.com/codeql-query-help/go/
queries: security-and-quality
- name: Autobuild
uses: github/codeql-action/autobuild@461ef6c76dfe95d5c364de2f431ddbd31a417628 # v3.26.9
uses: github/codeql-action/autobuild@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@461ef6c76dfe95d5c364de2f431ddbd31a417628 # v3.26.9
uses: github/codeql-action/analyze@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
2 changes: 1 addition & 1 deletion .github/workflows/sync-labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
permissions:
issues: write
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: EndBug/label-sync@52074158190acb45f3077f9099fea818aa43f97a # v2.3.3
with:
# Configuration file
Expand Down
Loading