vmware-tanzu / velero

Backup and migrate Kubernetes applications and their persistent volumes
https://velero.io
Apache License 2.0
8.42k stars 1.37k forks source link

velero CLI should automatically discover and use cacert from BSL #7730

Open kaovilai opened 2 months ago

kaovilai commented 2 months ago

Describe the problem/challenge you have

User right now may sometimes be required to pass --cacert flag during logs/downloadrequest/describe to successfully retrieve intended info.

Describe the solution you'd like

The CLI should be able to automatically find cacert info from BSL the same way velero server in cluster is able to.

Anything else you would like to add:

Environment:

Vote on this issue!

This is an invitation to the Velero community to vote on issues, you can see the project's top voted issues listed here.
Use the "reaction smiley face" up to the right of this comment to vote.

I feel it should be possible to read bsl.spec.config['cacert"] to achieve this.

If there's agreement this is a valid need, you can assign me this issue.