mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-11 20:08:37 +00:00
20 lines
475 B
YAML
20 lines
475 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ .Values.services.sync.name }}
|
|
labels:
|
|
{{- include "front.labels" . | nindent 4 }}
|
|
{{- with .Values.services.sync.annotations }}
|
|
annotations:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
spec:
|
|
type: {{ .Values.services.sync.type }}
|
|
ports:
|
|
- port: {{ .Values.services.sync.port }}
|
|
targetPort: http
|
|
protocol: TCP
|
|
name: http
|
|
selector:
|
|
{{- include "front.selectorLabels" . | nindent 4 }}
|