init: copy from lawndale-infra
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
26
ssh-ingresstcproute.tf
Normal file
26
ssh-ingresstcproute.tf
Normal 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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user