Skip to content

Commit

Permalink
adjust prometheus cluster roles to enable pod metrics scraping
Browse files Browse the repository at this point in the history
  • Loading branch information
jdongo-aneo committed Mar 22, 2024
1 parent 73ce778 commit 0467d3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions monitoring/onpremise/prometheus/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ resource "kubernetes_cluster_role" "prometheus" {
verbs = ["get"]
}
rule {
api_groups = ["networking.k8s.io"]
resources = ["ingresses"]
api_groups = ["*"]
resources = ["*"]
verbs = ["get", "list", "watch"]
}
}
Expand Down

0 comments on commit 0467d3d

Please sign in to comment.