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

18 lines
442 B
YAML
Raw Normal View History

2018-10-23 21:22:53 +02:00
apiVersion: v1
kind: Service
metadata:
2018-11-06 13:09:12 +01:00
name: {{ .Values.service.name }}
2018-10-23 21:22:53 +02:00
labels:
2018-11-06 13:09:12 +01:00
app: {{ .Values.service.name }}
2018-10-23 21:22:53 +02:00
chart: {{ template "opal.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
type: {{ .Values.service.type }}
ports:
2018-11-06 13:09:12 +01:00
- name: {{ .Values.service.name }}
2018-10-23 21:22:53 +02:00
port: {{ .Values.service.port }}
selector:
app: {{ template "opal.name" . }}
release: {{ .Release.Name }}