diff options
Diffstat (limited to 'chart/templates/service-web.yaml')
-rw-r--r-- | chart/templates/service-web.yaml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/chart/templates/service-web.yaml b/chart/templates/service-web.yaml new file mode 100644 index 000000000..e0df35b25 --- /dev/null +++ b/chart/templates/service-web.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: Service +metadata: + name: {{ include "mastodon.fullname" . }}-web + labels: + {{- include "mastodon.labels" . | nindent 4 }} +spec: + type: {{ .Values.service.type }} + ports: + - port: {{ .Values.service.port }} + targetPort: http + protocol: TCP + name: http + selector: + {{- include "mastodon.selectorLabels" . | nindent 4 }} |