Bug 1386949

Summary: [RFE] oc secrets does not support sdtin or URL for secret input
Product: OpenShift Container Platform Reporter: raffaele spazzoli <rspazzol>
Component: ocAssignee: Maciej Szulik <maszulik>
Status: CLOSED NOTABUG QA Contact: Xingxing Xia <xxia>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: aos-bugs, jokerman, jvallejo, mfojtik, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-04 11:01:40 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:

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.