{{- if eq .Values.interceptor.enabled true }}
apiVersion: v1
kind: Service
metadata:
  name: tekton-triggers-edp-interceptor
  labels:
    {{- include "edp-tekton-interceptor.labels" . | nindent 4 }}
spec:
  type: ClusterIP
  ports:
    - port: 8443
      targetPort: https
      protocol: TCP
      name: https
  selector:
    {{- include "edp-tekton-interceptor.selectorLabels" . | nindent 4 }}
{{- end }}
