get kubernetes secret data code example Example: get kubernetes secret data kubectl get secrets/config -n namespace1 -o jsonpath='{.data}'