Adding dns vars for sanity.shockrah.xyz
This commit is contained in:
parent
7f5d81f0ee
commit
fce73d06e0
11
infra/vultr-kubernetes/ingress.tf
Normal file
11
infra/vultr-kubernetes/ingress.tf
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
@ -40,6 +40,9 @@ variable cluster {
|
||||
variable playground {
|
||||
type = object({
|
||||
namespace = string
|
||||
health = object({
|
||||
dns = string
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user