Bug 1313710 - no remove option for "oc secrets" command.
Summary: no remove option for "oc secrets" command.
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Fabiano Franz
QA Contact: Wei Sun
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-02 09:42 UTC by Johnny Liu
Modified: 2016-03-04 18:44 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-04 18:44:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.