Fix NodePort settings for ssh service (#32)

Fix NodePort settings for ssh service

Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/32
Reviewed-by: lafriks <lafriks@noreply.gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
luhahn 2020-09-28 14:31:35 +00:00
parent cd982e5fcd
commit 4a618f245e
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
name: gitea
description: Gitea Helm chart for Kubernetes
type: application
version: 1.5.0
version: 1.5.1
appVersion: 1.12.4
icon: https://docs.gitea.io/images/gitea.png

View File

@ -11,7 +11,7 @@ spec:
{{- if and .Values.service.ssh.loadBalancerIP (eq .Values.service.ssh.type "LoadBalancer") }}
loadBalancerIP: {{ .Values.service.ssh.loadBalancerIP }}
{{- end }}
{{- if ne .Values.service.ssh.type "LoadBalancer" }}
{{- if eq .Values.service.ssh.type "ClusterIP" }}
clusterIP: None
{{- end }}
{{- if .Values.service.ssh.externalIPs }}