Skip to content

Commit

Permalink
Don't check exact helm-operator version in integration test (#2823)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbeaumont committed Nov 12, 2020
1 parent 48cd57c commit 9432266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration/matchers/flux.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand Down

0 comments on commit 9432266

Please sign in to comment.