namespace
gruntwork-io/namespace/kubernetes
This repo contains a Module for managing Kubernetes Namespaces with Terraform.
Kubernetes Namespace  !Terraform Version This repo contains a Module for managing Kubernetes Namespaces with Terraform. Features Deploy a Namespace from scratch Configure Namespaces with default RBAC roles Create and manage Namespace scoped Service Accounts with various access levels via RBAC Learn This repo is a part of the Gruntwork Infrastructure as Code Library, a collection of reusable, battle-tested, production ready infrastructure code. If you've never used the Infrastructure as Code Library before, make sure to read How to use the Gruntwork Infrastructure as Code Library! Core concepts What is a Namespace? What is Kubernetes RBAC? What is a Service Account? Official Kubernetes Docs on Namespaces Official Kub
| Name | Type | Description | Default |
|---|---|---|---|
| name | string | Name of the namespace to be created | required |
| kubectl_config_context_name | string | The config context to use when authenticating to the Kubernetes cluster. If empt | "" |
| kubectl_config_path | string | The path to the config file to use for kubectl. If empty, defaults to $HOME/.kub | "~/.kube/config" |
| create_resources | bool | Set to false to have this module skip creating resources. | true |
service_account_access_read_only — The name of the ServiceAccount that has read only level permissions.name — Name of the created namespacerbac_access_all_role — The name of the RBAC role that grants admin level permissions on the namespace.rbac_access_read_only_role — The name of the RBAC role that grants read only permissions on the namespace.service_account_access_all — The name of the ServiceAccount that has admin level permissions.