-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 fix generate command not respecting namespacing of APIs
Change the getAPIResourceFlags function to return `--namespaced=false` if resource.API.Namespaced and add corresponding test. This is needed since currently `kubebuilder alpha migrate` always create namespaced APIs due to the default of namespaced being true.
- Loading branch information
1 parent
351d9e8
commit 6a18252
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters