Files
erp/chart/templates/service.yaml
2024-11-15 16:02:54 +01:00

16 lines
349 B
YAML

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