Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
Fix webhook service name

Signed-off-by: Andrey Velichkevich <[email protected]>
  • Loading branch information
andreyvelich committed Feb 5, 2025
1 parent e6c48c0 commit 4f3708d
Show file tree
Hide file tree
Showing 2 changed files with 243 additions and 438 deletions.
2 changes: 1 addition & 1 deletion cmd/trainer-controller-manager/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func main() {

// Cert generation flags
flag.IntVar(&webhookServerPort, "webhook-server-port", 9443, "Endpoint port for the webhook server.")
flag.StringVar(&webhookServiceName, "webhook-service-name", "kubeflow-trainer", "Name of the Service used as part of the DNSName")
flag.StringVar(&webhookServiceName, "webhook-service-name", "kubeflow-trainer-controller-manager", "Name of the Service used as part of the DNSName")
flag.StringVar(&webhookSecretName, "webhook-secret-name", "kubeflow-trainer-webhook-cert", "Name of the Secret to store CA and server certs")

opts := zap.Options{
Expand Down
Loading

0 comments on commit 4f3708d

Please sign in to comment.