Closed kameshsampath closed 1 month ago
Hi, thanks for submitting this!
In fact, adding a node port is already planned in the new Helm chart redesigned for Quarkus (#626):
The corresponding template is here:
The only difference I see with your PR #982 is that we don't test if the service type is NodePort
.
I suggest then that we merge #626 first (I was planning to do so today anyways), then if you feel like we should enhance the templates to test the service type before printing the node port, then you could rebase your PR. Is that OK?
@kameshsampath #626 is merged! If you want, please rebase your PR now, thanks!
thanks @adutra - let me rebase and just add the test part
@adutra - I rebased and pushed it back. Please review and merge if it looks good to you
Is your feature request related to a problem? Please describe.
Currently the
service
type does not support specifying an arbitrary nodePort value for the services. Its practice with k8s deployment with Helm to allow specifying thenodePort
number.Describe the solution you'd like
The service.ports could be modified as
Then the corresponding
service
template could beWhen we run
helm template . -s templates/service.yaml -f /tmp/test-values.yaml
with test values asIt will now generate
service.yaml
like:Describe alternatives you've considered
No response
Additional context
No response