rancher-partner-charts/charts/stackstate/stackstate-k8s-agent/1.0.86/templates/cluster-agent-serviceaccoun...

15 lines
515 B
YAML

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