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

Delete project or service #77

Open
brettneese opened this issue Nov 17, 2016 · 4 comments
Open

Delete project or service #77

brettneese opened this issue Nov 17, 2016 · 4 comments

Comments

@brettneese
Copy link

brettneese commented Nov 17, 2016

Is it not yet possible to delete projects or services? torus project delete (etc) does nothing, and the help only shows list and create actions.

I didn't realize there was a hierarchy of projects containing services, so now I have a few extra projects lying around that should really be services.

@jeffandersen
Copy link
Contributor

Correct, it is not yet possible to remove a project.

We have to decide a proper course of action for the secrets found in the hierarchy beneath that project (whether they're all destroyed, perhaps a migration mechanism, etc), then we should be able to introduce this.

@ianlivingstone
Copy link
Contributor

@brettneese your feedback would be awesome: would you expect the secrets you've stored under those projects or services to also be removed? What if you've shared a secret between two projects or services (e.g. I shared a token with the auth and payment service, then I delete the auth service)?

I've added this issue to our backlog, as soon as we understand the right behaviour we can begin implementing.

@brettneese
Copy link
Author

brettneese commented Nov 18, 2016

I would probably expect them to also be removed, yeah. With some sort of confirmation of course: "here's what you're deleting, type the service/project name to continue."

I'm not sure if there's a way yet to set multiple key/value pairs at once, but a quick and easy way to solve this problem entirely would be that if I wanted them somewhere else it would be nice to just copy and paste them from this confirmation into a new command specifying myself where I want to move them.

I wouldn't expect deleting one service to affect any other services, or if that would be necessary, I would expect the option to either remove them both or keep them in place for one while deleting the other.

tl;dr: if in doubt, ask me.

@malekjaroslav
Copy link

Hey guys, is there some progress behind this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants