Skip to content

Commit

Permalink
Release v3.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorbot authored and Gacko committed Oct 27, 2023
1 parent 196681b commit d907cf7
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 13 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project's packages adheres to [Semantic Versioning](http://semver.org/s

## [Unreleased]

## [3.2.1] - 2023-10-26

### Changed

- Image: Update to [`v1.9.4`](https:/kubernetes/ingress-nginx/blob/main/changelog/Changelog-1.9.4.md). ([#557](https:/giantswarm/ingress-nginx-app/pull/557))

## [3.2.0] - 2023-10-18

This release contains security relevant changes. Please check your `Ingress` resources for invalid annotations or paths before installing it.
Expand Down Expand Up @@ -1207,7 +1213,8 @@ In recent platform releases (Azure v12.0.2, and AWS v12.1.4 and v11.5.4) we've i

Previous versions changelog can be found [here](https:/giantswarm/kubernetes-nginx-ingress-controller/blob/master/CHANGELOG.md)

[Unreleased]: https:/giantswarm/ingress-nginx-app/compare/v3.2.0...HEAD
[Unreleased]: https:/giantswarm/ingress-nginx-app/compare/v3.2.1...HEAD
[3.2.1]: https:/giantswarm/ingress-nginx-app/compare/v3.2.0...v3.2.1
[3.2.0]: https:/giantswarm/ingress-nginx-app/compare/v3.1.2...v3.2.0
[3.1.2]: https:/giantswarm/ingress-nginx-app/compare/v3.1.1...v3.1.2
[3.1.1]: https:/giantswarm/ingress-nginx-app/compare/v3.1.0...v3.1.1
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ metadata:
spec:
catalog: giantswarm
name: ingress-nginx
version: 3.2.0
version: 3.2.1
userConfig:
configMap:
name: ingress-nginx-user-values
Expand Down
2 changes: 1 addition & 1 deletion helm/ingress-nginx/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ kubeVersion: '>=1.20.0-0'
name: ingress-nginx
sources:
- https:/kubernetes/ingress-nginx
version: 3.2.0
version: 3.2.1
2 changes: 1 addition & 1 deletion helm/ingress-nginx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[ingress-nginx](https:/giantswarm/ingress-nginx-app) Ingress controller for Kubernetes using NGINX as a reverse proxy and load balancer

![Version: 3.2.0](https://img.shields.io/badge/Version-3.2.0-informational?style=flat-square) ![AppVersion: 1.9.4](https://img.shields.io/badge/AppVersion-1.9.4-informational?style=flat-square)
![Version: 3.2.1](https://img.shields.io/badge/Version-3.2.1-informational?style=flat-square) ![AppVersion: 1.9.4](https://img.shields.io/badge/AppVersion-1.9.4-informational?style=flat-square)

To use, add `ingressClassName: nginx` spec field or the `kubernetes.io/ingress.class: nginx` annotation to your Ingress resources.

Expand Down
8 changes: 8 additions & 0 deletions tests/ats/manifests/hello-world.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
apiVersion: v1
kind: Namespace
metadata:
name: hello-world
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: hello-world
namespace: hello-world
spec:
selector:
matchLabels:
Expand Down Expand Up @@ -29,6 +35,7 @@ apiVersion: v1
kind: Service
metadata:
name: hello-world
namespace: hello-world
spec:
selector:
app.kubernetes.io/name: hello-world
Expand All @@ -39,6 +46,7 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: hello-world
namespace: hello-world
spec:
ingressClassName: nginx
rules:
Expand Down
13 changes: 6 additions & 7 deletions tests/ats/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,19 @@ def test_ingress_nginx(kube_cluster: Cluster) -> None:
# Wait for ingress-nginx-controller deployment to run.
wait_for_deployments_to_run(kube_cluster.kube_client, [ "ingress-nginx-controller" ], "ingress-nginx", 60)

@mark.functional
@mark.upgrade
@mark.smoke
def test_hello_world(kube_cluster: Cluster, request: FixtureRequest) -> None:
assert kube_cluster.kube_client is not None

# Apply hello-world manifests.
kube_cluster.kubectl("apply", filename = str(request.path.parent / "manifests" / "hello-world.yaml"))
# Create hello-world manifests.
kube_cluster.kubectl("create", filename = str(request.path.parent / "manifests" / "hello-world.yaml"), output_format = "")

# Wait for hello-world deployment to run.
wait_for_deployments_to_run(kube_cluster.kube_client, [ "hello-world" ], "default", 60)
wait_for_deployments_to_run(kube_cluster.kube_client, [ "hello-world" ], "hello-world", 60)

@mark.functional
@mark.upgrade
def test_requests() -> None:
# Assert responses.
assert get(f"http://127.0.0.1:30080", headers = { "Host": "hello-world" }).status_code == 200
assert get(f"http://127.0.0.1:30080", headers = { "Host": "not-found" }).status_code == 404
assert get(f"http://127.0.0.1", headers = { "Host": "hello-world" }).status_code == 200
assert get(f"http://127.0.0.1", headers = { "Host": "not-found" }).status_code == 404
4 changes: 2 additions & 2 deletions tests/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Cluster
nodes:
- role: control-plane
extraPortMappings:
- hostPort: 30080
- hostPort: 80
containerPort: 30080
- hostPort: 30443
- hostPort: 443
containerPort: 30443

0 comments on commit d907cf7

Please sign in to comment.