Skip to content

Commit 77639ab

Browse files
authored
Merge branch 'main' into fix/accept-configmap-ref-without-ns
2 parents c74023a + 9b74afd commit 77639ab

File tree

17 files changed

+257
-250
lines changed

17 files changed

+257
-250
lines changed

.github/workflows/golangci-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
check-latest: true
2929

3030
- name: golangci-lint
31-
uses: golangci/golangci-lint-action@2226d7cb06a077cd73e56eedd38eecad18e5d837 # v6.5.0
31+
uses: golangci/golangci-lint-action@4696ba8babb6127d732c3c6dde519db15edab9ea # v6.5.1
3232
with:
3333
only-new-issues: true

.github/workflows/images.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ jobs:
182182
version: latest
183183
platforms: ${{ env.PLATFORMS }}
184184
- name: Login to GitHub Container Registry
185-
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
185+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
186186
with:
187187
username: ${{ secrets.DOCKERHUB_USERNAME }}
188188
password: ${{ secrets.DOCKERHUB_TOKEN }}

.github/workflows/junit-reports.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
report:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: dorny/test-reporter@31a54ee7ebcacc03a09ea97a7e5465a47b84aea5 # v1.9.1
16+
- uses: dorny/test-reporter@6e6a65b7a0bd2c9197df7d0ae36ac5cee784230c # v2.0.0
1717
with:
1818
artifact: /e2e-test-reports-(.*)/
1919
name: JEST Tests $1 # Name of the check run which will be created

.github/workflows/scorecards.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,6 @@ jobs:
5959

6060
# Upload the results to GitHub's code scanning dashboard.
6161
- name: "Upload to code-scanning"
62-
uses: github/codeql-action/upload-sarif@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
62+
uses: github/codeql-action/upload-sarif@6bb031afdd8eb862ea3fc1848194185e076637e5 # v3.28.11
6363
with:
6464
sarif_file: results.sarif

.github/workflows/vulnerability-scans.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060

6161
- name: Scan image with AquaSec/Trivy
6262
id: scan
63-
uses: aquasecurity/trivy-action@18f2510ee396bbf400402947b394f2dd8c87dbb0 # v0.29.0
63+
uses: aquasecurity/trivy-action@6c175e9c4083a92bbca2f9724c8a5e33bc2d97a5 # v0.30.0
6464
with:
6565
image-ref: registry.k8s.io/ingress-nginx/controller:${{ matrix.versions }}
6666
format: 'sarif'
@@ -75,7 +75,7 @@ jobs:
7575

7676
# This step checks out a copy of your repository.
7777
- name: Upload SARIF file
78-
uses: github/codeql-action/upload-sarif@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
78+
uses: github/codeql-action/upload-sarif@6bb031afdd8eb862ea3fc1848194185e076637e5 # v3.28.11
7979
with:
8080
token: ${{ github.token }}
8181
# Path to SARIF file relative to the root of the repository

.github/workflows/zz-tmpl-images.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
7171

7272
- name: Login to GitHub Container Registry
73-
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
73+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
7474
with:
7575
username: ${{ secrets.DOCKERHUB_USERNAME }}
7676
password: ${{ secrets.DOCKERHUB_TOKEN }}

docs/user-guide/nginx-configuration/annotations.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -539,8 +539,9 @@ nginx.ingress.kubernetes.io/auth-snippet: |
539539

540540
#### Global External Authentication
541541

542-
By default the controller redirects all requests to an existing service that provides authentication if `global-auth-url` is set in the NGINX ConfigMap. If you want to disable this behavior for that ingress, you can use `enable-global-auth: "false"` in the NGINX ConfigMap.
543-
`nginx.ingress.kubernetes.io/enable-global-auth`:
542+
By default the controller redirects all requests to an existing service that provides authentication if `global-auth-url` is set in the Ingress NGINX ConfigMap. If you want to disable this behavior for that Ingress, you can use the `nginx.ingress.kubernetes.io/enable-global-auth: "false"` annotation.
543+
544+
- `nginx.ingress.kubernetes.io/enable-global-auth`:
544545
indicates if GlobalExternalAuth configuration should be applied or not to this Ingress rule. Default values is set to `"true"`.
545546

546547
!!! note

go.mod

Lines changed: 39 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
module k8s.io/ingress-nginx
22

