charts/eks-node-monitoring-agent/templates/serviceaccount.yaml (13 lines of code) (raw):

{{- if .Values.serviceAccount.create -}} apiVersion: v1 kind: ServiceAccount metadata: name: {{ template "eks-node-monitoring-agent.serviceAccountName" . }} namespace: {{ .Release.Namespace }} labels: {{- include "eks-node-monitoring-agent.labels" . | nindent 4 }} {{- with .Values.serviceAccount.annotations }} annotations: {{ toYaml . | indent 4 }} {{- end }} {{- end -}}