Skip to content

Commit 6bdcfb0

Browse files
committed
Merge branch 'main' into add-splunk-provider
Signed-off-by: kane8n <[email protected]>
2 parents b37bf6a + 30f4b25 commit 6bdcfb0

File tree

130 files changed

+1408
-4414
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+1408
-4414
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Setup Go
2424
uses: actions/setup-go@v5
2525
with:
26-
go-version: 1.22.x
26+
go-version: 1.23.x
2727
cache-dependency-path: |
2828
**/go.sum
2929
**/go.mod
@@ -45,7 +45,7 @@ jobs:
4545
exit 1
4646
fi
4747
- name: Upload coverage to Codecov
48-
uses: codecov/codecov-action@v4
48+
uses: codecov/codecov-action@v5
4949
with:
5050
file: ./coverage.txt
5151
- name: Build container image

.github/workflows/push-ld.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
packages: write
1818
steps:
1919
- uses: actions/checkout@v4
20-
- uses: sigstore/cosign-installer@v3.5.0
20+
- uses: sigstore/cosign-installer@v3.7.0
2121
- name: Prepare
2222
id: prep
2323
run: |
@@ -45,7 +45,7 @@ jobs:
4545
type=raw,value=${{ steps.prep.outputs.VERSION }}
4646
- name: Publish image
4747
id: build-push
48-
uses: docker/build-push-action@v5
48+
uses: docker/build-push-action@v6
4949
with:
5050
push: true
5151
builder: ${{ steps.buildx.outputs.name }}

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ jobs:
3131
- name: Setup Go
3232
uses: actions/setup-go@v5
3333
with:
34-
go-version: 1.22.x
34+
go-version: 1.23.x
3535
- uses: fluxcd/flux2/action@main
36-
- uses: sigstore/cosign-installer@v3.5.0
36+
- uses: sigstore/cosign-installer@v3.7.0
3737
- name: Prepare
3838
id: prep
3939
run: |
@@ -67,7 +67,7 @@ jobs:
6767
type=raw,value=${{ steps.prep.outputs.VERSION }}
6868
- name: Publish image
6969
id: build-push
70-
uses: docker/build-push-action@v5
70+
uses: docker/build-push-action@v6
7171
with:
7272
sbom: true
7373
provenance: true
@@ -121,11 +121,11 @@ jobs:
121121
- uses: anchore/sbom-action/download-syft@v0
122122
- name: Create release and SBOM
123123
id: run-goreleaser
124-
uses: goreleaser/goreleaser-action@v5
124+
uses: goreleaser/goreleaser-action@v6
125125
if: startsWith(github.ref, 'refs/tags/v')
126126
with:
127127
version: latest
128-
args: release --release-notes=notes.md --rm-dist --skip-validate
128+
args: release --release-notes=notes.md --clean --skip=validate
129129
env:
130130
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
131131
- name: Generate SLSA metadata

.github/workflows/scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Setup Go
3535
uses: actions/setup-go@v5
3636
with:
37-
go-version: 1.22.x
37+
go-version: 1.23.x
3838
- name: Initialize CodeQL
3939
uses: github/codeql-action/init@v3
4040
with:

CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,38 @@
22

33
All notable changes to this project are documented in this file.
44

5+
## 1.39.0
6+
7+
**Release date:** 2024-11-26
8+
9+
This release comes with fixes and improvements. There is a new
10+
`.spec.analysis.webhooks[].disableTLS` field which disables TLS verification
11+
for that webhook request.
12+
A bug in the Gateway API provider was fixed which could lead to unecessary restarts.
13+
14+
This release is built with Go 1.23. Lastly, all Go dependencies, Alpine and
15+
Kubernetes libraries were updated.
16+
17+
#### Improvements
18+
- Add validation for `primaryScalerReplicas` field in the CRD
19+
[#1702](https://github.com/fluxcd/flagger/pull/1702)
20+
- feat: add `disableTLS` option for webhooks request
21+
[#1709](https://github.com/fluxcd/flagger/pull/1709)
22+
- Update dependencies to Kubernetes v1.31.3
23+
[#1723](https://github.com/fluxcd/flagger/pull/1723)
24+
- Update generated client for Kubernetes 1.31
25+
[#1725](https://github.com/fluxcd/flagger/pull/1725)
26+
- Build with Go 1.23
27+
[#1726](https://github.com/fluxcd/flagger/pull/1726)
28+
29+
#### Fixes
30+
- Gateway API: Sort header filters to avoid canary restarts
31+
[#1713](https://github.com/fluxcd/flagger/pull/1713)
32+
- fix: fix codegen script and update generated code
33+
[#1724](https://github.com/fluxcd/flagger/pull/1724)
34+
- fix(helm): podinfo fails to create the hpa object
35+
[#1721](https://github.com/fluxcd/flagger/pull/1721)
36+
537
## 1.38.0
638

739
**Release date:** 2024-07-30

Dockerfile

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
FROM golang:1.22-alpine as builder
1+
ARG GO_VERSION=1.23
2+
ARG XX_VERSION=1.4.0
3+
4+
FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx
5+
FROM --platform=$BUILDPLATFORM golang:${GO_VERSION}-alpine as builder
6+
7+
# copy build utilities
8+
COPY --from=xx / /
29

310
ARG TARGETPLATFORM
411
ARG REVISON
@@ -17,7 +24,8 @@ COPY cmd/ cmd/
1724
COPY pkg/ pkg/
1825

1926
# build
20-
RUN CGO_ENABLED=0 go build \
27+
ENV CGO_ENABLED=0
28+
RUN xx-go build \
2129
-ldflags "-s -w -X github.com/fluxcd/flagger/pkg/version.REVISION=${REVISON}" \
2230
-a -o flagger ./cmd/flagger
2331

Dockerfile.loadtester

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22-alpine as builder
1+
FROM golang:1.23-alpine as builder
22

33
ARG TARGETPLATFORM
44
ARG TARGETARCH

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build:
66
CGO_ENABLED=0 go build -a -o ./bin/flagger ./cmd/flagger
77

88
tidy:
9-
rm -f go.sum; go mod tidy -compat=1.22
9+
rm -f go.sum; go mod tidy -compat=1.23
1010

1111
vet:
1212
go vet ./...

artifacts/flagger/crd.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,11 @@ spec:
129129
type: object
130130
properties:
131131
minReplicas:
132-
type: number
132+
type: integer
133+
minimum: 1
133134
maxReplicas:
134-
type: number
135+
type: integer
136+
minimum: 1
135137
ingressRef:
136138
description: Ingress selector
137139
type: object
@@ -1135,6 +1137,9 @@ spec:
11351137
retries:
11361138
description: Number of retries for this webhook
11371139
type: number
1140+
disableTLS:
1141+
description: Disable TLS verification for this webhook
1142+
type: boolean
11381143
metadata:
11391144
description: Metadata (key-value pairs) for this webhook
11401145
type: object

artifacts/flagger/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ spec:
2222
serviceAccountName: flagger
2323
containers:
2424
- name: flagger
25-
image: ghcr.io/fluxcd/flagger:1.38.0
25+
image: ghcr.io/fluxcd/flagger:1.39.0
2626
imagePullPolicy: IfNotPresent
2727
ports:
2828
- name: http

0 commit comments

Comments
 (0)