Exposing 2222 in gitea service however ingress still needs configuration
This commit is contained in:
parent
555124bf2f
commit
37305fd74e
@ -28,7 +28,7 @@ resource kubernetes_deployment gitea {
|
|||||||
name = "gitea-main"
|
name = "gitea-main"
|
||||||
}
|
}
|
||||||
port {
|
port {
|
||||||
container_port = 22
|
container_port = 2222
|
||||||
name = "gitea-ssh"
|
name = "gitea-ssh"
|
||||||
}
|
}
|
||||||
volume_mount {
|
volume_mount {
|
||||||
@ -62,5 +62,10 @@ resource kubernetes_service gitea {
|
|||||||
port = 3000
|
port = 3000
|
||||||
name = "http"
|
name = "http"
|
||||||
}
|
}
|
||||||
|
port {
|
||||||
|
target_port = "gitea-ssh"
|
||||||
|
port = 2222
|
||||||
|
name = "ssh"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user