Skip to content

Commit

Permalink
Allow deploy role to interact with customresourcedefinitions
Browse files Browse the repository at this point in the history
  • Loading branch information
clarissalimab committed Jul 24, 2024
1 parent 8e29883 commit 97aee73
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions aws/deploy-role-bindings/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,10 @@ resource "kubernetes_role" "deploy_crd" {
resources = ["prometheusservicelevels"]
verbs = ["*"]
}

rule {
api_groups = ["apiextensions.k8s.io"]
resources = ["customresourcedefinitions"]
verbs = ["*"]
}
}

0 comments on commit 97aee73

Please sign in to comment.