INgress controller

This commit is contained in:
shockrah 2024-06-24 23:46:53 -07:00
parent 3bb611548d
commit 67debbdb1c

View File

@ -0,0 +1,28 @@
resource kubernetes_ingress_v1 athens {
metadata {
name = var.shockrahxyz.name
labels = {
app = var.shockrahxyz.name
}
}
spec {
rule {
http {
path {
backend {
service {
name = var.shockrahxyz.name
port {
number = 80
}
}
}
path = "/"
}
}
}
}
}