Skip to content

Commit 93ed65f

Browse files
Adds note about repo flag (#6312)
* Adds note about repo flag Signed-off-by: Dharmit Shah <shahdharmit@gmail.com> * Update website/content/en/docs/building-operators/golang/tutorial.md Co-authored-by: Bryce Palmer <everettraven@gmail.com> Signed-off-by: Dharmit Shah <shahdharmit@gmail.com> --------- Signed-off-by: Dharmit Shah <shahdharmit@gmail.com> Co-authored-by: Bryce Palmer <everettraven@gmail.com>
1 parent c57ebf9 commit 93ed65f

File tree

1 file changed

+3
-1
lines changed
  • website/content/en/docs/building-operators/golang

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,9 @@ See the [OpenAPI validation][openapi-validation] doc for details.
183183

184184
## Implement the Controller
185185

186-
For this example replace the generated controller file `controllers/memcached_controller.go` with the example [`memcached_controller.go`][memcached_controller] implementation.
186+
For this example replace the generated controller file `controllers/memcached_controller.go` with the example [`memcached_controller.go`][memcached_controller] implementation.
187+
188+
**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.
187189

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

0 commit comments

Comments
 (0)