-
Hi all! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Fresh update: looks like I was able to achieve my goal... bear in mind, I've just got it running, so it's just a proof of concept! 1: add port 22 endpoint to traefik helm chartadded the following to the HelmChartConfig kube-system/traefik (omitting the irrelevant parts):
2: create resources for a new nginx deployment acting as a man-in-the-middle whose only job is to consume the proxy protocol header:
I created a ConfigMap for easy nginx configuration updates. and the nginx.conf needs to able to resolve the gitea-ssh (from the gitea helm chart) service, but the short name 'gitea-ssh' does not work directly, so I used the alpine image of nginx (because it contains nslookup out of the box) and used that to acquire the fqdn of the service. |
Beta Was this translation helpful? Give feedback.
Fresh update: looks like I was able to achieve my goal... bear in mind, I've just got it running, so it's just a proof of concept!
1: add port 22 endpoint to traefik helm chart
added the following to the HelmChartConfig kube-system/traefik (omitting the irrelevant parts):
2: create resources for a new nginx deployment acting as a man-in-the-middle whose only job is to consume the proxy protocol header: