Skip to content

Commit

Permalink
Adds note about repo flag (#6312)
Browse files Browse the repository at this point in the history
* Adds note about repo flag

Signed-off-by: Dharmit Shah <[email protected]>

* Update website/content/en/docs/building-operators/golang/tutorial.md

Co-authored-by: Bryce Palmer <[email protected]>
Signed-off-by: Dharmit Shah <[email protected]>

---------

Signed-off-by: Dharmit Shah <[email protected]>
Co-authored-by: Bryce Palmer <[email protected]>
  • Loading branch information
dharmit and everettraven authored Mar 2, 2023
1 parent c57ebf9 commit 93ed65f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,9 @@ See the [OpenAPI validation][openapi-validation] doc for details.

## Implement the Controller

For this example replace the generated controller file `controllers/memcached_controller.go` with the example [`memcached_controller.go`][memcached_controller] implementation.
For this example replace the generated controller file `controllers/memcached_controller.go` with the example [`memcached_controller.go`][memcached_controller] implementation.

**Note**: If you used a value other than `github.com/example/memcached-operator` for repository (`--repo` flag) when running the `operator-sdk init` command, modify accordingly in the `import` block of the file.

**Note**: The next two subsections explain how the controller watches resources and how the reconcile loop is triggered.
If you'd like to skip this section, head to the [deploy](#run-the-operator) section to see how to run the operator.
Expand Down

0 comments on commit 93ed65f

Please sign in to comment.