Skip to content

Commit

Permalink
Fix Watch of PersistentVolumeClaim
Browse files Browse the repository at this point in the history
  • Loading branch information
wpjunior committed Apr 6, 2020
1 parent 5b945c0 commit 954ab30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/rpaasinstance/rpaasinstance_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func add(mgr manager.Manager, r reconcile.Reconciler) error {
return err
}

err = c.Watch(&source.Kind{Type: &corev1.PersistentVolume{}}, &handler.EnqueueRequestForOwner{
err = c.Watch(&source.Kind{Type: &corev1.PersistentVolumeClaim{}}, &handler.EnqueueRequestForOwner{
IsController: true,
OwnerType: &extensionsv1alpha1.RpaasInstance{},
})
Expand Down

0 comments on commit 954ab30

Please sign in to comment.