pushing charts fails - encryption method issue
Hi, i'm breaking my head over this problem with chartmuseum and can't find any issues on this. i configured chartmuseum on my aws environment and everything seems fine (the url shows the welcome page, all pods have no errors) I configured a directory in my computer to serve as a repo, as instructed.
when i try to push the charts (.tgz) to the chartmuseum, i get an error:
Error: 500: InvalidArgument: The encryption method specified is not supported
status code: 400, request id: xxxx, host id: xxxx
*xxx mark sensitive data
steps i did to try and solve this:
- unpacked the .tgz files and repacked them (error still shows)
- used helm push with --force, --insecure
- tried to send the charts with curl, wput, repo update and helm push
- re-initialize the helm client
did anyone encounter this error? I ran out of ideas regarding how to fix this, any ideas would be great Thanks!
any luck? I am also facing same issue
This is caused by AWS SSE not being configured correct.
See the notes from the AWS bucket provider:
// The server-side encryption algorithm used when storing this object in Amazon
// S3 (for example, AES256, aws:kms, aws:kms:dsse).
ServerSideEncryption *string `location:"header" locationName:"x-amz-server-side-encryption" type:"string" enum:"ServerSideEncryption"`
https://docs.aws.amazon.com/sdk-for-go/api/service/s3/s3manager/
Setting STORAGE_AMAZON_SSE: aws:kms fixed this for me.