Skip to content

Commit

Permalink
Merge pull request #9138 from k8s-infra-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…9133-to-release-1.4

[release-1.4] 🐛 Fix ClusterClass enqueue for ExtensionConfig
  • Loading branch information
k8s-ci-robot authored Aug 7, 2023
2 parents 41f134c + 7e67fd6 commit bf09466
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ func (r *Reconciler) extensionConfigToClusterClass(o client.Object) []reconcile.
}
for _, patch := range clusterClass.Spec.Patches {
if patch.External != nil && patch.External.DiscoverVariablesExtension != nil {
res = append(res, ctrl.Request{NamespacedName: client.ObjectKey{Name: ext.Name}})
res = append(res, ctrl.Request{NamespacedName: client.ObjectKey{Namespace: clusterClass.Namespace, Name: clusterClass.Name}})
break
}
}
Expand Down

0 comments on commit bf09466

Please sign in to comment.