Skip to content

Support Deletion or Renaming of APIs via CLI #6995

Description

@mike-weiner

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    language/goIssue is related to a Go operator projectlifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions