helm_website/templates/service.yaml
2024-11-20 18:16:42 +01:00

21 lines
438 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ .Release.Name }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "basic-app.labels" . | nindent 4 }}
spec:
type: ClusterIP
ports:
- port: 80
targetPort: http-svc
protocol: TCP
name: http
- port: 8000
targetPort: webhook-svc
protocol: TCP
name: webhook
selector:
{{- include "basic-app.selectorLabels" . | nindent 4 }}