git - making ssh and https both work?

I have a (mostly) working setup in AWS. Remaining problem(s) include the fact that the vcs loadbalancer for ssh is appearing as '{namespace}-vcs-ext' due to vcs.externalService.enabled: true in values.yaml. If I point the space-git.domainname dns to the nginx load balancer the https works but ssh doesn't. Pointing at the -vcs-ext loadbalancer swaps those.

 

How do I make both of these work at a single dns address but with different ports? IE space-git.domain.com:443 for https(git) and space-git.domain.com:12222 for ssh(git) 

 

 

1 comment
Comment actions Permalink

Ethrbunny, please refer to the following example:

https://github.com/JetBrains/terraform-aws-kubernetes/blob/main/examples/deploy-a-few-apps-on-the-kubernetes-cluster/main.tf

This line describes how to disable the external load balancer, and this one describes how to configure the TCP proxy for Ingress.

1

Please sign in to leave a comment.