blog/deploy/helm/templates/service.yaml
Peter Kurfer 1d19b4d23d
All checks were successful
agola/blog/Build The run finished successfully
deploy: add Helm chart
2022-09-11 20:36:27 +02:00

15 lines
349 B
YAML

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