service-streaming.yaml 398 B

123456789101112131415
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. name: {{ include "mastodon.fullname" . }}-streaming
  5. labels:
  6. {{- include "mastodon.labels" . | nindent 4 }}
  7. spec:
  8. type: {{ .Values.service.type }}
  9. ports:
  10. - port: {{ .Values.application.streaming.port }}
  11. targetPort: streaming
  12. protocol: TCP
  13. name: streaming
  14. selector:
  15. {{- include "mastodon.selectorLabels" . | nindent 4 }}