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