Factory/upgrade-controller-chart/templates/webhook_service.yaml

16 lines
474 B
YAML
Raw Normal View History

2024-10-22 09:51:51 +02:00
apiVersion: v1
kind: Service
metadata:
name: {{ include "upgrade-controller.webhookServiceName" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "upgrade-controller.labels" . | nindent 4 }}
spec:
type: {{ .Values.webhookService.type }}
ports:
- port: {{ .Values.webhookService.port }}
targetPort: {{ .Values.webhookService.targetPort }}
protocol: TCP
selector:
{{- include "upgrade-controller.selectorLabels" . | nindent 4 }}