Skip to content

Commit c70897f

Browse files
authored
Bind Proxmoxmachine Webhook (#55)
1 parent e4a915b commit c70897f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmd/main.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,10 @@ func main() {
144144
setupLog.Error(err, "unable to create webhook", "webhook", "ProxmoxCluster")
145145
os.Exit(1)
146146
}
147+
if err = (&webhook.ProxmoxMachine{}).SetupWebhookWithManager(mgr); err != nil {
148+
setupLog.Error(err, "unable to create webhook", "webhook", "ProxmoxMachine")
149+
os.Exit(1)
150+
}
147151
}
148152
//+kubebuilder:scaffold:builder
149153

0 commit comments

Comments
 (0)