33
go 1.24.1
4-
54
require (
65
dario.cat/mergo v1.0.1
76
github.com/armon/go-proxyproto v0.1.0
@@ -19,46 +18,48 @@ require (
1918
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2
2019
github.com/prometheus/client_golang v1.21.1
2120
github.com/prometheus/client_model v0.6.1
22-
github.com/prometheus/common v0.62.0
21+
github.com/prometheus/common v0.63.0
2322
github.com/spf13/cobra v1.9.1
2423
github.com/spf13/pflag v1.0.6
2524
github.com/stretchr/testify v1.10.0
2625
github.com/yudai/gojsondiff v1.0.0
2726
github.com/zakjan/cert-chain-resolver v0.0.0-20221221105603-fcedb00c5b30
2827
golang.org/x/crypto v0.36.0
2928
google.golang.org/grpc v1.71.0
30-
google.golang.org/grpc/examples v0.0.0-20240223204917-5ccf176a08ab
29+
google.golang.org/grpc/examples v0.0.0-20250306213948-5668c66bc670
3130
gopkg.in/go-playground/pool.v3 v3.1.1
3231
gopkg.in/mcuadros/go-syslog.v2 v2.3.0
33-
k8s.io/api v0.32.2
34-
k8s.io/apiextensions-apiserver v0.32.2
35-
k8s.io/apimachinery v0.32.2
36-
k8s.io/apiserver v0.32.2
37-
k8s.io/cli-runtime v0.32.2
38-
k8s.io/client-go v0.32.2
39-
k8s.io/code-generator v0.32.2
40-
k8s.io/component-base v0.32.2
32+
k8s.io/api v0.32.3
33+
k8s.io/apiextensions-apiserver v0.32.3
34+
k8s.io/apimachinery v0.32.3
35+
k8s.io/apiserver v0.32.3
36+
k8s.io/cli-runtime v0.32.3
37+
k8s.io/client-go v0.32.3
38+
k8s.io/code-generator v0.32.3
39+
k8s.io/component-base v0.32.3
4140
k8s.io/klog/v2 v2.130.1
4241
pault.ag/go/sniff v0.0.0-20200207005214-cf7e4d167732
43-
sigs.k8s.io/controller-runtime v0.20.2
42+
sigs.k8s.io/controller-runtime v0.20.3
4443
sigs.k8s.io/mdtoc v1.4.0
4544
)
4645

4746
require (
4847
github.com/common-nighthawk/go-figure v0.0.0-20210622060536-734e95fb86be // indirect
4948
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
50-
github.com/klauspost/compress v1.17.11 // indirect
49+
github.com/klauspost/compress v1.18.0 // indirect
5150
github.com/moby/sys/userns v0.1.0 // indirect
51+
github.com/rogpeppe/go-internal v1.13.1 // indirect
5252
github.com/x448/float16 v0.8.4 // indirect
53-
go.opentelemetry.io/otel v1.34.0 // indirect
54-
go.opentelemetry.io/otel/trace v1.34.0 // indirect
53+
go.opentelemetry.io/otel v1.35.0 // indirect
54+
go.opentelemetry.io/otel/trace v1.35.0 // indirect
5555
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
56+
sigs.k8s.io/randfill v1.0.0 // indirect
5657
sigs.k8s.io/release-utils v0.8.3 // indirect
5758
)
5859

5960
require (
60-
github.com/Anddd7/pb v0.0.0-20240425032658-369b0f6a404c
61-
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
61+
github.com/Anddd7/pb v0.0.0-20240516033506-f3934fdc18bd
62+
github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c // indirect
6263
github.com/BurntSushi/toml v1.3.2 // indirect
6364
github.com/beorn7/perks v1.0.1 // indirect
6465
github.com/blang/semver/v4 v4.0.0 // indirect
@@ -67,7 +68,7 @@ require (
6768
github.com/cyphar/filepath-securejoin v0.4.1 // indirect
6869
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
6970
github.com/eapache/queue v1.1.0 // indirect
70-
github.com/emicklei/go-restful/v3 v3.12.0 // indirect
71+
github.com/emicklei/go-restful/v3 v3.12.2 // indirect
7172
github.com/evanphx/json-patch/v5 v5.9.11 // indirect
7273
github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa // indirect
7374
github.com/go-errors/errors v1.5.1 // indirect
@@ -81,29 +82,29 @@ require (
8182
github.com/golang/protobuf v1.5.4 // indirect
8283
github.com/gomarkdown/markdown v0.0.0-20240328165702-4d01890c35c0 // indirect
8384
github.com/google/btree v1.1.3 // indirect
84-
github.com/google/gnostic-models v0.6.8 // indirect
85-
github.com/google/go-cmp v0.6.0 // indirect
85+
github.com/google/gnostic-models v0.6.9 // indirect
86+
github.com/google/go-cmp v0.7.0 // indirect
8687
github.com/google/gofuzz v1.2.0 // indirect
87-
github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad // indirect
88+
github.com/google/pprof v0.0.0-20250302191652-9094ed2288e7 // indirect
8889
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
8990
github.com/google/uuid v1.6.0 // indirect
9091
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect
9192
github.com/inconshreveable/mousetrap v1.1.0 // indirect
9293
github.com/josharian/intern v1.0.0 // indirect
9394
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect
94-
github.com/mailru/easyjson v0.7.7 // indirect
95+
github.com/mailru/easyjson v0.9.0 // indirect
9596
github.com/mattn/go-colorable v0.1.13 // indirect
9697
github.com/mattn/go-isatty v0.0.19 // indirect
9798
github.com/mmarkdown/mmark v2.0.40+incompatible // indirect
98-
github.com/moby/sys/mountinfo v0.7.1 // indirect
99-
github.com/moby/term v0.5.0 // indirect
99+
github.com/moby/sys/mountinfo v0.7.2 // indirect
100+
github.com/moby/term v0.5.2 // indirect
100101
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
101102
github.com/modern-go/reflect2 v1.0.2 // indirect
102103
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 // indirect
103104
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
104105
github.com/ncabatoff/go-seq v0.0.0-20180805175032-b08ef85ed833 // indirect
105106
github.com/onsi/ginkgo v1.16.5 // indirect
106-
github.com/opencontainers/runtime-spec v1.2.0 // indirect
107+
github.com/opencontainers/runtime-spec v1.2.1 // indirect
107108
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
108109
github.com/pkg/errors v0.9.1 // indirect
109110
github.com/prometheus/procfs v0.15.1 // indirect
@@ -112,26 +113,26 @@ require (
112113
github.com/xlab/treeprint v1.2.0 // indirect
113114
github.com/yudai/golcs v0.0.0-20170316035057-ecda9a501e82 // indirect
114115
github.com/yudai/pp v2.0.1+incompatible // indirect
115-
golang.org/x/mod v0.23.0 // indirect
116-
golang.org/x/net v0.35.0 // indirect
117-
golang.org/x/oauth2 v0.25.0 // indirect
116+
golang.org/x/mod v0.24.0 // indirect
117+
golang.org/x/net v0.37.0 // indirect
118+
golang.org/x/oauth2 v0.28.0 // indirect
118119
golang.org/x/sync v0.12.0 // indirect
119120
golang.org/x/sys v0.31.0 // indirect
120121
golang.org/x/term v0.30.0 // indirect
121122
golang.org/x/text v0.23.0 // indirect
122-
golang.org/x/time v0.7.0 // indirect
123-
golang.org/x/tools v0.30.0 // indirect
124-
google.golang.org/genproto/googleapis/rpc v0.0.0-20250115164207-1a7da9e5054f // indirect
125-
google.golang.org/protobuf v1.36.4 // indirect
123+
golang.org/x/time v0.11.0 // indirect
124+
golang.org/x/tools v0.31.0 // indirect
125+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250303144028-a0af3efb3deb // indirect
126+
google.golang.org/protobuf v1.36.5 // indirect
126127
gopkg.in/go-playground/assert.v1 v1.2.1 // indirect
127128
gopkg.in/inf.v0 v0.9.1 // indirect
128129
gopkg.in/yaml.v3 v3.0.1 // indirect
129130
k8s.io/gengo/v2 v2.0.0-20240911193312-2b36238f13e9 // indirect
130-
k8s.io/kube-openapi v0.0.0-20241105132330-32ad38e42d3f // indirect
131-
k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738 // indirect
132-
sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 // indirect
133-
sigs.k8s.io/kustomize/api v0.18.0 // indirect
134-
sigs.k8s.io/kustomize/kyaml v0.18.1 // indirect
135-
sigs.k8s.io/structured-merge-diff/v4 v4.4.2 // indirect
131+
k8s.io/kube-openapi v0.0.0-20250304201544-e5f78fe3ede9 // indirect
132+
k8s.io/utils v0.0.0-20241210054802-24370beab758 // indirect
133+
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect
134+
sigs.k8s.io/kustomize/api v0.19.0 // indirect
135+
sigs.k8s.io/kustomize/kyaml v0.19.0 // indirect
136+
sigs.k8s.io/structured-merge-diff/v4 v4.6.0 // indirect
136137
sigs.k8s.io/yaml v1.4.0 // indirect
137138
)

0 commit comments

Comments
 (0)