From 9432266571f69bdba8b2e67ccba33eaf33d60af3 Mon Sep 17 00:00:00 2001 From: Mike <2266568+michaelbeaumont@users.noreply.github.com> Date: Thu, 12 Nov 2020 10:59:27 +0100 Subject: [PATCH] Don't check exact helm-operator version in integration test (#2823) --- integration/matchers/flux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/matchers/flux.go b/integration/matchers/flux.go index 561945512a..7f33dc177f 100644 --- a/integration/matchers/flux.go +++ b/integration/matchers/flux.go @@ -335,7 +335,7 @@ func assertValidHelmOperatorDeployment(fileName string) { Expect(deployment.Spec.Template.Spec.Containers).To(HaveLen(1)) container := deployment.Spec.Template.Spec.Containers[0] Expect(container.Name).To(Equal("helm-operator")) - Expect(container.Image).To(Equal("docker.io/fluxcd/helm-operator:1.0.0")) + Expect(container.Image).To(HavePrefix("docker.io/fluxcd/helm-operator")) } else { Fail(fmt.Sprintf("Unsupported Kubernetes object. Got %s object with version %s in: %s", gvk.Kind, gvk.Version, fileName)) }