AFFiNE/.github/helm/affine-cloud/templates/services.yaml

16 lines
404 B
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
2023-06-29 11:25:43 +03:00
name: "{{ include "affine-cloud.fullname" . }}"
labels:
{{- include "affine-cloud.labels" . | nindent 4 }}
spec:
2023-06-29 11:25:43 +03:00
type: "{{ .Values.affineCloud.service.type }}"
ports:
- name: http
protocol: TCP
2023-06-29 11:25:43 +03:00
port: {{ .Values.affineCloud.service.port }}
targetPort: 3000
2023-06-29 11:25:43 +03:00
selector:
{{- include "affine-cloud.selectorLabels" . | nindent 4 }}