Skip to content

Commit

Permalink
[osversion] remove condition check after successful update
Browse files Browse the repository at this point in the history
When the dataplane minor update finished, the controller will not
set a OpenStackVersionMinorUpdateOVNDataplane after [1]. This
change will remove the no longer required check.

[1] openstack-k8s-operators/lib-common#590

Signed-off-by: Martin Schuppert <[email protected]>
  • Loading branch information
stuggi committed Dec 17, 2024
1 parent c080dc8 commit e734d6b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/functional/ctlplane/openstackversion_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -535,12 +535,6 @@ var _ = Describe("OpenStackOperator controller", func() {
osversion := GetOpenStackVersion(names.OpenStackVersionName)
g.Expect(osversion).Should(Not(BeNil()))
g.Expect(osversion.OwnerReferences).Should(HaveLen(1))
th.ExpectCondition(
names.OpenStackVersionName,
ConditionGetterFunc(OpenStackVersionConditionGetter),
corev1.OpenStackVersionMinorUpdateDataplane,
k8s_corev1.ConditionTrue,
)
th.ExpectCondition(
names.OpenStackVersionName,
ConditionGetterFunc(OpenStackVersionConditionGetter),
Expand Down

0 comments on commit e734d6b

Please sign in to comment.