Skip to content

Conversation

@mterhar
Copy link
Contributor

@mterhar mterhar commented Sep 27, 2021

Ingress port needs to match the port number on the coderd service.

@deansheather This one.

Mike Terhar added 2 commits September 27, 2021 15:26
Ingress port needs to match the port number on the coderd service.
@mterhar
Copy link
Contributor Author

mterhar commented Sep 27, 2021

Swtiched to using the port name which is consistent whether the port number is 80 or 8080.

Validation steps:

helm pull coder/coder --version 1.23.0
tar zvfx coder-1.23.0.tgz
mv coder coder-1.23

Replace the contents of templates/ingress.yaml

kubectl create ns coder-ing-test
helm upgrade -i coder coder-1.23 -n coder-ing-test -f coder-1.23/examples/ingress/ingress.values.yaml

I used coder.ing.terharlab.com to validate the connectivity and it worked just fine with the port name on K8s 1.20.9 in GCP.

@mterhar mterhar merged commit 61c230c into main Sep 28, 2021
@mterhar mterhar deleted the mterhar/ingress-port-8080 branch September 28, 2021 01:12
deansheather pushed a commit that referenced this pull request Sep 29, 2021
* Fix: port mismatch ingress to service

Ingress port needs to match the port on
the service, switch the reference to port name

(cherry picked from commit 61c230c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants