Skip to content

Commit 000065a

Browse files
bigkevmcdfoot
andauthored
Update controllers/clusterbootstrapconfig_controller.go
Co-authored-by: Simon <[email protected]>
1 parent 8f1300b commit 000065a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

controllers/clusterbootstrapconfig_controller.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ func (r *ClusterBootstrapConfigReconciler) getClustersBySelector(ctx context.Con
177177
}
178178
}
179179

180+
// Check for the legacy bootstrapped annotation and skip bootstrapping if present.
181+
// We don't add this anymore but might be present on existing clusters bootstrapped from older versions.
180182
if metav1.HasAnnotation(cluster.ObjectMeta, capiv1alpha1.BootstrappedAnnotation) {
181183
continue
182184
}

0 commit comments

Comments
 (0)