-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Tamal Saha <[email protected]>
- Loading branch information
Showing
44 changed files
with
970 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...urce-metadata/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/backupbatches.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: meta.k8s.appscode.com/v1alpha1 | ||
kind: ResourceBlockDefinition | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
k8s.io/group: core.kubestash.com | ||
k8s.io/kind: BackupBatch | ||
k8s.io/resource: backupbatches | ||
k8s.io/version: v1alpha1 | ||
name: core.kubestash.com-v1alpha1-backupbatches | ||
spec: | ||
blocks: null | ||
resource: | ||
group: core.kubestash.com | ||
kind: BackupBatch | ||
name: backupbatches | ||
scope: Namespaced | ||
version: v1alpha1 |
18 changes: 18 additions & 0 deletions
18
...e-metadata/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/backupblueprints.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: meta.k8s.appscode.com/v1alpha1 | ||
kind: ResourceBlockDefinition | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
k8s.io/group: core.kubestash.com | ||
k8s.io/kind: BackupBlueprint | ||
k8s.io/resource: backupblueprints | ||
k8s.io/version: v1alpha1 | ||
name: core.kubestash.com-v1alpha1-backupblueprints | ||
spec: | ||
blocks: null | ||
resource: | ||
group: core.kubestash.com | ||
kind: BackupBlueprint | ||
name: backupblueprints | ||
scope: Namespaced | ||
version: v1alpha1 |
51 changes: 51 additions & 0 deletions
51
...tadata/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/backupconfigurations.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
apiVersion: meta.k8s.appscode.com/v1alpha1 | ||
kind: ResourceBlockDefinition | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
k8s.io/group: core.kubestash.com | ||
k8s.io/kind: BackupConfiguration | ||
k8s.io/resource: backupconfigurations | ||
k8s.io/version: v1alpha1 | ||
name: core.kubestash.com-v1alpha1-backupconfigurations | ||
spec: | ||
blocks: | ||
- actions: | ||
create: Never | ||
displayMode: List | ||
kind: Connection | ||
name: Backup Sessions | ||
query: | ||
byLabel: source | ||
type: GraphQL | ||
ref: | ||
group: core.kubestash.com | ||
kind: BackupSession | ||
- actions: | ||
create: Never | ||
displayMode: List | ||
kind: Connection | ||
name: Retention Policies | ||
query: | ||
byLabel: policy | ||
type: GraphQL | ||
ref: | ||
group: storage.kubestash.com | ||
kind: RetentionPolicy | ||
- actions: | ||
create: Never | ||
displayMode: List | ||
kind: Connection | ||
name: CronJobs | ||
query: | ||
byLabel: offshoot | ||
type: GraphQL | ||
ref: | ||
group: batch | ||
kind: CronJob | ||
resource: | ||
group: core.kubestash.com | ||
kind: BackupConfiguration | ||
name: backupconfigurations | ||
scope: Namespaced | ||
version: v1alpha1 |
18 changes: 18 additions & 0 deletions
18
...urce-metadata/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/hooktemplates.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: meta.k8s.appscode.com/v1alpha1 | ||
kind: ResourceBlockDefinition | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
k8s.io/group: core.kubestash.com | ||
k8s.io/kind: HookTemplate | ||
k8s.io/resource: hooktemplates | ||
k8s.io/version: v1alpha1 | ||
name: core.kubestash.com-v1alpha1-hooktemplates | ||
spec: | ||
blocks: null | ||
resource: | ||
group: core.kubestash.com | ||
kind: HookTemplate | ||
name: hooktemplates | ||
scope: Namespaced | ||
version: v1alpha1 |
82 changes: 82 additions & 0 deletions
82
...urce-metadata/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/kubedb-backup.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
apiVersion: meta.k8s.appscode.com/v1alpha1 | ||
kind: ResourceBlockDefinition | ||
metadata: | ||
creationTimestamp: null | ||
name: core.kubestash.com-v1alpha1-kubedb-backup | ||
spec: | ||
blocks: | ||
- actions: | ||
create: Always | ||
displayMode: List | ||
kind: Connection | ||
name: Recent Backups | ||
query: | ||
raw: |- | ||
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) { | ||
namespace | ||
name | ||
} | ||
} | ||
} | ||
} | ||
type: GraphQL | ||
ref: | ||
group: core.kubestash.com | ||
kind: BackupSession | ||
- actions: | ||
create: Always | ||
displayMode: List | ||
kind: Connection | ||
name: Recent Restores | ||
query: | ||
byLabel: restore_into | ||
type: GraphQL | ||
ref: | ||
group: core.kubestash.com | ||
kind: RestoreSession | ||
- actions: | ||
create: IfEmpty | ||
displayMode: List | ||
kind: Connection | ||
name: Backup Configuration | ||
query: | ||
byLabel: backup_via | ||
type: GraphQL | ||
ref: | ||
group: core.kubestash.com | ||
kind: BackupConfiguration | ||
- actions: | ||
create: IfEmpty | ||
displayMode: List | ||
kind: Connection | ||
name: Repository | ||
query: | ||
byLabel: backup_via | ||
type: GraphQL | ||
ref: | ||
group: storage.kubestash.com | ||
kind: Repository | ||
- actions: | ||
create: Never | ||
displayMode: List | ||
kind: Connection | ||
name: CronJobs | ||
query: | ||
raw: |- | ||
query Find($src: String!, $targetGroup: String!, $targetKind: String!) { | ||
find(oid: $src) { | ||
backup_via(group: "core.kubestash.com", kind: "BackupConfiguration") { | ||
refs: offshoot(group: $targetGroup, kind: $targetKind) { | ||
namespace | ||
name | ||
} | ||
} | ||
} | ||
} | ||
type: GraphQL | ||
ref: | ||
group: batch | ||
kind: CronJob |
18 changes: 18 additions & 0 deletions
18
...ce-metadata/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/restoresessions.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
apiVersion: meta.k8s.appscode.com/v1alpha1 | ||
kind: ResourceBlockDefinition | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
k8s.io/group: core.kubestash.com | ||
k8s.io/kind: RestoreSession | ||
k8s.io/resource: restoresessions | ||
k8s.io/version: v1alpha1 | ||
name: core.kubestash.com-v1alpha1-restoresessions | ||
spec: | ||
blocks: null | ||
resource: | ||
group: core.kubestash.com | ||
kind: RestoreSession | ||
name: restoresessions | ||
scope: Namespaced | ||
version: v1alpha1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.