Skip to content

Commit

Permalink
fix: Updating Kubernetes Role for EMR Virtual Cluster (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
youngjeong46 authored Jul 18, 2023
1 parent 1ccbe78 commit 05bc754
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion modules/virtual-cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ resource "kubernetes_role_v1" "this" {
}

rule {
api_groups = ["extensions"]
api_groups = ["extensions", "networking.k8s.io"]
resources = ["ingresses"]
verbs = ["get", "list", "watch", "describe", "create", "edit", "delete", "annotate", "patch", "label"]
}
Expand All @@ -101,6 +101,12 @@ resource "kubernetes_role_v1" "this" {
resources = ["roles", "rolebindings"]
verbs = ["get", "list", "watch", "describe", "create", "edit", "delete", "deletecollection", "annotate", "patch", "label"]
}

rule {
api_groups = [""]
resources = ["persistentvolumeclaims"]
verbs = ["get", "list", "watch", "describe", "create", "edit", "delete", "annotate", "patch", "label"]
}
}

resource "kubernetes_role_binding_v1" "this" {
Expand Down

0 comments on commit 05bc754

Please sign in to comment.