Merge pull request #1298 from bitnami/harbor-ingress

[bitnami/harbor] Fix typo in Ingress configuration
This commit is contained in:
Marcos Bjoerkelund
2019-07-22 13:33:57 +02:00
committed by GitHub
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: harbor
version: 2.0.0
version: 2.0.1
appVersion: 1.8.1
description: Harbor is an an open source trusted cloud native registry project that stores, signs, and scans content
keywords:
@@ -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