stable/nginx-ingress: Add flag to terminate SSL at load balancer (#932)

* Add flag to terminate SSL at load balancer

* Removing whitespace

* Exposing http/https targetPorts as value

* Bumping minor version
This commit is contained in:
Adam Smith
2017-05-10 17:07:51 -07:00
committed by Sean Knox
parent 5696e4f8bf
commit 5d14020be8
4 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: nginx-ingress
version: 0.3.2
version: 0.4.2
description: An nginx Ingress controller that uses ConfigMap to store the nginx configuration.
icon: https://upload.wikimedia.org/wikipedia/commons/thumb/c/c5/Nginx_logo.svg/500px-Nginx_logo.svg.png
keywords:
+2
View File
@@ -64,6 +64,8 @@ Parameter | Description | Default
`controller.service.externalIPs` | controller service external IP addresses | `[]`
`controller.service.loadBalancerIP` | IP address to assign to load balancer (if supported) | `""`
`controller.service.loadBalancerSourceRanges` | list of IP CIDRs allowed access to load balancer (if supported) | `[]`
`controller.service.targetPorts.http` | Sets the targetPort that maps to the Ingress' port 80 | `80`
`controller.service.targetPorts.https` | Sets the targetPort that maps to the Ingress' port 443 | `443`
`controller.service.type` | type of controller service to create | `LoadBalancer`
`controller.service.nodePorts.http` | If `controller.service.type` is `NodePort` and this is non-empty, it sets the nodePort that maps to the Ingress' port 80 | `""`
`controller.service.nodePorts.https` | If `controller.service.type` is `NodePort` and this is non-empty, it sets the nodePort that maps to the Ingress' port 443 | `""`
@@ -29,14 +29,14 @@ spec:
- name: http
port: 80
protocol: TCP
targetPort: 80
targetPort: {{ .Values.controller.service.targetPorts.http }}
{{- if (and (eq .Values.controller.service.type "NodePort") (not (empty .Values.controller.service.nodePorts.http))) }}
nodePort: {{ .Values.controller.service.nodePorts.http }}
{{- end }}
- name: https
port: 443
protocol: TCP
targetPort: 443
targetPort: {{ .Values.controller.service.targetPorts.https }}
{{- if (and (eq .Values.controller.service.type "NodePort") (not (empty .Values.controller.service.nodePorts.https))) }}
nodePort: {{ .Values.controller.service.nodePorts.https }}
{{- end }}
+5
View File
@@ -57,6 +57,11 @@ controller:
loadBalancerIP: ""
loadBalancerSourceRanges: []
targetPorts:
http: 80
https: 443
type: LoadBalancer
# type: NodePort