From 9dbc4f566d0b5fb9e626f17c695e32e09563d7ac Mon Sep 17 00:00:00 2001 From: ajanikow <12255597+ajanikow@users.noreply.github.com> Date: Thu, 12 Sep 2024 08:08:38 +0000 Subject: [PATCH] Fix Container ref --- pkg/integrations/sidecar/integration.authentication.v1.go | 4 ---- pkg/integrations/sidecar/integration.authorization.v0.go | 4 ---- pkg/integrations/sidecar/integration.envoy.v3.go | 4 ---- pkg/integrations/sidecar/integration.shutdown.v1.go | 4 ---- 4 files changed, 16 deletions(-) diff --git a/pkg/integrations/sidecar/integration.authentication.v1.go b/pkg/integrations/sidecar/integration.authentication.v1.go index 903c35b65..8273424db 100644 --- a/pkg/integrations/sidecar/integration.authentication.v1.go +++ b/pkg/integrations/sidecar/integration.authentication.v1.go @@ -29,10 +29,6 @@ import ( "github.com/arangodb/kube-arangodb/pkg/util" ) -func init() { - registerer.Register("AUTHENTICATION_V1", IntegrationAuthenticationV1{}) -} - type IntegrationAuthenticationV1 struct { Core *Core diff --git a/pkg/integrations/sidecar/integration.authorization.v0.go b/pkg/integrations/sidecar/integration.authorization.v0.go index d474c4b33..6a4781e7d 100644 --- a/pkg/integrations/sidecar/integration.authorization.v0.go +++ b/pkg/integrations/sidecar/integration.authorization.v0.go @@ -24,10 +24,6 @@ import ( core "k8s.io/api/core/v1" ) -func init() { - registerer.Register("AUTHORIZATION_V0", IntegrationAuthorizationV0{}) -} - type IntegrationAuthorizationV0 struct { Core *Core } diff --git a/pkg/integrations/sidecar/integration.envoy.v3.go b/pkg/integrations/sidecar/integration.envoy.v3.go index 041107152..b53c54db6 100644 --- a/pkg/integrations/sidecar/integration.envoy.v3.go +++ b/pkg/integrations/sidecar/integration.envoy.v3.go @@ -26,10 +26,6 @@ import ( api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1" ) -func init() { - registerer.Register("ENVOY_AUTH_V3", IntegrationEnvoyV3{}) -} - type IntegrationEnvoyV3 struct { Core *Core Spec api.DeploymentSpec diff --git a/pkg/integrations/sidecar/integration.shutdown.v1.go b/pkg/integrations/sidecar/integration.shutdown.v1.go index 9bd7056ab..824579a55 100644 --- a/pkg/integrations/sidecar/integration.shutdown.v1.go +++ b/pkg/integrations/sidecar/integration.shutdown.v1.go @@ -24,10 +24,6 @@ import ( core "k8s.io/api/core/v1" ) -func init() { - registerer.Register("SHUTDOWN_V1", IntegrationShutdownV1{}) -} - type IntegrationShutdownV1 struct { Core *Core }