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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃摉 Update using_an_external_type.md #3998

Merged
merged 1 commit into from
Jul 2, 2024
Merged
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
4 changes: 2 additions & 2 deletions docs/book/src/reference/using_an_external_type.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func init() {

### Use the correct imports for your API and uncomment the controlled resource

file: internal/controllers/externaltype_controllers.go
file: internal/controllers/externaltype_controller.go
```go
package controllers

Expand All @@ -142,7 +142,7 @@ func (r *ExternalTypeReconciler) SetupWithManager(mgr ctrl.Manager) error {

Note that core resources may simply be imported by depending on the API's from upstream Kubernetes and do not need additional `AddToScheme` registrations:

file: internal/controllers/externaltype_controllers.go
file: internal/controllers/externaltype_controller.go
```go
package controllers
// contains core resources like Deployment
Expand Down
Loading