1
0
forked from suse-edge/Factory
Factory/upgrade-controller-chart/templates/webhook_service.yaml

16 lines
474 B
YAML

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 }}