Bug 1383518

Summary: Please Shorten 'oc login --insecure-skip-tls-verify=true'
Product: OpenShift Container Platform Reporter: Nick Schuetz <nschuetz>
Component: ocAssignee: Fabiano Franz <ffranz>
Status: CLOSED WONTFIX QA Contact: Xingxing Xia <xxia>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: aos-bugs, jliggitt, jokerman, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-11 17:25:58 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 Nick Schuetz 2016-10-10 22:10:43 UTC
Description of problem:

The `oc login --insecure-skip-tls-verify=true` switch is hard to remember and lengthy.

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

3.3.0.34

How reproducible:

Always

Steps to Reproduce:
1. Access a certificate that is deemed insecure by the oc client on the OpenShift Master API.
2.
3.

Actual results:


Expected results:

Perhaps shorten it to 'oc login --insecure' and/or '-i'

Additional info:

Comment 1 Fabiano Franz 2016-10-11 17:25:58 UTC
Although we understand that bypassing the TLS verification is common in local or development environments, that's not something we would like to encourage. Users must be aware of the implications and the fact that's used as a workaround, not a primary path. Command line completions might help to address the lengthy/hard to remember issue.