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:
jbpratt
2022-03-04 10:21:54 -06:00
committed by GitHub
parent 8aeffa3872
commit 80e2692db2

View File

@@ -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',