You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.
What happened:
We are using MINIO instead of S3 to store the zip functions.
The initContainer unzip:latest is getting an error when trying to curl MINIO: curl: SSL certificate problem: unable to get local issuer certificate
This is because is signed with our internal CA, so the initContainer fails exactly on this line:
FEATURE REQUEST: Add custom CA certificates
What happened:
We are using MINIO instead of S3 to store the zip functions.
The initContainer unzip:latest is getting an error when trying to curl MINIO:
curl: SSL certificate problem: unable to get local issuer certificate
This is because is signed with our internal CA, so the initContainer fails exactly on this line:
pkg/utils/kubelessutil.go
prepareCommand = appendToCommand(prepareCommand, fmt.Sprintf("curl '%s' -L --silent --output %s", function, fromURLFile))
Basically we have 3 options:
curl -k
(bad approach)The problem with Option 3 is that it's not dynamic. If a change the S3 endpoint I'll have to recreate the docker image.
How can we achieve the Option 2 in a proper way?
How to reproduce it:
cat serverless.yml
Environment:
The text was updated successfully, but these errors were encountered: