-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Ingress v1 from Kubernetes v1.19 in helm chart #4244
Conversation
cc @kylecarbs @bpmct @jawnsy since I'm less familiar with this part of code-server |
Codecov Report
@@ Coverage Diff @@
## main #4244 +/- ##
=======================================
Coverage 65.09% 65.09%
=======================================
Files 36 36
Lines 1882 1882
Branches 380 380
=======================================
Hits 1225 1225
Misses 559 559
Partials 98 98 Continue to review full report at Codecov.
|
This seems fine but am going to test with a cluster :) Will add instructions here on how to spin up a cluster and try the helm chart :) |
You rock! Thank you so much! |
Actually, our existing helm docs have lovely instructions on using the helm chart. Docker Desktop's built-in Kubernetes cluster or k3d is a good way to create a new local cluster. I created a custom values.yaml to use Ingress: ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: nginx
hosts:
- host: 127.0.0.1.nip.io
paths:
- / # if you haven't already, add ingress to cluster (https://kubernetes.github.io/ingress-nginx/deploy/)
git clone https://github.com/jlandowner/code-server
cd code-server
helm upgrade --install code-server ci/helm-chart --values values.yaml
# worked without deprecation notices!
# clean up
helm uninstall code-server
# if test cluster, delete/reset Just approved but will defer to @Matthew-Beckett since they maintain the chart :) |
@bpmct thanks Ben, will take a look! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Thanks for your contribution ❤️
@jsjoeio are we able to use CODEOWNERS or something so we can assign helm PRs to Matthew? |
Great idea! Yes, I'll do that now. |
Hi. I found you use old version of Ingress in helm chart.
Ingress became GA in Kubernetes v1.19.
Output after v1.19