Open mateusoliveira43 opened 6 months ago
related issue: https://github.com/openshift/oadp-operator/issues/921
Issues go stale after 90d of inactivity.
Mark the issue as fresh by commenting /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen
.
If this issue is safe to close now please do so with /close
.
/lifecycle stale
/lifecycle frozen
Credentials are used by BackupStorageLocation (BSL) and VolumeSnapshotLocation (VSL)
controllers/registry.go
be deleted/moved topkg/credentials/credentials.go
?in
controllers/bsl.go
[ ] these functions all have duplication https://github.com/openshift/oadp-operator/blob/91e1aacf47ea2b44bafdb9d6d3c14ffee6907baf/controllers/bsl.go#L268 https://github.com/openshift/oadp-operator/blob/91e1aacf47ea2b44bafdb9d6d3c14ffee6907baf/controllers/bsl.go#L299 https://github.com/openshift/oadp-operator/blob/91e1aacf47ea2b44bafdb9d6d3c14ffee6907baf/controllers/bsl.go#L330
move it to this function https://github.com/openshift/oadp-operator/blob/91e1aacf47ea2b44bafdb9d6d3c14ffee6907baf/controllers/bsl.go#L361 (but remove secret validation from it, it already done by other part of the code)
!(dpa.Spec.Configuration.Velero.HasFeatureFlag("no-secret"))
? https://github.com/openshift/oadp-operator/blob/91e1aacf47ea2b44bafdb9d6d3c14ffee6907baf/controllers/bsl.go#L123-L127in
controllers/registry.go
api/v1alpha1/oadp_types.go
? https://github.com/openshift/oadp-operator/blob/91e1aacf47ea2b44bafdb9d6d3c14ffee6907baf/controllers/registry.go#L55docs/developer/testing/ MULTI_CLOUD_TESTING_UPDATES.md
file[ ] verify credential function should check all cases
in
controllers/validator.go
in
controllers/vsl.go
controllers/registry.go
https://github.com/openshift/oadp-operator/blob/91e1aacf47ea2b44bafdb9d6d3c14ffee6907baf/controllers/vsl.go#L18controllers/bsl.go
https://github.com/openshift/oadp-operator/blob/91e1aacf47ea2b44bafdb9d6d3c14ffee6907baf/controllers/vsl.go#L256in
pkg/credentials/credentials.go