mirror of
https://github.com/snowykami/neo-blog.git
synced 2025-09-07 09:46:24 +00:00
feat(deploy): Helm Chart
This commit is contained in:
13
chart/templates/serviceaccount.yaml
Normal file
13
chart/templates/serviceaccount.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
{{- if .Values.serviceAccount.create -}}
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: {{ include "neo-blog.serviceAccountName" . }}
|
||||
labels:
|
||||
{{- include "neo-blog.labels" . | nindent 4 }}
|
||||
{{- with .Values.serviceAccount.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
automountServiceAccountToken: {{ .Values.serviceAccount.automount }}
|
||||
{{- end }}
|
Reference in New Issue
Block a user