Bug 1313710

Summary: no remove option for "oc secrets" command.
Product: OpenShift Container Platform Reporter: Johnny Liu <jialiu>
Component: ocAssignee: Fabiano Franz <ffranz>
Status: CLOSED DEFERRED QA Contact: Wei Sun <wsun>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.2.0CC: aos-bugs, jokerman, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-04 18:44:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Johnny Liu 2016-03-02 09:42:37 UTC
Description of problem:
After user new a secret, then add it to a ServiceAccount, when user want to remove it from the ServiceAccount, no such option to do that.

#  oc secrets --help
Manage secrets in your project

Secrets are used to store confidential information that should not be contained inside of an image.
They are commonly used to hold things like keys for authentication to other internal systems like 
Docker registries.

Usage:
  oc secrets [options]

Available Commands:
  new           Create a new secret based on a key file or on files within a directory
  new-dockercfg Create a new dockercfg secret
  new-basicauth Create a new secret for basic authentication
  new-sshauth   Create a new secret for SSH authentication
  add           Add secrets to a ServiceAccount

Use "oc help <command>" for more information about a given command.
Use "oc options" for a list of global command-line options (applies to all commands).

Version-Release number of selected component (if applicable):
atomic-openshift-3.1.1.908-1.git.0.d5f3fef.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Fabiano Franz 2016-03-04 18:44:22 UTC
Turned into a story: https://trello.com/c/38bAj7iu.