Closed lorenzo-ange closed 4 years ago
Thanks for the PR @lorenzo-ange!
From your comment is not clear to me if you were able to verify if removing that dependency fixes the problem. Can you confirm it?
Also, to automatically publish your changes, do you mind increasing the version of the package in the package.json
?
Hi @andresmgot , I confirm that this PR fixes the problem. I updated the package version in package.json and also updated the Kubeless and Kubeless Kafka versions in travis-ci configuration to make the tests pass.
Thank you, Lorenzo
Hello, when I deploy a Kubeless function with strategy: S3ZipContent, the deploy fails.
The pod goes in Init:CrashLoopBackOff status because the Kubeless prepare initContainer cannot retrieve the artifact from the bucket using the S3 presigned url.
Logs of the prepare initContainer:
The issue seems related to the CURL command in the preapre container that has the url argument with two quotes before and after the url.
Example:
Seems that shellescape in lib/strategy/s3_zip_content.js is the cause of this issue and I think it should be no more necessary because of this commit to the kubeless project.
I hope this PR could be merged to fix issues with S3ZipContent deploys. Let me know if you have any questions, comments or suggestions.
Thank you very much for your work, Lorenzo Angelini