mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-05-09 07:35:01 -04:00
Add Helm Chart Deploy
This commit is contained in:
parent
0b1b98f93e
commit
594e801fdf
12 changed files with 435 additions and 0 deletions
13
helm/templates/serviceaccount.yaml
Normal file
13
helm/templates/serviceaccount.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
{{- if .Values.serviceAccount.create -}}
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: {{ include "it-tools.serviceAccountName" . }}
|
||||
labels:
|
||||
{{- include "it-tools.labels" . | nindent 4 }}
|
||||
{{- with .Values.serviceAccount.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
automountServiceAccountToken: {{ .Values.serviceAccount.automount }}
|
||||
{{- end }}
|
Loading…
Add table
Add a link
Reference in a new issue