Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
dimityrmirchev committed Nov 7, 2024
1 parent 5c09d46 commit 7312678
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/webhook/terraformer/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
v1beta1constants "github.com/gardener/gardener/pkg/apis/core/v1beta1/constants"
corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/utils/ptr"
"sigs.k8s.io/controller-runtime/pkg/log"
"sigs.k8s.io/controller-runtime/pkg/manager"
"sigs.k8s.io/controller-runtime/pkg/webhook/admission"
Expand Down Expand Up @@ -44,7 +45,7 @@ func AddToManager(mgr manager.Manager) (*extensionswebhook.Webhook, error) {
Target: extensionswebhook.TargetSeed,
Provider: azure.Type,
Types: types,
Webhook: &admission.Webhook{Handler: handler, RecoverPanic: true},
Webhook: &admission.Webhook{Handler: handler, RecoverPanic: ptr.To(true)},
Path: webhookPath,
NamespaceSelector: buildNamespaceSelector(azure.Type),
ObjectSelector: buildObjectSelector(),
Expand Down

0 comments on commit 7312678

Please sign in to comment.