Fix NodePort settings for ssh service #32

Merged
luhahn merged 1 commits from luhahn/helm-chart:master into master 2020-09-28 14:31:37 +00:00

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 }}