nginxinc/nginx-ingress-helm-operator

controller deamonset ports are fixed

fga1794 opened this issue · 5 comments

we need to deploy nginx ingress. Howerver on openshift, there is a default controller that use default ports 80 & 443.
So we need to custom ports . in the chart helm, the parameters are not variable.

in template Breadcrumbsnginx-ingress-helm-operator/helm-charts/nginx-ingress/templates
/controller-daemonset.yaml

.....
{{ toYaml .Values.controller.lifecycle | indent 10 }}
{{- end }}
        ports:
        - name: http
          containerPort: 80
          hostPort: 80
        - name: https
          containerPort: 443
          hostPort: 443
{{ if .Values.controller.customPorts }}
{{ toYaml .Values.controller.customPorts | indent 8 }}
....

can you change it as variable ?

Hi @fga1794 do you need the hostPort to be configurable? If so we have an issue here nginxinc/kubernetes-ingress#3613 for that.

Hello @lucacome i need all this to be configured
ports: - name: http containerPort: 80 hostPort: 80 - name: https containerPort: 443 hostPort: 443

@fga1794 can you explain your use case? Do you build a custom NGINX Ingress Controller image and change the ports for the container?

openshift deploy a standard ingress controller that use port 80 & 443.
So when we tried to deploy nginx ingress controller we got error that the port 80 & 443 are used. So, we think that we need to change this port to used other ones for nginx ingress controller

need the same feature too, when will it be merged?