-
Bug
-
Resolution: Done
-
Blocker
-
OADP 1.0.3
-
None
-
None
-
False
-
-
False
-
Passed
-
0
-
0
-
Very Likely
-
0
-
None
-
Unset
-
Unknown
-
Yes
Problem description: DPA fails to reconcile with any custom name on GCP with the following error:
Deployment.apps "oadp-ts-dpa-1-gcp-registry" is invalid: spec.template.spec.containers[0].volumeMounts[0].name: Not found: "bsl-cloud-credentials-gcp"
Steps to reproduce:
Create custom secret bsl-cloud-credentials-gcp, and DPA as follows:
cat <<EOF | oc create -f - apiVersion: v1 items: - apiVersion: oadp.openshift.io/v1alpha1 kind: DataProtectionApplication metadata: name: ts-dpa namespace: openshift-adp spec: backupLocations: - velero: credential: key: cloud name: bsl-cloud-credentials-gcp default: true objectStorage: bucket: oadpbucket105928 prefix: velero-e2e-ddd9abc3-dbfa-11ec-8141-902e163f806c provider: gcp configuration: restic: podConfig: resourceAllocations: {} velero: defaultPlugins: - openshift - kubevirt - gcp podDnsConfig: {} snapshotLocations: - velero: config: project: openshift-qe snapshotLocation: us-central1 provider: gcp kind: List metadata: resourceVersion: "" selfLink: "" EOF
Issue is not reproduced on 1.0.2
- is related to
-
OADP-708 Validation should not require default secret name if VSL is not specified.
-
- Closed
-
- links to