kubebuilder icon indicating copy to clipboard operation
kubebuilder copied to clipboard

Update/fix EnvTest config doc

Open camilamacedo86 opened this issue 3 years ago • 5 comments
trafficstars

What broke? What's expected?

See: https://book.kubebuilder.io/reference/envtest.html

  • k8s versions are outdated

Then, it also shows to be missing:

  • how to run/config the env test to run the tests without the makefile target. E.g via an idea to debug
  • how to use the module: https://github.com/kubernetes-sigs/controller-runtime/tree/master/pkg/envtest
  • how to use other paths: https://github.com/kubernetes-sigs/controller-runtime/blob/master/pkg/internal/testing/process/bin_path_finder.go#L35
  • how the makefile target scaffold by default works: https://github.com/kubernetes-sigs/kubebuilder/blob/master/testdata/project-v3/Makefile#L113-L116 - See that we will change that: https://github.com/kubernetes-sigs/kubebuilder/issues/2480 / https://github.com/kubernetes-sigs/kubebuilder/pull/2486

Reproducing this issue

Run the tests without using the target and check the docs

KubeBuilder (CLI) Version

3.+

PROJECT version

3

Plugin versions

v3

Other versions

No response

Extra Labels

/kind documentation

camilamacedo86 avatar Jan 30 '22 10:01 camilamacedo86

@varshaprasad96 if you have time could you please give a hand in this one? If we updated the docs and add the missing info we also could close the SDK issues such as https://github.com/operator-framework/operator-sdk/issues/5090.

camilamacedo86 avatar Jan 30 '22 10:01 camilamacedo86

c/c @jmrodri

camilamacedo86 avatar Feb 10 '22 17:02 camilamacedo86

i cannot find binary for darwin/arm64 at https://storage.googleapis.com/kubebuilder-tools @camilamacedo86

acechef avatar Feb 16 '22 04:02 acechef

I am facing the same problem. Do you have any solution?

gx14ac avatar Apr 23 '22 04:04 gx14ac

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Jul 22 '22 05:07 k8s-triage-robot

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

k8s-triage-robot avatar Aug 21 '22 06:08 k8s-triage-robot

It seems done here: https://github.com/kubernetes-sigs/kubebuilder/pull/2900

We can open another issue if we find that something still missing.

camilamacedo86 avatar Sep 10 '22 19:09 camilamacedo86