Files
terraform-app-gitea/ssh-ingresstcproute.tf
Tamas Kiss 65ab6a1512
Some checks failed
continuous-integration/drone/push Build is failing
init: copy from lawndale-infra
2022-05-27 16:55:50 +02:00

27 lines
693 B
HCL

resource "kubernetes_manifest" "ingress_tcp_route" {
manifest = {
apiVersion = "traefik.containo.us/v1alpha1"
kind = "IngressRouteTCP"
metadata = {
name = "gitea-ssh"
namespace = kubernetes_namespace.this.metadata.0.name
}
spec = {
entryPoints = [
"gitssh",
]
routes: [
{
match = "HostSNI(`*`)"
services = [
{
name = "gitea-ssh"
port = 22
}
]
}
]
}
}
}