From afce06a837f4f325af64b38c659c7073613f913f Mon Sep 17 00:00:00 2001 From: James Munnelly Date: Sun, 14 Apr 2019 21:18:24 +0100 Subject: Initial commit --- deploy/example-webhook/templates/service.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 deploy/example-webhook/templates/service.yaml (limited to 'deploy/example-webhook/templates/service.yaml') diff --git a/deploy/example-webhook/templates/service.yaml b/deploy/example-webhook/templates/service.yaml new file mode 100644 index 0000000..1c76555 --- /dev/null +++ b/deploy/example-webhook/templates/service.yaml @@ -0,0 +1,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: http + protocol: TCP + name: http + selector: + app: {{ include "example-webhook.name" . }} + release: {{ .Release.Name }} -- cgit v1.2.3