- Environment:K8S-v1.28.15
- kubeblock:v1.0.0
- s3-compatible provider: ceph-rgw
Hi @shanshanying ,
I found kbcli create backup repo has problem with s3-compatible provider.
have tried following:
#kbcli backuprepo create s3-backuprepo --provider=s3-compatible --access-key-id=xxx --bucket=kubeblocks --endpoint=https://s3.stanley.wang --secret-access-key=xxx --force-path-style=true --insecure-skip-tls-verify=true
and
#kbcli backuprepo create s3-backuprepo --provider=s3-compatible --access-key-id=xxx --bucket=kubeblocks --endpoint=https://s3.stanley.wang --secret-access-key=xxx --force-path-style=true --insecure=true
The pre-check job failed with:
Error: push to "/precheck.txt": RequestError: send request failed
caused by: Put"https://s3.stanley.wang/kubeblocks": tls:failed to verify certificate: x509: certificate signed by unknown authority
BTW the tls certificate is self signed.
I've tried the same storage in http protocol and the pre-check successed.
Therefor I strongly believe that kbcli backuprepo create --insecure and --insecure-skip-tls-verify options didn't take effect at all.
Looking forward to your further reply.
Regards.
Hi @shanshanying ,
I found kbcli create backup repo has problem with s3-compatible provider.
have tried following:
The pre-check job failed with:
BTW the tls certificate is self signed.
I've tried the same storage in http protocol and the pre-check successed.
Therefor I strongly believe that
kbcli backuprepo create--insecure and --insecure-skip-tls-verify options didn't take effect at all.Looking forward to your further reply.
Regards.