helm-charts/mastodon/templates/service-streaming.yaml

17 lines
438 B
YAML
Raw Normal View History

2021-02-09 23:28:44 +00:00
apiVersion: v1
kind: Service
metadata:
name: {{ include "mastodon.fullname" . }}-streaming
labels:
{{- include "mastodon.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
2021-08-09 14:16:20 +00:00
- port: {{ .Values.mastodon.streaming.port }}
2021-02-09 23:28:44 +00:00
targetPort: streaming
protocol: TCP
name: streaming
selector:
{{- include "mastodon.selectorLabels" . | nindent 4 }}
app.kubernetes.io/component: streaming