Bug 1788194
| Summary: | [oc-cli]oc-config command does not work with `--kubeconfig` | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Hongkai Liu <hongkliu> | |
| Component: | oc | Assignee: | Maciej Szulik <maszulik> | |
| Status: | CLOSED ERRATA | QA Contact: | zhou ying <yinzhou> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 4.2.z | CC: | aos-bugs, hongkliu, jokerman, mfojtik, scuppett | |
| Target Milestone: | --- | |||
| Target Release: | 4.4.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | No Doc Update | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1789857 (view as bug list) | Environment: | ||
| Last Closed: | 2020-05-04 11:22:33 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: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1789857, 1789869 | |||
|
Description
Hongkai Liu
2020-01-06 16:44:58 UTC
Confirmed with latest oc client, the issue has fixed:
[zhouying@dhcp-140-138 test-bugs]$ rpm -q openshift-clients
openshift-clients-4.4.0-202001091623.git.1.670f92e.el7.x86_64
[zhouying@dhcp-140-138 test-bugs]$ oc config view
apiVersion: v1
clusters: null
contexts: null
current-context: ""
kind: Config
preferences: {}
users: null
[zhouying@dhcp-140-138 test-bugs]$ oc --kubeconfig /tmp/config.tmp config view
apiVersion: v1
clusters:
- cluster:
server: https://xxxxx:443
name: xxxxxx:443
- cluster:
insecure-skip-tls-verify: true
server: https://yyyyy:6443
name: yyyyy:6443
....
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:0581 |