controller-runtime
controller-runtime copied to clipboard
Make fuzzing easy
We should make fuzzing tests easy to run for conversion.
See also kubernetes-sigs/kubebuilder#725, which mentions kubernetes/kubernetes#75689
/kind feature /help-wanted
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle stale
/lifecycle frozen
Add some helper utilities (example: https://github.com/kubernetes-sigs/cluster-api/blob/master/util/conversion/conversion.go#L133-L157) to controller-runtime
/priority backlog /help
@vincepri: This request has been marked as needing help from a contributor.
Please ensure the request meets the requirements listed here.
If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-help
command.
In response to this:
Add some helper utilities (example: https://github.com/kubernetes-sigs/cluster-api/blob/master/util/conversion/conversion.go#L133-L157) to controller-runtime
/priority backlog /help
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
Hi @DirectXMan12
Is this still relevant? If so, we would like to help.
Recently we (@AdamKorcz in particular) have been working on fuzzing custom Kubernetes controllers (Flux GitOps toolkit in this case), please see the following PRs for examples:
- https://github.com/fluxcd/source-controller/pull/443
- https://github.com/fluxcd/kustomize-controller/pull/434
- https://github.com/fluxcd/image-automation-controller/pull/229
- https://github.com/fluxcd/notification-controller/pull/250
It would be neat to fuzz the core controller-runtime library as well (not just limited to conversion libraries), is this something you would be interested in? If so, we are already working on Kubernetes fuzzing (see here: https://github.com/kubernetes/kubernetes/pull/104772) and would be happy extend to the controller-runtime.
(FYI @caniszczyk)