wraft-helm/templates/service-backend.yaml

13 lines
301 B
YAML
Raw Normal View History

2024-11-14 10:21:30 +00:00
apiVersion: v1
kind: Service
metadata:
name: {{ .Release.Name }}-backend
spec:
type: {{ .Values.backend.service.type }}
ports:
- port: {{ .Values.backend.service.port | int }}
targetPort: {{ .Values.backend.service.targetPort | int }}
selector:
app: {{ .Release.Name }}-backend