personal-charts/charts/vp-web/0.1.0/templates/service.yaml
2022-01-12 21:55:37 +01:00

16 lines
351 B
YAML

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