oc project delete should ask for confirmation

Solution Verified - Updated -

Issue

  • In Red Hat OpenShift Container Platform 3.3 the UI was updated to ask the user twice about a project deletion. The oc client should have a similar confirmation mechanism.
  • oc project delete <someproject> should ask for confirmation like the UI does.
  • The OpenShift UI ask for confirmation by having the user type in the project name it would seem the cli would have a similar technique to mitigate against an accidental project deletion

Environment

  • Red Hat OpenShift Container Platform 3.3 and newer

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content