• Kubernetes Submit Queue's avatar
    Merge pull request #44570 from liggitt/namespace-icc · fa750c02
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Explicit namespace from kubeconfig should override in-cluster config
    
    Fixes #43662 
    
    If an explicitly specified namespace is read from a kubeconfig file, we should not fall back to in-cluster config
    
    ```release-note
    kubectl commands run inside a pod using a kubeconfig file now use the namespace specified in the kubeconfig file, instead of using the pod namespace. If no kubeconfig file is used, or the kubeconfig does not specify a namespace, the pod namespace is still used as a fallback.
    ```
    fa750c02
Name
Last commit
Last update
..
src/k8s.io Loading commit data...
README.md Loading commit data...
copy.sh Loading commit data...
godeps-json-updater.go Loading commit data...
prime-apimachinery.sh Loading commit data...