Skip to content

Commit 98d03be

Browse files
authored
Merge pull request #3973 from Uburro/patch-watching-externally-managed-resources
📖 bugfix: fix error in documentation Watching Externally Managed Resources
2 parents fd6053d + 4a8abff commit 98d03be

File tree

1 file changed

+1
-1
lines changed
  • docs/book/src/reference/watching-resources/testdata/external-indexed-field

1 file changed

+1
-1
lines changed

docs/book/src/reference/watching-resources/testdata/external-indexed-field/controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ func (r *ConfigDeploymentReconciler) SetupWithManager(mgr ctrl.Manager) error {
169169
For(&appsv1.ConfigDeployment{}).
170170
Owns(&kapps.Deployment{}).
171171
Watches(
172-
&source.Kind{Type: &corev1.ConfigMap{}},
172+
&corev1.ConfigMap{},
173173
handler.EnqueueRequestsFromMapFunc(r.findObjectsForConfigMap),
174174
builder.WithPredicates(predicate.ResourceVersionChangedPredicate{}),
175175
).

0 commit comments

Comments
 (0)