Skip to content

Instantly share code, notes, and snippets.

@antigenius0910
Last active April 5, 2022 16:29
Show Gist options
  • Save antigenius0910/39544a337315c34f128879c25702fd08 to your computer and use it in GitHub Desktop.
Save antigenius0910/39544a337315c34f128879c25702fd08 to your computer and use it in GitHub Desktop.
Third, create namespace
resource "kubernetes_namespace" "origin-ca-issuer-system" {
depends_on = [
kubectl_manifest.origin-ca-issuer-crds
]
metadata {
annotations = {
name = "origin-ca-issuer-system"
}
labels = merge(
local.tags,
{
App = "origin-ca-issuer"
},
)
name = "origin-ca-issuer-system"
}
}
data "kubernetes_namespace" "origin-ca-issuer-system" {
depends_on = [
kubernetes_namespace.origin-ca-issuer-system
]
metadata {
name = "origin-ca-issuer-system"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment