Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blackbird-cloud/terraform-kubernetes-namespace
Terraform module to create a Kubernetes namespace
https://github.com/blackbird-cloud/terraform-kubernetes-namespace
kubernetes namespace terraform
Last synced: about 2 months ago
JSON representation
Terraform module to create a Kubernetes namespace
- Host: GitHub
- URL: https://github.com/blackbird-cloud/terraform-kubernetes-namespace
- Owner: blackbird-cloud
- License: apache-2.0
- Created: 2022-09-08T14:36:06.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-18T11:51:19.000Z (4 months ago)
- Last Synced: 2024-09-18T16:38:58.828Z (4 months ago)
- Topics: kubernetes, namespace, terraform
- Language: HCL
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Terraform Kubernetes Namespace Module
Terraform module to create a Kubernetes namespace[![blackbird-logo](https://raw.githubusercontent.com/blackbird-cloud/terraform-module-template/main/.config/logo_simple.png)](https://blackbird.cloud)
## Example
```hcl
module "namespace" {
source = "blackbird-cloud/namespace/kubernetes"
version = "~> 1"name = "mynamespace"
labels = {
my = "label"
}
annotations = {
my = "annotation"
}
}
```## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1 |
| [kubernetes](#requirement\_kubernetes) | ~> 2 |## Providers
| Name | Version |
|------|---------|
| [kubernetes](#provider\_kubernetes) | ~> 2 |## Resources
| Name | Type |
|------|------|
| [kubernetes_namespace.default](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/namespace) | resource |## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [annotations](#input\_annotations) | (Optional) An unstructured key value map stored with the namespace that may be used to store arbitrary metadata. | `map(string)` | `{}` | no |
| [labels](#input\_labels) | (Optional) Map of string keys and values that can be used to organize and categorize (scope and select) namespaces. May match selectors of replication controllers and services. | `map(string)` | `{}` | no |
| [name](#input\_name) | Name of the namespace, must be unique. Cannot be updated. | `string` | n/a | yes |## Outputs
| Name | Description |
|------|-------------|
| [namespace](#output\_namespace) | The created Namespace on Kubernetes. |## About
We are [Blackbird Cloud](https://blackbird.cloud), Amsterdam based cloud consultancy, and cloud management service provider. We help companies build secure, cost efficient, and scale-able solutions.
Checkout our other :point\_right: [terraform modules](https://registry.terraform.io/namespaces/blackbird-cloud)
## Copyright
Copyright © 2017-2024 [Blackbird Cloud](https://blackbird.cloud)