apiVersion: v1
kind: Service
metadata:
  labels:
    {{- $data := . | mustMergeOverwrite (dict "component" "webhook" "instance" "webhook-service") -}}
    {{- include "kamaji.labels" $data | nindent 4 }}
  name: {{ include "kamaji.webhookServiceName" . }}
  namespace: {{ .Release.Namespace }}
spec:
  ports:
    - port: 443
      protocol: TCP
      name: webhook-server
      targetPort: webhook-server
  selector:
    {{- include "kamaji.selectorLabels" . | nindent 4 }}
