mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-05 07:56:23 -03:00
Merge pull request #219 from stavros-k/tailsc
fix(ServiceAccount): fix capitalization and annotation reference
This commit is contained in:
@@ -15,4 +15,4 @@ maintainers:
|
||||
name: common
|
||||
sources: null
|
||||
type: library
|
||||
version: 10.5.6
|
||||
version: 10.5.7
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user