mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-22 23:01:35 +03:00
16 lines
404 B
YAML
16 lines
404 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: "{{ include "affine-cloud.fullname" . }}"
|
|
labels:
|
|
{{- include "affine-cloud.labels" . | nindent 4 }}
|
|
spec:
|
|
type: "{{ .Values.affineCloud.service.type }}"
|
|
ports:
|
|
- name: http
|
|
protocol: TCP
|
|
port: {{ .Values.affineCloud.service.port }}
|
|
targetPort: 3000
|
|
selector:
|
|
{{- include "affine-cloud.selectorLabels" . | nindent 4 }}
|