initial commit
Some checks failed
Build and Publish TechDocs / build-and-publish (push) Has been cancelled
Some checks failed
Build and Publish TechDocs / build-and-publish (push) Has been cancelled
Change-Id: I084fc528d931f9169bcb2a11932b2d5ddd4f29b5
This commit is contained in:
15
templates/serviceaccount.yaml
Normal file
15
templates/serviceaccount.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
{{- if .Values.serviceAccount.create -}}
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
{{- $_ := set . "serviceAccount" .Values.serviceAccount }}
|
||||
name: {{ include "otel-demo.serviceAccountName" . }}
|
||||
labels:
|
||||
{{- include "otel-demo.labels" . | nindent 4 }}
|
||||
{{- if .Values.serviceAccount.annotations }}
|
||||
annotations:
|
||||
{{- range $key, $value := .Values.serviceAccount.annotations }}
|
||||
{{- printf "%s: %s" $key (tpl $value $ | quote) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user