This repository has been archived on 2024-08-10. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
khufu/templates/serviceaccount.yaml
dunemask 39a882cb18 [CHORE] Migrate to Helm (#4)
Co-authored-by: dunemask <dunemask@gmail.com>
Reviewed-on: https://gitea.dunemask.net/elysium/khufu/pulls/4
2023-08-24 01:02:27 +00:00

12 lines
316 B
YAML

{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "khufu.serviceAccountName" . }}
labels:
{{- include "khufu.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}