adding sort to kube config find
This commit is contained in:
@@ -23,6 +23,6 @@ EOF
|
||||
|
||||
cat <<'EOF'>~/.bashrc.d/kubectl_config
|
||||
if [[ -d "$HOME/.kube/config.d" ]]; then
|
||||
export KUBECONFIG=$(find ~/.kube/config.d/ -type f | tr '\n' ':')
|
||||
export KUBECONFIG=$(find ~/.kube/config.d/ -type f | sort | tr '\n' ':')
|
||||
fi
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user