scnzzh@zubt1:~$ kubectl get secret --namespace default my-mysqlrelease -o jsonpath="{.data.mysql-root-password}" TXlOZXZ2UGE1NXcwcmQ=scnzzh@zubt1:~$ kubectl get secret --namespace default my-mysqlrelease -o jsonpath="{.data.mysql-root-password}" | base64 --decode MyNevvPa55w0rdscnzzh@zubt1:~$
For base64 encode, see https://www.cnblogs.com/zhangzhihui/p/11882341.html .