diff --git a/infra/vultr-kubernetes/k8s/ingress.tf b/infra/vultr-kubernetes/k8s/ingress.tf new file mode 100644 index 0000000..36eccb9 --- /dev/null +++ b/infra/vultr-kubernetes/k8s/ingress.tf @@ -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 = "/" + } + } + } + } +} + + +