This repo contains a Module for managing Kubernetes Namespaces with Terraform.
- Deploy a Namespace from scratch
- Configure Namespaces with default RBAC roles
- Create and manage Namespace scoped Service Accounts with various access levels via RBAC
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!
- What is a Namespace?
- What is Kubernetes RBAC?
- What is a Service Account?
- Official Kubernetes Docs on Namespaces
- Official Kubernetes Docs on Service Accounts
- Official Kubernetes Docs on RBAC
- modules: the main implementation code for this repo, broken down into multiple standalone, orthogonal submodules.
- examples: This folder contains working examples of how to use the submodules.
- test: Automated tests for the modules and examples.
- examples folder: The
examples
folder contains sample code optimized for learning, experimenting, and testing (but not production usage).
If you need help with this repo or anything else related to infrastructure or DevOps, Gruntwork offers Commercial Support via Slack, email, and phone/video. If you're already a Gruntwork customer, hop on Slack and ask away! If not, subscribe now. If you're not sure, feel free to email us at [email protected].
Contributions to this repo are very welcome and appreciated! If you find a bug or want to add a new feature or even contribute an entirely new module, we are very happy to accept pull requests, provide feedback, and run your changes through our automated test suite.
Please see Contributing to the Gruntwork Infrastructure as Code Library for instructions.
Please see LICENSE.txt for details on how the code in this repo is licensed.