Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ranatrk committed Dec 13, 2023
1 parent 8259ada commit ca4a1ac
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,6 @@ func (r *AutomatedClusterDiscoveryReconciler) reconcileClusters(ctx context.Cont
gitopsCluster.SetAnnotations(mergeMaps(acd.Spec.CommonAnnotations, map[string]string{
gitopsv1alpha1.GitOpsClusterNoSecretFinalizerAnnotation: "true",
}))
// gitopscluster , for capi cluster we use capisecret ref instead of secret ref {CAPIClusterRef:cluster.Name}
_, err = controllerutil.CreateOrPatch(ctx, r.Client, gitopsCluster, func() error {
if acd.Spec.Type == "aks" {
gitopsCluster.Spec = gitopsv1alpha1.GitopsClusterSpec{
Expand Down

0 comments on commit ca4a1ac

Please sign in to comment.