Skip to content

Commit 6d933ab

Browse files
committed
Remove v1alpha1 webhooks
Signed-off-by: Pavol Loffay <[email protected]>
1 parent 15bd804 commit 6d933ab

17 files changed

+1537
-1794
lines changed

apis/v1alpha1/collector_webhook.go

-463
This file was deleted.

apis/v1alpha1/collector_webhook_test.go

-1,137
This file was deleted.

apis/v1alpha1/opampbridge_webhook_test.go

+5-4
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,16 @@ import (
2121
"testing"
2222

2323
"github.com/go-logr/logr"
24-
25-
"github.com/open-telemetry/opentelemetry-operator/internal/config"
26-
2724
"github.com/stretchr/testify/assert"
28-
2925
v1 "k8s.io/api/core/v1"
3026
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
27+
"k8s.io/client-go/kubernetes/scheme"
28+
29+
"github.com/open-telemetry/opentelemetry-operator/internal/config"
3130
)
3231

32+
var testScheme = scheme.Scheme
33+
3334
func TestOpAMPBridgeDefaultingWebhook(t *testing.T) {
3435
one := int32(1)
3536
five := int32(5)

apis/v1beta1/collector_webhook.go

+354-12
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)