github.com/kubevela/workflow@v0.6.0/charts/vela-workflow/templates/admission-webhooks/webhookService.yaml (about)

     1  {{- if .Values.admissionWebhooks.enabled -}}
     2  apiVersion: v1
     3  kind: Service
     4  metadata:
     5    name: {{ template "kubevela.name" . }}-webhook
     6    namespace: {{ .Release.Namespace }}
     7    labels:
     8      {{- include "kubevela.labels" . | nindent 4 }}
     9  spec:
    10    type: {{ .Values.webhookService.type }}
    11    ports:
    12      - port: 443
    13        targetPort: {{ .Values.webhookService.port }}
    14        protocol: TCP
    15        name: https
    16    selector:
    17      {{ include "kubevela.selectorLabels" . | nindent 6 }}
    18  
    19  {{- end -}}