[stable/gocd] Quote ingress host (#20477)

* [stable/gocd] Quote ingress host

When using a wildcard DNS name for host, such as *.example.com, Helm
fails with a yaml parsing error. Added quote function to allow use of
wildcard.

Signed-off-by: Austin Orth <aorth@niche.com>

* [stable/gocd] Bump Chart version

Signed-off-by: Austin Orth <aorth@niche.com>

* [stable/gocd] Ingress api version change

Changed version of api for ingress to networking.k8s.io/v1beta1.

Signed-off-by: Austin Orth <aorth@niche.com>

* [stable/gocd] Updated changelog

Updated the changelog with relevant commits for this patch version.

Signed-off-by: Austin Orth <aorth@niche.com>
This commit is contained in:
Austin Orth
2020-02-01 00:51:20 -08:00
committed by GitHub
parent 3ef3bcd06d
commit f026a7785f
3 changed files with 7 additions and 3 deletions
+4
View File
@@ -1,3 +1,7 @@
### 1.22.1
* [b856007](https://github.com/kubernetes/charts/commit/b856007): Ingress version api change
* [e2f27a9](https://github.com/kubernetes/charts/commit/e2f27a9): Quote ingress host
### 1.22.0
* [bcd9825](https://github.com/kubernetes/charts/commit/bcd9825): Bump up GoCD Version to 20.1.0
### 1.21.0
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
name: gocd
home: https://www.gocd.org/
version: 1.22.0
version: 1.22.1
appVersion: 20.1.0
description: GoCD is an open-source continuous delivery server to model and visualize complex workflows with ease.
icon: https://gocd.github.io/assets/images/go-icon-black-192x192.png
+2 -2
View File
@@ -1,6 +1,6 @@
{{- if .Values.server.enabled }}
{{- if .Values.server.ingress.enabled -}}
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: {{ template "gocd.fullname" . }}-server
@@ -19,7 +19,7 @@ spec:
{{ $dot := .}}
rules:
{{- range $host := .Values.server.ingress.hosts }}
- host: {{ $host }}
- host: {{ $host | quote }}
http:
paths:
- backend: