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

fix: delete command supports kinds that do not match singular/plural names #1236

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

zerok
Copy link
Contributor

@zerok zerok commented Nov 19, 2024

If a resource has the kind "HiThere" but its singular is "hi-there" then deletion was not possible since Tanka operated on the kind and not the singular/plural defined in the CRD.

This changes the handling to following the TYPE.VERSION.GROUP format when possible.

Resolves #1229

@zerok zerok requested a review from a team as a code owner November 19, 2024 14:06
…names

If a resource has the kind "HiThere" but its singular is "hi-there" then
deletion was not possible since Tanka operated on the kind and not the
singular/plural defined in the CRD.

This changes the handling to following the `TYPE.VERSION.GROUP` format
when possible.
@zerok zerok force-pushed the zerok/delete-with-mixed-crd-names branch from b72a951 to c6a55e0 Compare November 19, 2024 14:07
@zerok zerok changed the title fix: delete command supports Kinds that do not match singular/plural names fix: delete command supports kinds that do not match singular/plural names Nov 19, 2024
@zerok zerok added this pull request to the merge queue Nov 22, 2024
Merged via the queue into main with commit bf702ef Nov 22, 2024
13 checks passed
@zerok zerok deleted the zerok/delete-with-mixed-crd-names branch November 22, 2024 07:25
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.

exit status 1 on tanka delete without helpful log
2 participants