namespace

gruntwork-io/namespace/kubernetes

Terraform Module HCL KUBERNETES

This repo contains a Module for managing Kubernetes Namespaces with Terraform.

Install
module "namespace" {
source = "gruntwork-io/namespace/kubernetes"
version = "0.5.1"
}
plain text: /constructs/tfmod-gruntwork-io-namespace-kubernetes/install.txt
⭐ Source on GitHub 📦 Registry page
README

Kubernetes Namespace ![Maintained by Gruntwork.io](https://gruntwork.io/?ref=repo_k8s_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

Inputs (4)
NameTypeDescriptionDefault
namestringName of the namespace to be created required
kubectl_config_context_namestringThe config context to use when authenticating to the Kubernetes cluster. If empt""
kubectl_config_pathstringThe path to the config file to use for kubectl. If empty, defaults to $HOME/.kub"~/.kube/config"
create_resourcesboolSet to false to have this module skip creating resources.true
Outputs (5)
service_account_access_read_only — The name of the ServiceAccount that has read only level permissions.
name — Name of the created namespace
rbac_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.
Details
FrameworkTerraform Module
LanguageHCL
Version0.5.1
Cloud KUBERNETES
★ Stars17
Forks41
Total downloads86.1k
Inputs4
Outputs5
Submodules3
LicenseApache-2.0
Namespacegruntwork-io
Updated