Allow to set allocateLoadBalancerNodePorts in Service for SSH
Summary
The SSH service allows to set the type to LoadBalancer, but some implementations of k8s deny (using Quotas) NodePort for LoadBalancer services and require setting allocateLoadBalancerNodePorts=false in the Service definition.
Steps to reproduce
Set ResourceQuotas to disallow nodeport services (services.nodeports=0) and try to create a Service type LoadBalancer, it will be refused. Manually creating a Service with allocateLoadBalancerNodePorts=false works.
Configuration used
global:
gitlab:
gitlab-shell:
service:
type: LoadBalancer
# want to disable the nodeport here, maybe ?
Current behavior
The default for allocateLoadBalancerNodePorts is always true, this make service creation fail when quotas limit nodeport creation.
Expected behavior
Setting the allocateLoadBalancerNodePorts should be possible.
Versions
- Chart: v8.3.1
- Platform: OpenShift