Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: Update to controller-runtime v0.14.6, ginkgo/v2 #437

Merged
merged 3 commits into from
Apr 28, 2023

Conversation

viccuad
Copy link
Member

@viccuad viccuad commented Apr 28, 2023

Description

Bump controller-runtime to get rid of ginkgo v1.
Relates to kubewarden/audit-scanner#24
Audit scanner needs ginkgo/v2.

Bump open-telemetry.
Don't bump client-go to 0.27.0 yet: operator-framework/operator-sdk#6396

Test

make test.

Additional Information

Supercedes #306.

Tradeoff

Potential improvement

@viccuad viccuad requested a review from a team as a code owner April 28, 2023 09:50
@viccuad viccuad self-assigned this Apr 28, 2023
`sigs.k8s.io/controller-runtime/pkg/envtest/printer` is not present in
controller-runtime >= 1.14.1, nor ginkgo v1.

Signed-off-by: Víctor Cuadrado Juan <vcuadradojuan@suse.de>
Pull `sigs.k8s.io/controller-runtime/pkg/log/zap@v0.14.6` as part of it.

```
go get sigs.k8s.io/controller-runtime@latest
go get sigs.k8s.io/controller-runtime/pkg/log/zap@v0.14.6
```

Signed-off-by: Víctor Cuadrado Juan <vcuadradojuan@suse.de>
go get -u github.com/go-logr/logr go.opentelemetry.io/otel go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc go.opentelemetry.io/otel/metric go.opentelemetry.io/otel/sdk/metric
go mod tidy

Can't bump to client-go v0.27.1:
operator-framework/operator-sdk#6396

Signed-off-by: Víctor Cuadrado Juan <vcuadradojuan@suse.de>
@viccuad
Copy link
Member Author

viccuad commented Apr 28, 2023

This needs to get tagged to be consumed by audit-scanner.

Copy link
Member

@flavio flavio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, merge it if everything is green

@viccuad viccuad merged commit a7cb352 into kubewarden:main Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants