feat(storage): prepare custom resource for storage API
This commit is contained in:
parent
d02e2d4653
commit
b55afea477
34 changed files with 1110 additions and 369 deletions
cmd
|
@ -156,13 +156,16 @@ func (m manager) Run(ctx context.Context) error {
|
|||
}
|
||||
|
||||
if err = webhooksupabasev1alpha1.SetupAPIGatewayWebhookWithManager(mgr, webhookConfig); err != nil {
|
||||
setupLog.Error(err, "unable to create webhook", "webhook", "APIGateway")
|
||||
os.Exit(1)
|
||||
return fmt.Errorf("unable to create webhook: %w", err)
|
||||
}
|
||||
|
||||
if err = webhooksupabasev1alpha1.SetupDashboardWebhookWithManager(mgr); err != nil {
|
||||
return fmt.Errorf("unable to create webhook: %w", err)
|
||||
}
|
||||
|
||||
if err = webhooksupabasev1alpha1.SetupStorageWebhookWithManager(mgr); err != nil {
|
||||
return fmt.Errorf("unable to create webhook: %w", err)
|
||||
}
|
||||
}
|
||||
|
||||
// +kubebuilder:scaffold:builder
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue