I'd like to use kubectl with only jsonpath to obtain the current cluster address. I've tried the following, and many permutations of it, but this doesn't seem to work.
kubectl config view -o jsonpath='{.clusters[?($.current-context)].cluster.server}'
Is this possible using only jsonpath?