-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into allow-any-protocol-cors
- Loading branch information
Showing
87 changed files
with
642 additions
and
1,823 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,7 +44,7 @@ function cleanup { | |
} | ||
trap cleanup EXIT | ||
|
||
E2E_IMAGE=${E2E_IMAGE:-registry.k8s.io/ingress-nginx/e2e-test-runner:v20240812-3f0129aa@sha256:95c2aaf2a66e8cbbf7a7453046f3b024383c273a0988efab841cd96116afd1a9} | ||
E2E_IMAGE=${E2E_IMAGE:-registry.k8s.io/ingress-nginx/e2e-test-runner:v20240829-2c421762@sha256:5b7809bfe9cbd9cd6bcb8033ca27576ca704f05ce729fe4dcb574810f7a25785} | ||
|
||
if [[ "$RUNTIME" == podman ]]; then | ||
# Podman does not support both tag and digest | ||
|
@@ -82,7 +82,7 @@ if [[ "$DOCKER_IN_DOCKER_ENABLED" == "true" ]]; then | |
echo "..reached DIND check TRUE block, inside run-in-docker.sh" | ||
echo "FLAGS=$FLAGS" | ||
#go env | ||
go install -mod=mod github.com/onsi/ginkgo/v2/[email protected].0 | ||
go install -mod=mod github.com/onsi/ginkgo/v2/[email protected].2 | ||
find / -type f -name ginkgo 2>/dev/null | ||
which ginkgo | ||
/bin/bash -c "${FLAGS}" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
charts/ingress-nginx/tests/controller-prometheusrule_test.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
suite: Controller > PrometheusRule | ||
templates: | ||
- controller-prometheusrule.yaml | ||
|
||
tests: | ||
- it: should create a PrometheusRule if `controller.metrics.prometheusRule.enabled` is true | ||
set: | ||
controller.metrics.enabled: true | ||
controller.metrics.prometheusRule.enabled: true | ||
asserts: | ||
- hasDocuments: | ||
count: 1 | ||
- isKind: | ||
of: PrometheusRule | ||
- equal: | ||
path: metadata.name | ||
value: RELEASE-NAME-ingress-nginx-controller | ||
|
||
- it: should create a PrometheusRule with annotations if `controller.metrics.prometheusRule.annotations` is set | ||
set: | ||
controller.metrics.enabled: true | ||
controller.metrics.prometheusRule.enabled: true | ||
controller.metrics.prometheusRule.annotations: | ||
my-little-annotation: test-value | ||
asserts: | ||
- equal: | ||
path: metadata.annotations | ||
value: | ||
my-little-annotation: test-value |
29 changes: 29 additions & 0 deletions
29
charts/ingress-nginx/tests/controller-servicemonitor_test.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
suite: Controller > ServiceMonitor | ||
templates: | ||
- controller-servicemonitor.yaml | ||
|
||
tests: | ||
- it: should create a ServiceMonitor if `controller.metrics.serviceMonitor.enabled` is true | ||
set: | ||
controller.metrics.enabled: true | ||
controller.metrics.serviceMonitor.enabled: true | ||
asserts: | ||
- hasDocuments: | ||
count: 1 | ||
- isKind: | ||
of: ServiceMonitor | ||
- equal: | ||
path: metadata.name | ||
value: RELEASE-NAME-ingress-nginx-controller | ||
|
||
- it: should create a ServiceMonitor with annotations if `controller.metrics.serviceMonitor.annotations` is set | ||
set: | ||
controller.metrics.enabled: true | ||
controller.metrics.serviceMonitor.enabled: true | ||
controller.metrics.serviceMonitor.annotations: | ||
my-little-annotation: test-value | ||
asserts: | ||
- equal: | ||
path: metadata.annotations | ||
value: | ||
my-little-annotation: test-value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.