The allow-only-ready-replicas feature requires permission to get pods. Otherwise the following error occurs:
failed polling until pod is ready" pod=thanos-receive-3 duration=4.340636ms err="pods " thanos-receive-3" is forbidden: User "system:serviceaccount:thanos:thanos-receive-controller" cannot get resource "pods" in API group "" in the namespace "thanos"
This PR adds the necessary permission to the example manifest, as well as the Jsonnet code.
The
allow-only-ready-replicas
feature requires permission to get pods. Otherwise the following error occurs:This PR adds the necessary permission to the example manifest, as well as the Jsonnet code.