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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow partial resource specifications of <kind>.<group> or <kind>.<group>/<name> #12

Merged
merged 3 commits into from
Jan 22, 2022

Conversation

ulucinar
Copy link
Owner

Allows the following invocations. Please note that the following is not an exhaustive list of possible syntaxes:

  • <singular kind> <name>: kubectl edit-status pod test
  • <plural kind> <name>: kubectl edit-status pods test
  • <singular kind>/<name>: kubectl edit-status pod/test
  • <plural kind>/<name>: kubectl edit-status pods/test
  • <singular kind>.<group> <name>: kubectl edit-status resourcegroup.azure.jet.crossplane.io example
  • <plural kind>.<group> <name>: kubectl edit-status resourcegroups.azure.jet.crossplane.io example
  • <plural kind>.<group>/<name>: kubectl edit-status resourcegroups.azure.jet.crossplane.io/example

Fixes #11

…oup>/<name>

- Fixes #11
- Update dependencies

Signed-off-by: Alper Rifat Ulucinar <[email protected]>
Signed-off-by: Alper Rifat Ulucinar <[email protected]>
@ulucinar ulucinar merged commit 36fb8c8 into master Jan 22, 2022
@ulucinar ulucinar deleted the fix-11 branch January 22, 2022 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot use <kind>.<group> or <kind>.<group>/<name> as partial resource specification
1 participant