2020-06-29 11:58:48 +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-02-15 07:00:54 +00:00
|
|
|
- port: {{ .Values.mastodon.web.port }}
|
2020-06-29 11:58:48 +00:00
|
|
|
targetPort: http
|
|
|
|
protocol: TCP
|
|
|
|
name: http
|
|
|
|
selector:
|
|
|
|
{{- include "mastodon.selectorLabels" . | nindent 4 }}
|
2022-11-08 16:21:06 +00:00
|
|
|
app.kubernetes.io/component: web
|