service-web.yaml 373 B

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