From 8f70a4b9a09ddb9bdff864087061f3fce4150a25 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Mon, 26 Oct 2020 21:04:04 +0800 Subject: [PATCH] Fix indention of exterrnal IPs for SSH service (#52) Fix indention of exterrnal IPs for SSH service Co-authored-by: Steffen Vogel Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/52 Reviewed-by: luhahn Reviewed-by: Lunny Xiao Co-Authored-By: Steffen Vogel Co-Committed-By: Steffen Vogel --- Chart.yaml | 2 +- templates/gitea/ssh-svc.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Chart.yaml b/Chart.yaml index 4f82a6c..ba79975 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: gitea description: Gitea Helm chart for Kubernetes type: application -version: 2.0.0 +version: 2.0.1 appVersion: 1.12.5 icon: https://docs.gitea.io/images/gitea.png diff --git a/templates/gitea/ssh-svc.yaml b/templates/gitea/ssh-svc.yaml index 252ffd5..e588b93 100644 --- a/templates/gitea/ssh-svc.yaml +++ b/templates/gitea/ssh-svc.yaml @@ -5,7 +5,7 @@ metadata: labels: {{- include "gitea.labels" . | nindent 4 }} annotations: -{{ toYaml .Values.service.ssh.annotations | indent 4 }} + {{- toYaml .Values.service.ssh.annotations | nindent 4 }} spec: type: {{ .Values.service.ssh.type }} {{- if and .Values.service.ssh.loadBalancerIP (eq .Values.service.ssh.type "LoadBalancer") }} @@ -16,7 +16,7 @@ spec: {{- end }} {{- if .Values.service.ssh.externalIPs }} externalIPs: - {{ toYaml .Values.service.ssh.externalIPs | indent 4 }} + {{- toYaml .Values.service.ssh.externalIPs | nindent 4 }} {{- end }} {{- if .Values.service.ssh.externalTrafficPolicy }} externalTrafficPolicy: {{ .Values.service.ssh.externalTrafficPolicy }}