Last active
April 5, 2022 16:29
-
-
Save antigenius0910/39544a337315c34f128879c25702fd08 to your computer and use it in GitHub Desktop.
Third, create namespace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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