Skip to content

Commit 5c8eb08

Browse files
committed
force deployment
1 parent a72e0b7 commit 5c8eb08

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

test/e2e/ingress/multi_path_backend_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ var _ = Describe("test ingresses with multiple path and backends", func() {
2424
if tf.Options.ControllerImage != "" {
2525
By(fmt.Sprintf("ensure cluster installed with controller: %s", tf.Options.ControllerImage), func() {
2626
tf.CTRLInstallationManager.UpgradeController(tf.Options.ControllerImage)
27+
time.Sleep(60 * time.Second)
2728
})
2829
}
2930
})

test/framework/controller/installation_manager.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package controller
33
import (
44
"github.com/go-logr/logr"
55
"github.com/pkg/errors"
6+
"k8s.io/apimachinery/pkg/util/uuid"
67
"sigs.k8s.io/aws-load-balancer-controller/test/framework/helm"
78
"strings"
89
)
@@ -53,6 +54,9 @@ func (m *defaultInstallationManager) UpgradeController(controllerImage string) e
5354
"repository": imageRepo,
5455
"tag": imageTag,
5556
}
57+
vals["podLabels"] = map[string]string{
58+
"revision": string(uuid.NewUUID()),
59+
}
5660
_, err = m.helmReleaseManager.InstallOrUpgradeRelease(EKSHelmChartsRepo, AWSLoadBalancerControllerHelmChart, "kube-system", AWSLoadBalancerControllerHelmRelease, vals)
5761
return err
5862
}

0 commit comments

Comments
 (0)