helm-charts/matrix-synapse/templates/wellknown/service.yaml

21 lines
615 B
YAML
Raw Permalink Normal View History

2024-02-11 23:14:38 +01:00
{{- if .Values.wellknown.enabled }}
---
apiVersion: v1
kind: Service
metadata:
name: {{ include "matrix-synapse.externalname" (dict "root" . "external" "wellknown") }}
labels:
{{- include "matrix-synapse.labels" . | nindent 4 }}
app.kubernetes.io/component: wellknown
spec:
type: {{ .Values.wellknown.service.type | default "ClusterIP" }}
ports:
- port: {{ .Values.wellknown.service.port | default 80 }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "matrix-synapse.selectorLabels" . | nindent 4 }}
app.kubernetes.io/component: wellknown
{{- end }}