Local path storage k3s

Hello,

I used the following link in order to use persistent volume with local path storage :

It worked and the local volume persistent storage is created locally on the nodes.

I tried create a new pvc after several days and I detected that the local path storage pod is showing an error that is repeating each 2 seconds :

E0624 12:05:54.771144 1 leaderelection.go:331] error retrieving resource lock local-path-storage/rancher.io-local-path: endpoints “rancher.io-local-path” is forbidden: User “system:serviceaccount:local-path-storage:local-path-provisioner-service-account” cannot get resource “endpoints” in API group “” in the namespace "local-path-storage"

If I try to bind the pvc that I created with a pod, the local persistent volume is not created.

Anyone can help me fix this issue ?

Thank you in advance.

Regards,
Antony