Skip to content

feat: Add defaulting webhook #2684

feat: Add defaulting webhook

feat: Add defaulting webhook #2684

Triggered via pull request November 18, 2024 08:32
Status Failure
Total duration 2m 25s
Artifacts

pr-code-checks.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors
unit-tests: main.go#L61
no required module provides package github.com/kyma-project/telemetry-manager/webhook/logpipeline/validation; to add it:
unit-tests
Process completed with exit code 2.
coverage: main.go#L61
no required module provides package github.com/kyma-project/telemetry-manager/webhook/logpipeline/validation; to add it:
coverage
Process completed with exit code 2.
lint: controllers/operator/telemetry_controller.go#L60
config.SelfMonitor undefined (type TelemetryControllerConfig has no field or method SelfMonitor) (typecheck)
lint: controllers/operator/telemetry_controller.go#L108
r.config.Webhook undefined (type TelemetryControllerConfig has no field or method Webhook) (typecheck)
lint: main.go#L58
could not import github.com/kyma-project/telemetry-manager/internal/webhookcert (-: # github.com/kyma-project/telemetry-manager/internal/webhookcert
lint: internal/webhookcert/resources.go#L30
cannot use &mutatingWebhookConfig (value of type *"k8s.io/api/admissionregistration/v1".MutatingWebhookConfiguration) as *"k8s.io/api/admissionregistration/v1".ValidatingWebhookConfiguration value in argument to k8sutils.CreateOrUpdateValidatingWebhookConfiguration) (typecheck)
lint: internal/reconciler/telemetry/reconciler.go#L24
could not import github.com/kyma-project/telemetry-manager/internal/webhookcert (-: # github.com/kyma-project/telemetry-manager/internal/webhookcert
lint: internal/webhookcert/resources.go#L30
cannot use &mutatingWebhookConfig (value of type *"k8s.io/api/admissionregistration/v1".MutatingWebhookConfiguration) as *"k8s.io/api/admissionregistration/v1".ValidatingWebhookConfiguration value in argument to k8sutils.CreateOrUpdateValidatingWebhookConfiguration) (typecheck)
lint: internal/webhookcert/resources.go#L30
cannot use &mutatingWebhookConfig (value of type *"k8s.io/api/admissionregistration/v1".MutatingWebhookConfiguration) as *"k8s.io/api/admissionregistration/v1".ValidatingWebhookConfiguration value in argument to k8sutils.CreateOrUpdateValidatingWebhookConfiguration (typecheck)
lint
Process completed with exit code 2.