Skip to content

blackbird-cloud/terraform-kubernetes-namespace

Repository files navigation

Kubernetes Namespace Terraform module

A Terraform module which configures your Kubernetes namespace.

blackbird-logo

Example

module "namespace" {
  source  = "blackbird-cloud/namespace/kubernetes"
  version = "~> 1"

  name = "mynamespace"

  labels = {
    my = "label"
  }
  annotations = {
    my = "annotation"
  }
}

Requirements

Name Version
terraform >= 1
kubernetes ~> 2

Providers

Name Version
kubernetes 2.23.0

Resources

Name Type
kubernetes_namespace.default resource

Inputs

Name Description Type Default Required
annotations (Optional) An unstructured key value map stored with the namespace that may be used to store arbitrary metadata. map(string) {} no
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 Name of the namespace, must be unique. Cannot be updated. string n/a yes

Outputs

Name Description
namespace The created Namespace on Kubernetes.

About

We are 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 👉 terraform modules

Copyright

Copyright © 2017-2023 Blackbird Cloud