Basic sanity service now working under public DNS
This commit is contained in:
parent
fce73d06e0
commit
d992556032
@ -38,6 +38,7 @@ locals {
|
||||
{ name = "resume.shockrah.xyz", records = [ var.vultr_host ] },
|
||||
{ name = "git.shockrah.xyz", records = [ var.vultr_host ] },
|
||||
{ name = "example.shockrah.xyz", records = [ var.vke_lb ] },
|
||||
{ name = "sanity.shockrah.xyz", records = [ var.vke_lb ] },
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -1,11 +1,24 @@
|
||||
resource kubernetes_ingress playground_ingress {
|
||||
resource kubernetes_ingress_v1 playground_ingress {
|
||||
metadata {
|
||||
name = "playground-ingress"
|
||||
namespace = var.playground.namespace
|
||||
}
|
||||
spec {
|
||||
ingress_class_name = "nginx"
|
||||
rule {
|
||||
host = var.playground.health.dns
|
||||
http {
|
||||
path {
|
||||
path = "/"
|
||||
backend {
|
||||
service {
|
||||
name = "health"
|
||||
port {
|
||||
number = 80
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user