Skip to content

Commit ee90473

Browse files
committed
Remove v1alpha1 webhooks
Signed-off-by: Pavol Loffay <[email protected]>
1 parent 946f69d commit ee90473

13 files changed

+1523
-1202
lines changed

apis/v1alpha1/collector_webhook_test.go

-1,137
This file was deleted.

apis/v1alpha1/opampbridge_webhook_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,13 @@ import (
2424
"github.com/stretchr/testify/assert"
2525
v1 "k8s.io/api/core/v1"
2626
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
27+
"k8s.io/client-go/kubernetes/scheme"
2728

2829
"github.com/open-telemetry/opentelemetry-operator/internal/config"
2930
)
3031

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

apis/v1beta1/collector_webhook.go

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

0 commit comments

Comments
 (0)