2
0

serviceaccount.yaml 457 B

123456789101112131415
  1. {{- if .Values.managedServiceAccount }}
  2. apiVersion: v1
  3. kind: ServiceAccount
  4. metadata:
  5. name: {{ template "filebeat.serviceAccount" . }}
  6. annotations:
  7. {{- with .Values.serviceAccountAnnotations }}
  8. {{- toYaml . | nindent 4 }}
  9. {{- end }}
  10. labels:
  11. app: "{{ template "filebeat.fullname" . }}"
  12. chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
  13. heritage: {{ .Release.Service | quote }}
  14. release: {{ .Release.Name | quote }}
  15. {{- end -}}