charts/pipelines-library/templates/interceptor/serviceaccount.yaml (12 lines of code) (raw):
{{- 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 }}