service-web.yaml 410 B

12345678910111213141516
  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 }}
  16. app.kubernetes.io/component: web