controller-runtime icon indicating copy to clipboard operation
controller-runtime copied to clipboard

Make fuzzing easy

Open DirectXMan12 opened this issue 5 years ago • 6 comments

We should make fuzzing tests easy to run for conversion.

See also kubernetes-sigs/kubebuilder#725, which mentions kubernetes/kubernetes#75689

DirectXMan12 avatar May 30 '19 01:05 DirectXMan12

/kind feature /help-wanted

DirectXMan12 avatar May 30 '19 01:05 DirectXMan12

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

fejta-bot avatar Aug 28 '19 02:08 fejta-bot

/lifecycle frozen

DirectXMan12 avatar Sep 03 '19 18:09 DirectXMan12

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 avatar Feb 21 '20 17:02 vincepri

@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.

k8s-ci-robot avatar Feb 21 '20 17:02 k8s-ci-robot

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)

DavidKorczynski avatar Sep 30 '21 21:09 DavidKorczynski