nats-io / nats-operator

NATS Operator
https://nats-io.github.io/k8s/
Apache License 2.0
573 stars 111 forks source link

don't use deprecated TolerateUnreadyEndpointsAnnotation #341

Closed aojea closed 2 years ago

aojea commented 2 years ago

The annotation was deprecated in Kubernetes 1.13, will not be longer available since 1.24 and only works for the Endpoints controller.

Use the corresponding Service API field, that is also compatible with EndpointSlices.

Fixes: https://github.com/nats-io/nats-operator/issues/339