Skip to content

Commit

Permalink
Merge pull request #3973 from Uburro/patch-watching-externally-manage…
Browse files Browse the repository at this point in the history
…d-resources

📖 bugfix: fix error in documentation Watching Externally Managed Resources
  • Loading branch information
k8s-ci-robot authored Jun 10, 2024
2 parents fd6053d + 4a8abff commit 98d03be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func (r *ConfigDeploymentReconciler) SetupWithManager(mgr ctrl.Manager) error {
For(&appsv1.ConfigDeployment{}).
Owns(&kapps.Deployment{}).
Watches(
&source.Kind{Type: &corev1.ConfigMap{}},
&corev1.ConfigMap{},
handler.EnqueueRequestsFromMapFunc(r.findObjectsForConfigMap),
builder.WithPredicates(predicate.ResourceVersionChangedPredicate{}),
).
Expand Down

0 comments on commit 98d03be

Please sign in to comment.