webhook-freedns/deploy/example-webhook/templates/service.yaml
James Munnelly 3935fd70e7 Update Helm chart and Dockerfile
Signed-off-by: James Munnelly <james@munnelly.eu>
2019-04-29 17:55:46 +01:00

20 lines
513 B
YAML

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 }}