apiVersion: v1
kind: Service
metadata:
  name: {{ include "namespace-annotation-webhook.fullname" . }}
  labels:
    app.kubernetes.io/name: {{ include "namespace-annotation-webhook.name" . }}
    app.kubernetes.io/instance: {{ .Release.Name }}
spec:
  type: ClusterIP
  ports:
    - port: 443
      targetPort: 8443
      protocol: TCP
      name: https
  selector:
    app.kubernetes.io/name: {{ include "namespace-annotation-webhook.name" . }}
    app.kubernetes.io/instance: {{ .Release.Name }}
