Reset SSH-port of host-machines to 1022

I want to use port 22 for my git-server, therefore I have to make this
port free for use of kubernetes. This change allows this, so when I want
to connect to the host-machines I'll use port 1022.
This commit is contained in:
2025-09-17 00:50:26 +02:00
parent 1b32fb309c
commit 75a485fbff
6 changed files with 16 additions and 2 deletions

View File

@@ -51,6 +51,7 @@ module "k8s" {
kubernetes_exposed_ips = var.expose_kubernetes_and_ssh_ports ? values(data.external.my_ip.result) : []
ssh_exposed_ips = var.expose_kubernetes_and_ssh_ports ? values(data.external.my_ip.result) : []
public_tcp_services = {
git-ssh = ["22"]
http = ["80", "443"]
}
}