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