jeantil commented on a change in pull request #75:
URL: https://github.com/apache/pulsar-helm-chart/pull/75#discussion_r522970428



##########
File path: scripts/pulsar/generate_token.sh
##########
@@ -111,11 +127,11 @@ function pulsar::jwt::generate_asymmetric_token() {
     trap "test -f $privatekeytmpfile && rm $privatekeytmpfile" RETURN
     tokentmpfile=$(mktemp)
     trap "test -f $tokentmpfile && rm $tokentmpfile" RETURN
-    kubectl get -n ${namespace} secrets ${secret_name} -o 
jsonpath="{.data['PRIVATEKEY']}" | base64 --decode > ${privatekeytmpfile}
+    pulsar::jwt::get_secret SECRETKEY ${tmpfile}

Review comment:
       This should have been `${privatekeytmpfile}`, fixed in  #80 through 
6cbf37029622b3f86e924ab0f3f9a8ad2873041f




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to