From 3bd41c0f6cb07e732f0cd4bbb97faa8ec04e9bde Mon Sep 17 00:00:00 2001 From: Marcos Bjoerkelund Date: Mon, 22 Jul 2019 13:18:46 +0200 Subject: [PATCH] Fix typo in Harbor Ingress configuration --- bitnami/harbor/templates/ingress/ingress.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bitnami/harbor/templates/ingress/ingress.yaml b/bitnami/harbor/templates/ingress/ingress.yaml index 6337e3b84..bb05c2147 100644 --- a/bitnami/harbor/templates/ingress/ingress.yaml +++ b/bitnami/harbor/templates/ingress/ingress.yaml @@ -1,14 +1,14 @@ {{- if eq .Values.service.type "Ingress" }} {{- $ingress := .Values.service.ingress -}} {{- $tls := .Values.service.tls -}} -{{- if eq .Values.expose.ingress.controller "gce" }} +{{- if eq .Values.service.ingress.controller "gce" }} {{- $_ := set . "portal_path" "/*" -}} {{- $_ := set . "api_path" "/api/*" -}} {{- $_ := set . "service_path" "/service/*" -}} {{- $_ := set . "v2_path" "/v2/*" -}} {{- $_ := set . "chartrepo_path" "/chartrepo/*" -}} {{- $_ := set . "controller_path" "/c/*" -}} -{{- else if eq .Values.expose.ingress.controller "ncp" }} +{{- else if eq .Values.service.ingress.controller "ncp" }} {{- $_ := set . "portal_path" "/" -}} {{- $_ := set . "api_path" "/api/.*" -}} {{- $_ := set . "service_path" "/service/.*" -}} @@ -56,7 +56,7 @@ spec: {{- end }} {{- end }} {{- end }} - {{- if eq .Values.expose.ingress.controller "ncp" }} + {{- if eq .Values.service.ingress.controller "ncp" }} backend: serviceName: "{{ template "harbor.portal" . }}" servicePort: http