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 }}
|