Merge pull request #219 from stavros-k/tailsc

fix(ServiceAccount): fix capitalization and annotation reference
This commit is contained in:
Stavros Kois
2022-09-03 20:02:26 +03:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -15,4 +15,4 @@ maintainers:
name: common
sources: null
type: library
version: 10.5.6
version: 10.5.7

View File

@@ -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 }}