about summary refs log tree commit diff
path: root/chart/templates/service-streaming.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'chart/templates/service-streaming.yaml')
-rw-r--r--chart/templates/service-streaming.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/chart/templates/service-streaming.yaml b/chart/templates/service-streaming.yaml
new file mode 100644
index 000000000..ff5dc13ea
--- /dev/null
+++ b/chart/templates/service-streaming.yaml
@@ -0,0 +1,15 @@
+apiVersion: v1
+kind: Service
+metadata:
+  name: {{ include "mastodon.fullname" . }}-streaming
+  labels:
+    {{- include "mastodon.labels" . | nindent 4 }}
+spec:
+  type: {{ .Values.service.type }}
+  ports:
+    - port: {{ .Values.application.streaming.port }}
+      targetPort: streaming
+      protocol: TCP
+      name: streaming
+  selector:
+    {{- include "mastodon.selectorLabels" . | nindent 4 }}