nuclei/helm/templates/serviceaccount.yaml
Spencer Heywood ea08404538
Helm chart (#2557)
* added Helm chart

* Update deployment name in hap.yaml

Co-authored-by: Sandeep Singh <sandeep@projectdiscovery.io>
Co-authored-by: Shubham Rasal <shubhamdharmarasal@gmail.com>
2022-10-03 16:21:38 +05:30

13 lines
318 B
YAML

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