Skip to content

Commit

Permalink
Merge pull request #9133 from killianmuldoon/pr-fix-clusterclass-enqueue
Browse files Browse the repository at this point in the history
🐛 Fix ClusterClass enqueue for ExtensionConfig
  • Loading branch information
k8s-ci-robot committed Aug 7, 2023
2 parents 50ecbae + b93b471 commit 2061cab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ func (r *Reconciler) extensionConfigToClusterClass(ctx context.Context, o client
}
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 2061cab

Please sign in to comment.