apiVersion: v1 kind: ServiceAccount metadata: name: {{ include "stackstate-k8s-agent.fullname" . }} namespace: {{ .Release.Namespace }} labels: {{ include "stackstate-k8s-agent.labels" . | indent 4 }} app.kubernetes.io/component: cluster-agent {{- with .Values.clusterAgent.serviceaccount.annotations }} annotations: {{- toYaml . | nindent 4 }} {{- end }}