Hi all, probably a silly question but i’ll fire away… i’m learning Consul and spun up a cluster in k8s using helm chart. I enabled acl’s and adding servicemonitor to scrape /v1/agent/metrics?prometheus. i am getting access denied unless i grant the necessary access to default policy.
My plan is to create new policy for prometheus and get token and pass it to servicemonitor from the same helm chart which i use to install consul. Also create few other default policies which we need for vault or our terraform admins.
can you please advise on how we can achieve this or if any code exists already?