memos/deploy/helm/templates/service.yaml
OKIAAAAA 012a5f4907
feat: add helm chart (#2095)
* add helm chart

* fix: remove unnecessary documents
2023-08-12 21:33:13 +08:00

16 lines
355 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ include "memos.fullname" . }}
labels:
{{- include "memos.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "memos.selectorLabels" . | nindent 4 }}