Bug 1301926 - Proxy options with oc command
Summary: Proxy options with oc command
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: RFE
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: ---
Assignee: Fabiano Franz
QA Contact: Johnny Liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-26 11:58 UTC by Jaspreet Kaur
Modified: 2021-03-11 14:28 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-20 14:43:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jaspreet Kaur 2016-01-26 11:58:06 UTC
3. What is the nature and description of the request?  

Improve oc login command line to have proxy URL/Credentials as options.
      
4. Why does the customer need this? (List the business requirements here)

Need this features because in our company, there is a lot of proxy to go on the Internet and some of these proxies need an authentication.
The Openshift Enterprise v3 product is here deploys on the Internet.
      
5. How would the customer like to achieve this? (List the functional requirements here)

Have a command line with following options : 
oc login -u username -p password --proxyurl proxyurl --proxyusername proxyusername --proxy_password proxypassword --server master_url
      
6. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.  

Install or have a proxy that need authentication to go to the Internet

7. Is there already an existing RFE upstream or in Red Hat Bugzilla?  

No

8. Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL5, RHEL6)?

Openshift Enterprise 3.2.X oc 3.2.X
      
9. Is the sales team involved in this request and do they have any additional input? 

No
      
10. List any affected packages or components.  

oc command line
      
11. Would the customer be able to assist in testing this functionality if implemented?  

yes

Comment 2 Brenton Leanhardt 2016-01-26 13:52:40 UTC
You should be able to set http_proxy and https_proxy variable when using 'oc'.  See https://bugzilla.redhat.com/show_bug.cgi?id=1241045#c25. If I'm misunderstanding this request please let me know.

Comment 6 Dan McPherson 2016-04-12 22:18:31 UTC
@mbarrett Do you think we should close the remaining request or carry it on our backlog?

Comment 8 Fabiano Franz 2016-04-22 15:44:34 UTC
Yes, special characters are supported. 

Relying on HTTP_PROXY, HTTPS_PROXY and NO_PROXY env vars is the default solution for proxy support in most command line tools. Adding proxy auth ahead on 'oc login' and proxy sessions with CNTLM or something similar is probably doable, but as mentioned probably not very high in the list of priorities. 

If we want to move on with this, it must be turned into a Trello card in our backlog which will then be prioritized.


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