{{- if .Values.meshGateway.enabled }} apiVersion: v1 kind: ServiceAccount metadata: name: {{ template "consul.fullname" . }}-mesh-gateway namespace: {{ .Release.Namespace }} labels: app: {{ template "consul.name" . }} chart: {{ template "consul.chart" . }} heritage: {{ .Release.Service }} release: {{ .Release.Name }} component: mesh-gateway {{- end }}