Files
chart/templates/service.yaml
Konstantin Grachev 8b1914fb52
All checks were successful
continuous-integration/drone/push Build is passing
fix: use serverPort from config.port, add default value
2023-02-28 22:16:07 +03:00

16 lines
355 B
YAML

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