2020-06-29 21:58:48 +10:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: {{ include "mastodon.fullname" . }}-streaming
|
|
|
|
labels:
|
|
|
|
{{- include "mastodon.labels" . | nindent 4 }}
|
|
|
|
spec:
|
|
|
|
type: {{ .Values.service.type }}
|
|
|
|
ports:
|
2021-02-15 18:00:54 +11:00
|
|
|
- port: {{ .Values.mastodon.streaming.port }}
|
2020-06-29 21:58:48 +10:00
|
|
|
targetPort: streaming
|
|
|
|
protocol: TCP
|
|
|
|
name: streaming
|
|
|
|
selector:
|
|
|
|
{{- include "mastodon.selectorLabels" . | nindent 4 }}
|
2022-11-09 03:21:06 +11:00
|
|
|
app.kubernetes.io/component: streaming
|