-
I've already set backupTarget to apiVersion: v1
kind: Secret
metadata:
name: longhorn-r2-backups
namespace: longhorn-system
type: Opaque
stringData:
AWS_ACCESS_KEY_ID: redacted
AWS_ENDPOINTS: redacted
AWS_SECRET_ACCESS_KEY: redacted But it's giving me Or is Cloudflare R2 unsupported? How to configure this properly? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Ok. I managed to get it working: Create apiVersion: v1
kind: Secret
metadata:
name: longhorn-r2-backups
namespace: longhorn-system
type: Opaque
stringData:
AWS_ACCESS_KEY_ID: YOUR_CF_R2_ACCESS_KEY
AWS_ENDPOINTS: https://<CF_ACCOUNT_ID>.r2.cloudflarestorage.com # or via jurisdiction-specific endpoint https://<CF_ACCOUNT_ID>.r2.cloudflarestorage.com
AWS_SECRET_ACCESS_KEY: YOUR_CF_R2_SECRET_ACCESS_KEY Check this documentation for more details Then:
|
Beta Was this translation helpful? Give feedback.
Ok. I managed to get it working:
Create
longhorn-r2-backups
secret with this data:Check this documentation for more details
Then:
backupTargetCredentialSecret
option in Longhorn tolonghorn-r2-backups
backupTarget
to"s3://<cf-r2-bucket-name>@auto/<path>"
(auto
is necessary)