From 4a618f245e97191b32b6ff886f6a4372378de1aa Mon Sep 17 00:00:00 2001 From: luhahn Date: Mon, 28 Sep 2020 14:31:35 +0000 Subject: [PATCH] Fix NodePort settings for ssh service (#32) Fix NodePort settings for ssh service Co-authored-by: Lucas Hahn Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/32 Reviewed-by: lafriks Reviewed-by: Andrew Thornton --- Chart.yaml | 2 +- templates/gitea/ssh-svc.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }}