diff --git a/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/apps-backup.yaml b/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/apps-backup.yaml index 1df67782c..cbdf257eb 100644 --- a/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/apps-backup.yaml +++ b/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/apps-backup.yaml @@ -15,7 +15,7 @@ spec: query Find($src: String!, $targetGroup: String!, $targetKind: String!) { find(oid: $src) { backup_via(group: "core.kubestash.com", kind: "BackupConfiguration") { - refs: source(group: $targetGroup, kind: $targetKind) { + refs: offshoot(group: $targetGroup, kind: $targetKind) { namespace name } diff --git a/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/kubedb-backup.yaml b/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/kubedb-backup.yaml index 21ae61542..68628a8ca 100644 --- a/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/kubedb-backup.yaml +++ b/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/kubedb-backup.yaml @@ -15,7 +15,7 @@ spec: query Find($src: String!, $targetGroup: String!, $targetKind: String!) { find(oid: $src) { backup_via(group: "core.kubestash.com", kind: "BackupConfiguration") { - refs: source(group: $targetGroup, kind: $targetKind) { + refs: offshoot(group: $targetGroup, kind: $targetKind) { namespace name }