mirror of
https://github.com/mariadb-operator/mariadb-operator.git
synced 2025-08-15 21:02:38 +00:00
Support for SqlJobs
This commit is contained in:

committed by
Martín Montes

parent
ae8e3bfb1f
commit
4ef5b5aadc
@ -85,6 +85,10 @@ var webhookCmd = &cobra.Command{
|
||||
setupLog.Error(err, "unable to create webhook", "webhook", "Connection")
|
||||
os.Exit(1)
|
||||
}
|
||||
if err = (&mariadbv1alpha1.SqlJob{}).SetupWebhookWithManager(mgr); err != nil {
|
||||
setupLog.Error(err, "unable to create webhook", "webhook", "SqlJob")
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
if err := mgr.AddHealthzCheck("healthz", healthz.Ping); err != nil {
|
||||
setupLog.Error(err, "unable to set up health check")
|
||||
|
Reference in New Issue
Block a user