thirdparty-ops-docker-helm/charts/website/templates/service.yaml

17 lines
444 B
YAML
Raw Normal View History

2018-11-08 22:18:48 +01:00
apiVersion: v1
kind: Service
metadata:
name: {{ .Values.website.service.name }}
labels:
app: {{ .Values.website.service.name }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
type: {{ .Values.website.service.type }}
ports:
- name: {{ .Values.website.service.name }}
port: {{ .Values.website.service.port }}
selector:
app: {{ template "website.name" . }}
release: {{ .Release.Name }}