Bug 1386949 - [RFE] oc secrets does not support sdtin or URL for secret input
Summary: [RFE] oc secrets does not support sdtin or URL for secret input
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 3.3.0
Hardware: Unspecified
OS: All
unspecified
low
Target Milestone: ---
: ---
Assignee: Maciej Szulik
QA Contact: Xingxing Xia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-19 22:53 UTC by raffaele spazzoli
Modified: 2018-04-04 11:01 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-04 11:01:40 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description raffaele spazzoli 2016-10-19 22:53:34 UTC
Description of problem:

oc secrets <name> key= -
oc secrets <name> key=URL

both these formats are not currently supported. Other oc commands generally support those formats.
Those formats are usefule because they help concatenate commands


Version-Release number of selected component (if applicable):
oc 3.3

How reproducible:


Steps to Reproduce:


Actual results:
error

Expected results:
secret is crested

Additional info:

Comment 1 raffaele spazzoli 2016-10-19 22:55:16 UTC
I meant to say 
oc secrets new <name> key= -
oc secrets new <name> key=URL

Comment 2 Maciej Szulik 2018-04-04 11:01:40 UTC
oc create secret provides all the possibilities, including creating secrets from literals, files, etc.


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