Fix incorrect trimming of whitespaces in helm chart templates

This commit is contained in:
Konstantin Schaper
2020-07-09 10:59:39 +02:00
parent 32c45a970e
commit 172498ca80
3 changed files with 6 additions and 6 deletions

View File

@@ -22,7 +22,7 @@
# SOFTWARE.
#
{{- if .Values.ingress.enabled }}
{{ if .Values.ingress.enabled }}
{{- $fullName := include "scm-manager.fullname" . -}}
{{- $ingressPath := .Values.ingress.path -}}
apiVersion: extensions/v1beta1
@@ -59,4 +59,4 @@ spec:
serviceName: {{ $fullName }}
servicePort: http
{{- end }}
{{- end }}
{{ end }}

View File

@@ -22,7 +22,7 @@
# SOFTWARE.
#
{{- if .Values.persistence.enabled }}
{{ if .Values.persistence.enabled }}
kind: PersistentVolumeClaim
apiVersion: v1
@@ -47,4 +47,4 @@ spec:
{{- end }}
{{- end }}
{{- end }}
{{ end }}

View File

@@ -22,7 +22,7 @@
# SOFTWARE.
#
{{- if .Values.plugins }}
{{ if .Values.plugins }}
apiVersion: v1
kind: ConfigMap
metadata:
@@ -42,4 +42,4 @@ data:
wget -O /data/plugins/{{ $plugin.name }}.smp {{ $plugin.url }}
chown 1000:1000 /data/plugins/{{ $plugin.name }}.smp
{{ end }}
{{- end }}
{{ end }}