{{- if eq .Values.interceptor.enabled true }}
apiVersion: v1
kind: ServiceAccount
metadata:
  name: {{ include "edp-tekton-interceptor.serviceAccountName" . }}
  labels:
    {{- include "edp-tekton-interceptor.labels" . | nindent 4 }}
  {{- with .Values.interceptor.serviceAccount.annotations }}
  annotations:
    {{- toYaml . | nindent 4 }}
  {{- end }}
{{- end }}
