Skip to content

Commit

Permalink
bugfix: fix error in documentation Watching Externally Managed Resources
Browse files Browse the repository at this point in the history
  • Loading branch information
Uburro committed Jun 9, 2024
1 parent fd6053d commit 4a8abff
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 4a8abff

Please sign in to comment.