mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-19 18:16:12 +10:00
[bitnami/nginx-ingress-controller] Allow users to enable or disable http/https service port (#5830)
This commit is contained in:
@@ -26,4 +26,4 @@ name: nginx-ingress-controller
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-nginx-ingress-controller
|
||||
- https://github.com/kubernetes/ingress-nginx
|
||||
version: 7.4.9
|
||||
version: 7.4.10
|
||||
|
||||
@@ -192,7 +192,7 @@ The following tables lists the configurable parameters of the Nginx Ingress Cont
|
||||
| `service.clusterIP` | Controller Internal Cluster Service IP | `""` |
|
||||
| `service.omitClusterIP` | To omit the `ClusterIP` from the controller service | `false` |
|
||||
| `service.ports.http` | Controller Service HTTP port | `80` |
|
||||
| `service.ports.https` | Controller Service HTTPS port | `""` |
|
||||
| `service.ports.https` | Controller Service HTTPS port | `443` |
|
||||
| `service.targetPorts.http` | Map the controller service HTTP port | `http` |
|
||||
| `service.targetPorts.https` | Map the controller service HTTPS port | `https` |
|
||||
| `service.externalTrafficPolicy` | Enable client source IP preservation | `Cluster` |
|
||||
|
||||
@@ -41,6 +41,7 @@ spec:
|
||||
healthCheckNodePort: {{ .Values.service.healthCheckNodePort }}
|
||||
{{- end }}
|
||||
ports:
|
||||
{{- if not (empty .Values.service.ports.http) }}
|
||||
- name: http
|
||||
port: {{ .Values.service.ports.http }}
|
||||
protocol: TCP
|
||||
@@ -50,6 +51,8 @@ spec:
|
||||
{{- else if eq .Values.service.type "ClusterIP" }}
|
||||
nodePort: null
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if not (empty .Values.service.ports.https) }}
|
||||
- name: https
|
||||
port: {{ .Values.service.ports.https }}
|
||||
protocol: TCP
|
||||
@@ -59,6 +62,7 @@ spec:
|
||||
{{- else if eq .Values.service.type "ClusterIP" }}
|
||||
nodePort: null
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- range $key, $value := .Values.tcp }}
|
||||
- name: {{ $key }}-tcp
|
||||
port: {{ $key }}
|
||||
|
||||
Reference in New Issue
Block a user