full-fireman-68072
10/29/2022, 1:37 AMsticky-summer-13450
10/29/2022, 4:00 PMlonghorn-system
namespace in the kubernetes cluster.
In that secret you'll find the AWS_ENDPOINTS
which will point to the URL of your MinIO server, and it's likely that the secret will say that the VIRTUAL_HOSTED_STYLE
is false
meaning the bucket name from the s3:// URL needs to be appended the path and not prepended to the hostname.
You'll also find the AWS_ACCESS_KEY_ID
and AWS_SECRET_ACCESS_KEY
to access the bucket, and a set of HTTP proxy settings required to access the end-point.kubectl
to just get the URL of the storage...
$ kubectl get secret $(kubectl get <http://BackupTarget.longhorn.io/default|BackupTarget.longhorn.io/default> -n longhorn-system -o jsonpath='{.spec.credentialSecret}') -o jsonpath='{.data.AWS_ENDPOINTS}' -n longhorn-system | base64 -d
full-fireman-68072
10/30/2022, 4:00 AM