From e9dfaff5af6bde4ac317e22a16b0733bce39cb6b Mon Sep 17 00:00:00 2001 From: Depado Date: Sat, 10 Feb 2018 15:24:52 +0100 Subject: [PATCH] [incubator/drone] GCE Ingress Path Fix (#3615) * Fix for GCE ingress * Bumping version number of the chart * Update Chart.yaml --- incubator/drone/Chart.yaml | 2 +- incubator/drone/templates/ingress.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/incubator/drone/Chart.yaml b/incubator/drone/Chart.yaml index 9a24a3d579..d58d1febdb 100755 --- a/incubator/drone/Chart.yaml +++ b/incubator/drone/Chart.yaml @@ -1,7 +1,7 @@ name: drone home: https://drone.io/ icon: http://docs.drone.io/logo.svg -version: 0.3.2 +version: 0.3.3 appVersion: 0.8.4 description: Drone is a Continuous Delivery system built on container technology keywords: diff --git a/incubator/drone/templates/ingress.yaml b/incubator/drone/templates/ingress.yaml index 19e4eba619..6d4e344ed9 100644 --- a/incubator/drone/templates/ingress.yaml +++ b/incubator/drone/templates/ingress.yaml @@ -20,7 +20,11 @@ spec: - host: {{ . }} http: paths: + {{- if (eq (0 | (index $.Values.ingress.annotations "kubernetes.io/ingress.class")) "gce") }} + - path: /* + {{- else }} - path: / + {{- end }} backend: serviceName: {{ $fullName }} servicePort: {{ $httpPort }}