-
Notifications
You must be signed in to change notification settings - Fork 237
Open
Labels
kind/bugSomething isn't workingSomething isn't working
Description
Describe the bug
I would like to use AWS IAM auth using IRSA to define BackupRepo
but BackupRepo
resource is not allowing to override env_auth
configuration for AWS auth which allows to use AWS IAM authentication. Allow to overriding this configuration.
Most like because env_auth
is hard-corded here
To Reproduce
Create a backup repo with env_auth = true
. BackupRepo Pre-check fails even after using IAM role with sufficient permissions.
apiVersion: dataprotection.kubeblocks.io/v1alpha1
kind: BackupRepo
metadata:
name: kubeblocks-backuprepo-test
namespace: kb-system
spec:
accessMethod: Tool
config:
bucket: kubeblocks-backup-repo
endpoint: ''
env_auth: 'true'
region: us-east-1
....
pvReclaimPolicy: Retain
storageProviderRef: s3
volumeCapacity: 100Gi
Expected behavior
env_auth: 'true'
config value should be passed on rclone to allow AWS IAM instead of forcing to use self managed secret keys
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingSomething isn't working