mirror of
https://github.com/openshift/community.okd.git
synced 2026-03-27 03:13:08 +00:00
fix kubeconfig flag for newer versions (#142)
backwards compatible change: ``` > podman run -it --rm openshift/origin-cli:v3.11.0 oc --kubeconfig Error: flag needs an argument: --kubeconfig ``` Signed-off-by: Brady Pratt <bpratt@redhat.com>
This commit is contained in:
@@ -155,7 +155,7 @@ CONNECTION_TRANSPORT = 'oc'
|
||||
CONNECTION_OPTIONS = {
|
||||
'oc_container': '-c',
|
||||
'oc_namespace': '-n',
|
||||
'oc_kubeconfig': '--config',
|
||||
'oc_kubeconfig': '--kubeconfig',
|
||||
'oc_context': '--context',
|
||||
'oc_host': '--server',
|
||||
'client_cert': '--client-certificate',
|
||||
|
||||
Reference in New Issue
Block a user