From d9f31b0b3cc3805612c0424f9bed7c79b11d84a3 Mon Sep 17 00:00:00 2001 From: Stavros kois Date: Fri, 2 Sep 2022 21:45:39 +0300 Subject: [PATCH] fix(ServiceAccount): fix capitalization and annotation reference --- charts/common/Chart.yaml | 2 +- charts/common/templates/class/_serviceaccount.tpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/common/Chart.yaml b/charts/common/Chart.yaml index c82987fc..e0c1979b 100644 --- a/charts/common/Chart.yaml +++ b/charts/common/Chart.yaml @@ -15,4 +15,4 @@ maintainers: name: common sources: null type: library -version: 10.5.6 +version: 10.5.7 diff --git a/charts/common/templates/class/_serviceaccount.tpl b/charts/common/templates/class/_serviceaccount.tpl index cb5d089a..7ccda9e9 100644 --- a/charts/common/templates/class/_serviceaccount.tpl +++ b/charts/common/templates/class/_serviceaccount.tpl @@ -2,7 +2,7 @@ This template serves as a blueprint for ServiceAccount objects that are created using the common library. */}} -{{- define "tc.common.class.serviceaccount" -}} +{{- define "tc.common.class.serviceAccount" -}} {{- $targetName := include "tc.common.names.fullname" . }} {{- $fullName := include "tc.common.names.fullname" . -}} {{- $saName := $fullName -}} @@ -24,7 +24,7 @@ metadata: name: {{ $saName }} labels: {{- include "tc.common.labels" . | nindent 4 }} - {{- with $values.serviceAccount.annotations }} + {{- with $values.annotations }} annotations: {{- tpl ( toYaml . ) $ | nindent 4 }} {{- end }}