From cab88c5495750e2971298f0d130b9e0493eb7a09 Mon Sep 17 00:00:00 2001 From: Henry Vu <26101787+hungran@users.noreply.github.com> Date: Mon, 11 Sep 2023 06:55:45 +0700 Subject: [PATCH] Don't overtrim whitespace in template that leading 3 dash or multple manifest (#4587) Signed-off-by: hungran <26101787+hungran@users.noreply.github.com> --- manifests/piped/templates/rbac.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/piped/templates/rbac.yaml b/manifests/piped/templates/rbac.yaml index 8394ebada2..2dca7e9873 100644 --- a/manifests/piped/templates/rbac.yaml +++ b/manifests/piped/templates/rbac.yaml @@ -12,8 +12,8 @@ metadata: {{- end }} --- -{{- if .Values.rbac.create -}} -{{- if eq .Values.rbac.scope "cluster" -}} +{{ if .Values.rbac.create -}} +{{ if eq .Values.rbac.scope "cluster" -}} apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: