[bitnami/harbor] Fix harbor-ingress with GCE controller (#7435)

This commit is contained in:
Pablo Galego
2021-09-21 11:22:22 +02:00
committed by GitHub
parent 57a409cbad
commit b9ed7d21ec
2 changed files with 4 additions and 1 deletions

View File

@@ -34,4 +34,4 @@ sources:
- https://github.com/bitnami/bitnami-docker-harbor-registry
- https://github.com/bitnami/bitnami-docker-harbor-registryctl
- https://goharbor.io/
version: 11.0.0
version: 11.0.1

View File

@@ -10,6 +10,9 @@ metadata:
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
spec:
{{- if (eq .Values.ingress.controller "gce") }}
type: NodePort
{{- end }}
ports:
- name: http
port: {{ include "harbor.portal.servicePort" . }}