webhook-freedns/deploy/example-webhook/templates/service.yaml

20 lines
511 B
YAML
Raw Normal View History

2019-04-14 20:18:24 +00:00
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 }}