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

17 lines
464 B
YAML
Raw Normal View History

2018-11-08 22:18:48 +01:00
apiVersion: v1
kind: Service
metadata:
name: {{ .Release.Name }}-{{ .Values.website.service.name }}
2018-11-08 22:18:48 +01:00
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 }}