feat: add common helm chart for static sites
This commit is contained in:
parent
8e65c2f6cd
commit
fb80b39754
9 changed files with 353 additions and 0 deletions
12
deploy/charts/static-site/templates/serviceaccount.yaml
Normal file
12
deploy/charts/static-site/templates/serviceaccount.yaml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{{- if .Values.serviceAccount.create -}}
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: {{ include "static-site.serviceAccountName" . }}
|
||||
labels:
|
||||
{{- include "static-site.labels" . | nindent 4 }}
|
||||
{{- with .Values.serviceAccount.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
Reference in a new issue