Unified context discovery

This commit is contained in:
Simon Westcott 2017-05-12 09:05:02 +01:00
parent d04543ffef
commit 8c6cf84801

View File

@ -40,8 +40,7 @@ current_context() {
}
get_contexts() {
kubectl config view \
-o=jsonpath='{range .contexts[*].name}{@}{"\n"}{end}'
kubectl config get-contexts --output=name
}
list_contexts() {