Skip to content

Commit

Permalink
Merge pull request openstack-k8s-operators#1212 from stuggi/fix_disab…
Browse files Browse the repository at this point in the history
…led_ovncontroller

When OVNController is disabed, set current version images
  • Loading branch information
openshift-merge-bot[bot] authored Nov 29, 2024
2 parents 4c23add + 8f67e0c commit c8ed999
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 c8ed999

Please sign in to comment.