Files
2025-08-15 16:31:04 -04:00

18 lines
600 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
apiVersion: v1
kind: Service
metadata:
name: webhook-service
namespace: system
spec:
ports:
- name: https
port: 443
protocol: TCP
# targetPort must match the port your webhook server actually listens on
# if you haven't overridden it in setup.Options.WebhookServer.Port, the default is 9443
targetPort: 9443
selector:
# your controller-manager (or webhook) usually carries these labels;
# swap them out for whatever you’re using in your Deployment/Pod spec
control-plane: controller-manager
app.kubernetes.io/name: kserve-controller-manager