Skip to content

Instantly share code, notes, and snippets.

@guivin
Created March 23, 2022 07:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guivin/67871968be29ef5d4c37904004f63be7 to your computer and use it in GitHub Desktop.
Save guivin/67871968be29ef5d4c37904004f63be7 to your computer and use it in GitHub Desktop.
namespace.tf
# Creating namespace with the Kubernetes provider is better than auto-creation in the helm_release.
# You can reuse the namespace and customize it with quotas and labels.
resource "kubernetes_namespace" "monitoring" {
metadata {
name = var.namespace
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment