This change updates the codebase to replace the deprecated v1.Endpoints API with discoveryv1.EndpointSlice. The v1.Endpoints API has been deprecated in Kubernetes v1.33+ Signed-off-by: subhamkrai <srai@redhat.com>