Open mymasse opened 2 years ago
To support this, we need to handle the insecureSkipTLSVerify flag in the plugin code: https://github.com/vmware-tanzu/velero-plugin-for-vsphere/blob/v1.4.0/pkg/utils/utils.go#L345.
This feels like a not uncommon use-case, given that backup storage is often an on-premise task. What are the odds of this being handled in the near future?
Describe the bug
We use a private S3 storage appliance which doesn't have a valid TLS certificate. In our AWS we have set the
insecureSkipTLSVerify
config value to 'true'. However when the vSphere plugin attempts to upload snapshots to S3 if fails withx509: certificate is not valid for any names, but wanted to match
. Looking at theBackupRepository
andBackupRespositoryClaim
CR we see that that flag is not brought over.To Reproduce
On a private S3 with an invalid TLS certificate with a BackupStorageLocation like this:
Expected behavior
Backup should be succesful
Troubleshooting Information
Chart version: 2.29.4 Velero server version: 1.8.1 AWS plugin version: v1.4.1 vSphere plugin version: v1.3.1 Kubernetes: Vanilla Kubernetes version: 1.21.5+rke2r2 vSphere CSI driver: v2.2.1