Adding dns vars for sanity.shockrah.xyz
Some checks failed
Ansible Linting / ansible-lint (push) Failing after 4s
Secops Linting and Safety Checks / checkov-scan-s3 (push) Failing after 15s

This commit is contained in:
shockrah 2025-09-17 23:08:33 -07:00
parent 7f5d81f0ee
commit fce73d06e0
3 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,11 @@
resource kubernetes_ingress playground_ingress {
metadata {
name = "playground-ingress"
}
spec {
ingress_class_name = "nginx"
rule {
host = var.playground.health.dns
}
}
}

View File

@ -40,6 +40,9 @@ variable cluster {
variable playground {
type = object({
namespace = string
health = object({
dns = string
})
})
}

View File

@ -16,6 +16,11 @@ cluster = {
playground = {
namespace = "playground"
# Sanity check service that is used purely for the sake of ensuring
# things are ( at a basic level ) functional
health = {
dns = "health"
}
}
bastion = {