Skip to content

Commit

Permalink
fix(k8s): reenable deep copies
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Beaumont <[email protected]>
  • Loading branch information
michaelbeaumont committed Jun 19, 2024
1 parent dc85a72 commit 3ccbe9c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/plugins/bootstrap/k8s/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import (
k8s_common "github.com/kumahq/kuma/pkg/plugins/common/k8s"
k8s_extensions "github.com/kumahq/kuma/pkg/plugins/extensions/k8s"
"github.com/kumahq/kuma/pkg/plugins/resources/k8s"
"github.com/kumahq/kuma/pkg/util/pointer"
)

var _ core_plugins.BootstrapPlugin = &plugin{}
Expand Down Expand Up @@ -59,9 +58,6 @@ func (p *plugin) BeforeBootstrap(b *core_runtime.Builder, cfg core_plugins.Plugi
restClientConfig,
kube_ctrl.Options{
Scheme: scheme,
Cache: cache.Options{
DefaultUnsafeDisableDeepCopy: pointer.To(true),
},
// Admission WebHook Server
WebhookServer: kube_webhook.NewServer(kube_webhook.Options{
Host: b.Config().Runtime.Kubernetes.AdmissionServer.Address,
Expand Down

0 comments on commit 3ccbe9c

Please sign in to comment.