Skip to content

Commit c4c0495

Browse files
Merge pull request #357 from shiftstack/OCPCLOUD-2857
OCPCLOUD-2857: Set infrastructureRef.Namespace in Cluster object
2 parents 62c73e7 + f67205c commit c4c0495

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

openshift/pkg/infraclustercontroller/openstackcluster.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,7 @@ func (r *OpenShiftClusterReconciler) ensureCAPICluster(ctx context.Context, log
462462
cluster.Spec.InfrastructureRef = &corev1.ObjectReference{
463463
Kind: gvk.Kind,
464464
Name: openStackCluster.Name,
465+
Namespace: openStackCluster.Namespace,
465466
APIVersion: gvk.GroupVersion().String(),
466467
}
467468

0 commit comments

Comments
 (0)