aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/deploy/operator/charts/sparkoperator/templates/webhook-service.yaml
blob: 42c5bc62e112f2aee0f2845bef43fb5cb8632b1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{{ if .Values.enableWebhook }}
kind: Service
apiVersion: v1
metadata:
  name: {{ .Release.Name }}-webhook
  labels:
    app.kubernetes.io/name: {{ include "sparkoperator.name" . }}
    helm.sh/chart: {{ include "sparkoperator.chart" . }}
    app.kubernetes.io/instance: {{ .Release.Name }}
    app.kubernetes.io/managed-by: {{ .Release.Service }}
spec:
  ports:
  - port: 443
    targetPort: 8080
    name: webhook
  selector:
    app.kubernetes.io/name: {{ include "sparkoperator.name" . }}
    app.kubernetes.io/version: {{ .Values.operatorVersion }}
{{ end }}