init: copy from lawndale-infra
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2022-05-27 16:55:50 +02:00
commit 65ab6a1512
11 changed files with 422 additions and 0 deletions

26
ssh-ingresstcproute.tf Normal file
View File

@@ -0,0 +1,26 @@
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
}
]
}
]
}
}
}