helm-charts/roundcube/templates/service.yaml

20 lines
491 B
YAML
Raw Normal View History

2021-01-17 01:09:41 +00:00
apiVersion: v1
kind: Service
metadata:
name: {{ template "roundcube.fullname" . }}
labels:
app: {{ template "roundcube.name" . }}
chart: {{ template "roundcube.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: {{ template "roundcube.name" . }}
release: {{ .Release.Name }}