Skip to content

Commit

Permalink
bump nginx to 1.9.4
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverMKing committed Oct 27, 2023
1 parent 4db42d5 commit af244b4
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion pkg/manifests/fixtures/nginx/full.json
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@
"containers": [
{
"name": "controller",
"image": "test-registry/oss/kubernetes/ingress/nginx-ingress-controller:v1.9.3",
"image": "test-registry/oss/kubernetes/ingress/nginx-ingress-controller:v1.9.4",
"args": [
"/nginx-ingress-controller",
"--ingress-class=webapprouting.kubernetes.azure.com",
Expand Down
2 changes: 1 addition & 1 deletion pkg/manifests/fixtures/nginx/internal.json
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@
"containers": [
{
"name": "controller",
"image": "test-registry/oss/kubernetes/ingress/nginx-ingress-controller:v1.9.3",
"image": "test-registry/oss/kubernetes/ingress/nginx-ingress-controller:v1.9.4",
"args": [
"/nginx-ingress-controller",
"--ingress-class=nginx-private",
Expand Down
2 changes: 1 addition & 1 deletion pkg/manifests/fixtures/nginx/kube-system.json
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@
"containers": [
{
"name": "controller",
"image": "test-registry/oss/kubernetes/ingress/nginx-ingress-controller:v1.9.3",
"image": "test-registry/oss/kubernetes/ingress/nginx-ingress-controller:v1.9.4",
"args": [
"/nginx-ingress-controller",
"--ingress-class=webapprouting.kubernetes.azure.com",
Expand Down
2 changes: 1 addition & 1 deletion pkg/manifests/fixtures/nginx/no-ownership.json
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@
"containers": [
{
"name": "controller",
"image": "test-registry/oss/kubernetes/ingress/nginx-ingress-controller:v1.9.3",
"image": "test-registry/oss/kubernetes/ingress/nginx-ingress-controller:v1.9.4",
"args": [
"/nginx-ingress-controller",
"--ingress-class=webapprouting.kubernetes.azure.com",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@
"containers": [
{
"name": "controller",
"image": "test-registry/oss/kubernetes/ingress/nginx-ingress-controller:v1.9.3",
"image": "test-registry/oss/kubernetes/ingress/nginx-ingress-controller:v1.9.4",
"args": [
"/nginx-ingress-controller",
"--ingress-class=webapprouting.kubernetes.azure.com",
Expand Down
2 changes: 1 addition & 1 deletion pkg/manifests/nginx.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
)

const (
controllerImageTag = "v1.9.3"
controllerImageTag = "v1.9.4"
prom = "prometheus"
)

Expand Down
11 changes: 5 additions & 6 deletions testing/e2e/suites/basic.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,17 +122,16 @@ var clientServerTest = func(ctx context.Context, config *rest.Config, operator m
ctx = logger.WithContext(ctx, lgr)

testingResources := manifests.ClientAndServer(ns.Name, "e2e-testing", zone.GetName(), zone.GetNameserver(), infra.Cert.GetId())
for _, object := range testingResources.Objects() {
if err := upsert(ctx, c, object); err != nil {
return fmt.Errorf("upserting resource: %w", err)
}
}

if mod != nil {
if err := mod(testingResources.Ingress, testingResources.Service, zone); err != nil {
return fmt.Errorf("modifying ingress and service: %w", err)
}
}
for _, object := range testingResources.Objects() {
if err := upsert(ctx, c, object); err != nil {
return fmt.Errorf("upserting resource: %w", err)
}
}

ctx = logger.WithContext(ctx, lgr.With("client", testingResources.Client.GetName(), "clientNamespace", testingResources.Client.GetNamespace()))
if err := waitForAvailable(ctx, c, *testingResources.Client); err != nil {
Expand Down

0 comments on commit af244b4

Please sign in to comment.