Fix ingress for GCE (#10745)

* Fix ingress for GCE

The GCE ingress controller fails when the ingress name contains dots.

Signed-off-by: Fred Cox <mcfedr@gmail.com>

* Fix version

Signed-off-by: Fred Cox <mcfedr@gmail.com>
This commit is contained in:
Fred Cox
2019-01-21 01:29:43 -08:00
committed by Kubernetes Prow Robot
parent c78b41c7af
commit f638055f98
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: redmine
version: 8.0.2
version: 8.0.3
appVersion: 4.0.1
description: A flexible project management web application.
keywords:
+1 -1
View File
@@ -3,7 +3,7 @@
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: "{{- printf "%s-%s" .name $.Release.Name | trunc 63 | trimSuffix "-" -}}"
name: "{{- printf "%s-%s" .name $.Release.Name | trunc 63 | trimSuffix "-" | replace "." "-" -}}"
labels:
app: {{ template "redmine.fullname" $ }}
chart: {{ template "redmine.chart" $ }}