rbac
aidanmelen/rbac/kubernetes
A Terraform module to manage Kubernetes RBAC Authorization.
   terraform-kubernetes-rbac A Terraform module for managing Kubernetes RBAC. Usage Recreate the Kubernetes RBAC examples from the Using RBAC Authorization documentation. ```hcl locals { labels = { "terraform-example" = "ex-${replace(basename(path.cwd), "_", "-")}" "app.kubernetes.io/managed-by" = "Terraform" "terraform.io/module" = "terraform-kubernetes-rbac" } } resource "kubernetes_namespace" "development" { metadata { name = "development" labels = local.labels } } module "rbac" { # source = "aidan-melen/rbac/kubern
| Name | Type | Description | Default |
|---|---|---|---|
| cluster_roles | any | Map of cluster role and cluster/role binding definitions to create. | {} |
| create | bool | Controls whether the Authorization and RBAC resources should be created (affects | true |
| labels | map(string) | The global labels. Applied to all resources. | {} |
| annotations | map(string) | The global annotations. Applied to all resources. | {} |
| roles | any | Map of role and role binding definitions to create. | {} |
roles — The roles.cluster_roles — The cluster roles.