grafana / tanka

Flexible, reusable and concise configuration for Kubernetes
https://tanka.dev
Apache License 2.0
2.41k stars 165 forks source link

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

Closed zerok closed 2 days ago

zerok commented 5 days ago

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 https://github.com/grafana/tanka/issues/1229