summaryrefslogtreecommitdiffstats
path: root/deploy/example-webhook/templates/service.yaml
blob: 572089efddb28e2af754acc74018e9b3db083861 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
apiVersion: v1
kind: Service
metadata:
  name: {{ include "example-webhook.fullname" . }}
  labels:
    app: {{ include "example-webhook.name" . }}
    chart: {{ include "example-webhook.chart" . }}
    release: {{ .Release.Name }}
    heritage: {{ .Release.Service }}
spec:
  type: {{ .Values.service.type }}
  ports:
    - port: {{ .Values.service.port }}
      targetPort: https
      protocol: TCP
      name: https
  selector:
    app: {{ include "example-webhook.name" . }}
    release: {{ .Release.Name }}