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

14 lines
404 B
YAML
Raw Normal View History

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