Support Deletion or Renaming of APIs via CLI
Feature Request
Describe the problem you need a feature to resolve.
I've been using operator-sdk recently to scaffold out a proof-of-concept operator. That iterative process has included a lot of renaming of controllers and CRDs.
Up to this point I've used operator-sdk init [flags] followed up with operator-sdk create api [flags] to create a new project and rename the APIs. I then manually copy + paste code from the old project to the new project. This makes source controlling things somewhat difficult.
Describe the solution you'd like.
After creating an API via operator-sdk create api [flags], it'd be great to have a operator-sdk delete api [flags] and/or operator-sdk rename api [flags] for folks that are iterating on their design and want an easy way to modify what they've already begun to create.
/language go
I would like to solve this issue
Hi @aviralgarg05, are you actively working on this issue?
yes
@mike-weiner did you figure out a way other than the manual copy-paste in the interim? I'm currently relying on GPTs to do the grunt work, but that isn't sustainable.
@manavrajvanshi - Nope. Unfortunately the only thing that I found was manual copy-paste in the interim. I actually found it easier while I was iterating to just scaffold out an entirely new project and re-create the CRDs with the changes I wanted.
But that clearly does not scale well.