Terraform resource: kubernetes namespace

From wikieduonline
Revision as of 11:24, 26 January 2024 by Welcome (talk | contribs)
Jump to navigation Jump to search

https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/namespace

  • name - (Optional) Name of the namespace, must be unique. Cannot be updated

Official examples

resource "kubernetes_namespace" "example" {
 metadata {
   annotations = {
     name = "example-annotation"
   }
   labels = {
     mylabel = "label-value"
   }
   name = "terraform-example-namespace"
 }
}

See also

Advertising: