Adding HTTPS using AWS ACM with whitelisting option to the concourse chart (#5594)

* adding https option to use ACM in AWS and also whitelisting for service type LoadBalancer

* fixing check for range of IPs

* removing extraneous space

* adding description of value

* bumping version

* bumping to 1.6.0
This commit is contained in:
Daniel Whatmuff
2018-05-24 10:05:32 -07:00
committed by k8s-ci-robot
parent 02ced33d96
commit fde5856486
4 changed files with 18 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: concourse
version: 1.5.1
version: 1.6.0
appVersion: 3.10.0
description: Concourse is a simple and scalable CI system.
icon: https://avatars1.githubusercontent.com/u/7809479
+1
View File
@@ -110,6 +110,7 @@ The following table lists the configurable parameters of the Concourse chart and
| `web.tolerations` | Tolerations for the web nodes | `[]` |
| `web.service.type` | Concourse Web service type | `ClusterIP` |
| `web.service.annotations` | Concourse Web Service annotations | `nil` |
| `web.service.loadBalancerSourceRanges` | Concourse Web Service Load Balancer Source IP ranges | `nil` |
| `web.service.atcNodePort` | Sets the nodePort for atc when using `NodePort` | `nil` |
| `web.service.tsaNodePort` | Sets the nodePort for tsa when using `NodePort` | `nil` |
| `web.ingress.enabled` | Enable Concourse Web Ingress | `false` |
+6
View File
@@ -17,6 +17,12 @@ metadata:
{{- end }}
spec:
type: {{ .Values.web.service.type }}
{{ if .Values.web.service.loadBalancerSourceRanges }}
loadBalancerSourceRanges:
{{- range .Values.web.service.loadBalancerSourceRanges }}
- {{ . }}
{{- end }}
{{ end }}
ports:
- name: atc
port: {{ .Values.concourse.atcPort }}
+10
View File
@@ -237,6 +237,16 @@ web:
# annotations:
# prometheus.io/probe: "true"
# prometheus.io/probe_path: "/"
#
# ## When using web.service.type: LoadBalancer, enable HTTPS with an ACM cert
# service.beta.kubernetes.io/aws-load-balancer-ssl-cert: "arn:aws:acm:eu-west-1:123456789:certificate/abc123-abc123-abc123-abc123"
# service.beta.kubernetes.io/aws-load-balancer-backend-protocol: "http"
# service.beta.kubernetes.io/aws-load-balancer-backend-port: "atc"
# service.beta.kubernetes.io/aws-load-balancer-ssl-ports: "443"
#
# ## When using web.service.type: LoadBalancer, whitelist the load balancer to particular IPs
# loadBalancerSourceRanges:
# - 192.168.1.10/32
# When using web.service.type: NodePort, sets the nodePort for atc
# atcNodePort: 30150