helm-charts/mastodon/templates/service-web.yaml

17 lines
410 B
YAML
Raw Normal View History

2021-02-09 23:28:44 +00:00
apiVersion: v1
kind: Service
metadata:
name: {{ include "mastodon.fullname" . }}-web
labels:
{{- include "mastodon.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
2021-08-09 14:16:20 +00:00
- port: {{ .Values.mastodon.web.port }}
2021-02-09 23:28:44 +00:00
targetPort: http
protocol: TCP
name: http
selector:
{{- include "mastodon.selectorLabels" . | nindent 4 }}
app.kubernetes.io/component: web