From a84c3a2c4cf83f992e876a104ea62bf25a8daef0 Mon Sep 17 00:00:00 2001 From: Clarissa Borges Date: Thu, 6 Jul 2023 15:45:13 -0300 Subject: [PATCH] Add prometheusrules to resources that can be managed by deploy crd Kubernetes role --- aws/deploy-role-bindings/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/deploy-role-bindings/main.tf b/aws/deploy-role-bindings/main.tf index c692ec73..8855c71d 100644 --- a/aws/deploy-role-bindings/main.tf +++ b/aws/deploy-role-bindings/main.tf @@ -46,7 +46,7 @@ resource "kubernetes_role" "deploy_crd" { rule { api_groups = ["monitoring.coreos.com"] - resources = ["servicemonitors"] + resources = ["servicemonitors", "prometheusrules"] verbs = ["*"] }