Skip to content

Commit

Permalink
more debug
Browse files Browse the repository at this point in the history
  • Loading branch information
lmiccini committed Sep 11, 2024
1 parent b657ccf commit 764556c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions controllers/core/openstackversion_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ func (r *OpenStackVersionReconciler) Reconcile(ctx context.Context, req ctrl.Req

instance.Status.AvailableVersion = &envAvailableVersion
defaults := openstack.InitializeOpenStackVersionImageDefaults(ctx, envContainerImages)
Log.Info("%s", defaults)
if instance.Status.ContainerImageVersionDefaults == nil {
instance.Status.ContainerImageVersionDefaults = make(map[string]*corev1beta1.ContainerDefaults)
}
Expand All @@ -190,6 +191,7 @@ func (r *OpenStackVersionReconciler) Reconcile(ctx context.Context, req ctrl.Req
return ctrl.Result{}, nil
}
instance.Status.ContainerImages = openstack.GetContainerImages(val, *instance)
Log.Info("%s", instance.Status.ContainerImages)

instance.Status.Conditions.MarkTrue(
corev1beta1.OpenStackVersionInitialized,
Expand Down

0 comments on commit 764556c

Please sign in to comment.