Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)