From f96ab5e3866bf87dea4f6b474c57fbfa57516419 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Tue, 9 Jan 2024 22:00:19 +0100 Subject: [PATCH] fix(template): Fix whitespace problem --- helm/template/Chart.yaml | 4 ++-- helm/template/templates/_leader-role.yaml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/helm/template/Chart.yaml b/helm/template/Chart.yaml index fd00de7..d9f30c6 100644 --- a/helm/template/Chart.yaml +++ b/helm/template/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: template description: A Helm library chart containing common templates, keeping application templates short type: library -version: 0.3.1 +version: 0.3.2 maintainers: - name: Jim Martens url: https://2martens.de @@ -11,7 +11,7 @@ sources: annotations: artifacthub.io/changes: | - kind: fixed - description: Moved leader role template to root folder + description: Added missing line break artifacthub.io/signKey: | fingerprint: F0F153B65BAD467201D7544E47393ABD1F96B7C8 url: https://mafiasi.de/pks/key/47393ABD1F96B7C8.asc diff --git a/helm/template/templates/_leader-role.yaml b/helm/template/templates/_leader-role.yaml index 863f1d4..941cbc0 100644 --- a/helm/template/templates/_leader-role.yaml +++ b/helm/template/templates/_leader-role.yaml @@ -12,11 +12,11 @@ rules: - configmaps apiGroups: - "" -{{- end }} -{{- end }} +{{ end }} +{{ end }} --- {{- define "template.leaderRoleBinding" -}} -{{- if .Values.leaderElection.enabled -}} +{{- if .Values.leaderElection.enabled }} apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: