- 
                Notifications
    You must be signed in to change notification settings 
- Fork 10
Open
Labels
Description
The scenario is like this a non admin user creates its own bucket but the plugin for that provider is missing in dpa. NABSL should fail at validation logic.
oc get nabsl -o yaml
apiVersion: v1
items:
- apiVersion: oadp.openshift.io/v1alpha1
  kind: NonAdminBackupStorageLocation
  metadata:
    creationTimestamp: "2025-03-24T12:50:52Z"
    finalizers:
    - nonadminbackupstoragelocation.oadp.openshift.io/finalizer
    generation: 1
    name: test-bsl
    namespace: test-oadp-467
    resourceVersion: "147045"
    uid: bba42e65-011e-4f69-bee4-af9a4e845300
  spec:
    backupStorageLocationSpec:
      config:
        insecureSkipTLSVerify: "true"
        profile: minio
        region: eu-gb
        s3ForcePathStyle: "true"
        s3Url: http://minio-minio.apps.oadp-115071.qe.gcp.devcluster.openshift.com
      credential:
        key: cloud
        name: cloud-credentials
      objectStorage:
        bucket: oadp115071p25tg
        prefix: velero
      provider: aws
  status:
    conditions:
    - lastTransitionTime: "2025-03-24T12:50:52Z"
      message: NonAdminBackupStorageLocation spec validation successful
      reason: BslSpecValidation
      status: "True"
      type: Accepted
    - lastTransitionTime: "2025-03-24T12:50:52Z"
      message: NonAdminBackupStorageLocationRequest approval decision set to Approve
      reason: BslSpecApproved
      status: "True"
      type: ClusterAdminApproved
    - lastTransitionTime: "2025-03-24T12:50:52Z"
      message: Secret successfully created in the OADP namespace
      reason: SecretCreated
      status: "True"
      type: SecretSynced
    - lastTransitionTime: "2025-03-24T12:50:52Z"
      message: BackupStorageLocation successfully created in the OADP namespace
      reason: BackupStorageLocationCreated
      status: "True"
      type: BackupStorageLocationSynced
    phase: Created
    veleroBackupStorageLocation:
      nacuuid: test-oadp-467-test-bsl-31f6b3c6-ede9-4a8f-b96c-fbc20cbbea7b
      name: test-oadp-467-test-bsl-31f6b3c6-ede9-4a8f-b96c-fbc20cbbea7b
      namespace: openshift-adp
      status:
        lastValidationTime: "2025-03-24T12:50:52Z"
        message: 'BackupStorageLocation "test-oadp-467-test-bsl-31f6b3c6-ede9-4a8f-b96c-fbc20cbbea7b"
          is unavailable: unable to locate ObjectStore plugin named velero.io/aws'
        phase: Unavailable
shubham-pampattiwar