helm_website/templates/service.yaml

21 lines
438 B
YAML
Raw Permalink Normal View History

2024-11-14 08:13:40 +01:00
apiVersion: v1
kind: Service
metadata:
name: {{ .Release.Name }}
namespace: {{ .Release.Namespace }}
2024-11-14 08:13:40 +01:00
labels:
{{- include "basic-app.labels" . | nindent 4 }}
spec:
2024-11-20 18:16:42 +01:00
type: ClusterIP
2024-11-14 08:13:40 +01:00
ports:
- port: 80
targetPort: http-svc
2024-11-14 08:13:40 +01:00
protocol: TCP
name: http
- port: 8000
targetPort: webhook-svc
protocol: TCP
name: webhook
2024-11-14 08:13:40 +01:00
selector:
{{- include "basic-app.selectorLabels" . | nindent 4 }}