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

doc: make implicity the users must set envtest #3709

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ Create a simple Memcached API:
operator-sdk create api --group cache --version v1 --kind Memcached --resource=true --controller=true
```

### Configuring your test environment
### Configuring your test environment

**(REQUIRED for building the operator)**

[Setup the `envtest` binaries and environment][envtest-setup] for your project.
Update your `test` Makefile target to the following:
Expand All @@ -50,7 +52,7 @@ test: generate fmt vet manifests

### Build and push the operator image

Use the built-in Makefile targets to build and push your operator. Make
Ensure that you performed the [`envtest` setup][envtest-setup] described above and use the built-in Makefile targets to build and push your operator. Make
sure to define `IMG` when you call `make`:

```sh
Expand Down