diff --git a/Chart.yaml b/Chart.yaml index a4ff59b..6d592be 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -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 diff --git a/templates/gitea/ssh-svc.yaml b/templates/gitea/ssh-svc.yaml index d66f634..252ffd5 100644 --- a/templates/gitea/ssh-svc.yaml +++ b/templates/gitea/ssh-svc.yaml @@ -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 }}