Skip to content
Commit e4dfa34a authored by liuyan's avatar liuyan Committed by Sheng Yang
Browse files

Change kubeconfig priority

The priority of kubeconfig would be:
    1. Command args. We could specify the --kubeconfig.
    2. ENV. We read from RecommendedConfigPathEnvVar.
    3. In-cluster.
    4. Recommended. We got by RecommendedHomeDir and RecommendedFileName, which would be ~/.kube/config.
parent 1c34d7a2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment