Kube Util could not get api url from kubeconfig
Bug #1669788 reported by
Chung Chih, Hung
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-kubernetes |
Confirmed
|
Undecided
|
Chung Chih, Hung |
Bug Description
Kube Util could not get api url from kubeconfig when cluster name is not match with current-context
Current code flow will iterator each cluster in kube config, and then find matched name with current context. The cluster's server could not been found if cluster name is not match with current context. We should find match context name instead cluster name, and then using context's cluster name to find cluster. Finally get the cluster's server
Changed in kolla-kubernetes: | |
assignee: | nobody → Chung Chih, Hung (lyanchih) |
summary: |
- Kube Util could not get api url + Kube Util could not get api url from kubeconfig |
Changed in kolla-kubernetes: | |
status: | New → Confirmed |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/441145
Review: https:/