Creating new namespace in cluster for random k8s experiments

This commit is contained in:
shockrah 2025-09-17 22:33:34 -07:00
parent 9454e03f53
commit 410790765f
4 changed files with 11 additions and 9 deletions

View File

@ -0,0 +1,8 @@
resource kubernetes_namespace playground {
metadata {
annotations = {
names = var.playground.namespace
}
name = var.playground.namespace
}
}

View File

@ -1,6 +0,0 @@
apiVersion: v1
kind: Namespace
metadata:
name: testing
labels:
name: testing

View File

@ -37,7 +37,7 @@ variable cluster {
}
variable personal {
variable playground {
type = object({
namespace = string
})

View File

@ -14,8 +14,8 @@ cluster = {
}
}
personal = {
namespace = "athens-main"
playground = {
namespace = "playground"
}
bastion = {