Skip to content

Commit

Permalink
Merge pull request #1213 from openshift-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…1212-to-18.0-fr1

[18.0-fr1] When OVNController is disabed, set current version images
  • Loading branch information
openshift-merge-bot[bot] authored Nov 29, 2024
2 parents cfe6a0f + 3e7431a commit 71f4510
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/openstack/ovn.go
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,11 @@ func ReconcileOVNController(ctx context.Context, instance *corev1beta1.OpenStack
if _, err := EnsureDeleted(ctx, helper, OVNController); err != nil {
return false, err
}

// for minor updates, update the ovn controller images to the one from the version
instance.Status.ContainerImages.OvnControllerImage = version.Status.ContainerImages.OvnControllerImage
instance.Status.ContainerImages.OvnControllerOvsImage = version.Status.ContainerImages.OvnControllerOvsImage

return true, nil
}

Expand Down

0 comments on commit 71f4510

Please sign in to comment.