Skip to content

Commit

Permalink
Merge pull request #3998 from davidxia/patch-4
Browse files Browse the repository at this point in the history
📖 Update using_an_external_type.md
  • Loading branch information
k8s-ci-robot authored Jul 2, 2024
2 parents c824a83 + 18a0d51 commit e82127c
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit e82127c

Please sign in to comment.