Skip to content

Commit 8941f16

Browse files
authored
Merge pull request #6295 from sbueringer/pr-fix-apiversion-diff
🐛 topology: set apiVersion to avoid diff in patchHelper
2 parents 1d39b90 + 0a4ce37 commit 8941f16

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/controllers/topology/cluster/cluster_controller.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Re
127127
// Error reading the object - requeue the request.
128128
return ctrl.Result{}, err
129129
}
130+
cluster.APIVersion = clusterv1.GroupVersion.String()
130131
cluster.Kind = "Cluster"
131132

132133
// Return early, if the Cluster does not use a managed topology.

0 commit comments

Comments
 (0)