From a5f6c53d4f9633f69f1a4bdb14f7b2722731ff3a Mon Sep 17 00:00:00 2001 From: Tamal Saha Date: Mon, 11 Mar 2024 22:53:58 -0700 Subject: [PATCH] Add kubestash support Signed-off-by: Tamal Saha --- go.mod | 2 +- go.sum | 4 +- .../v1alpha1/backupbatches.yaml | 18 ++++ .../v1alpha1/backupblueprints.yaml | 18 ++++ .../v1alpha1/backupconfigurations.yaml | 51 +++++++++++ .../v1alpha1/hooktemplates.yaml | 18 ++++ .../v1alpha1/kubedb-backup.yaml | 82 +++++++++++++++++ .../v1alpha1/restoresessions.yaml | 18 ++++ .../addons.kubestash.com/v1alpha1/addons.yaml | 10 ++ .../batch/v1/cronjobs.yaml | 15 +++ .../v1alpha1/backupblueprints.yaml | 21 +++++ .../v1alpha1/backupconfigurations.yaml | 91 +++++++++++++++++++ .../v1alpha1/backupsessions.yaml | 8 ++ .../v1alpha1/restoresessions.yaml | 73 +++++++++++++++ .../v1alpha1/backupstorages.yaml | 9 ++ .../v1alpha1/repositories.yaml | 89 ++++++++++++++++++ .../v1alpha1/snapshots.yaml | 18 ++++ .../v1alpha1/backupbatches.yaml | 18 ++++ .../v1alpha1/backupblueprints.yaml | 18 ++++ .../v1alpha1/backupconfigurations.yaml | 24 +++++ .../v1alpha1/backupsessions.yaml | 33 +++++++ .../v1alpha1/hooktemplates.yaml | 18 ++++ .../v1alpha1/restoresessions.yaml | 18 ++++ .../kubedb.com/v1alpha2/elasticsearches.yaml | 8 ++ .../kubedb.com/v1alpha2/etcds.yaml | 8 ++ .../v1alpha2/kubedb/elasticsearches.yaml | 8 ++ .../kubedb.com/v1alpha2/kubedb/mariadbs.yaml | 8 ++ .../v1alpha2/kubedb/memcacheds.yaml | 13 +++ .../kubedb.com/v1alpha2/kubedb/mongodbs.yaml | 8 ++ .../kubedb.com/v1alpha2/kubedb/mysqls.yaml | 8 ++ .../v1alpha2/kubedb/postgreses.yaml | 8 ++ .../kubedb.com/v1alpha2/kubedb/redises.yaml | 8 ++ .../kubedb.com/v1alpha2/mariadbs.yaml | 8 ++ .../kubedb.com/v1alpha2/memcacheds.yaml | 8 ++ .../kubedb.com/v1alpha2/mongodbs.yaml | 8 ++ .../kubedb.com/v1alpha2/mysqls.yaml | 8 ++ .../kubedb.com/v1alpha2/perconaxtradbs.yaml | 8 ++ .../kubedb.com/v1alpha2/postgreses.yaml | 8 ++ .../kubedb.com/v1alpha2/redises.yaml | 8 ++ .../v1alpha1/backupstorages.yaml | 44 +++++++++ .../v1alpha1/repositories.yaml | 44 +++++++++ .../v1alpha1/retentionpolicies.yaml | 33 +++++++ .../v1alpha1/snapshots.yaml | 44 +++++++++ vendor/modules.txt | 2 +- 44 files changed, 970 insertions(+), 4 deletions(-) create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/backupbatches.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/backupblueprints.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/backupconfigurations.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/hooktemplates.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/kubedb-backup.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/restoresessions.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/core.kubestash.com/v1alpha1/backupbatches.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/core.kubestash.com/v1alpha1/backupblueprints.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/core.kubestash.com/v1alpha1/backupconfigurations.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/core.kubestash.com/v1alpha1/backupsessions.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/core.kubestash.com/v1alpha1/hooktemplates.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/core.kubestash.com/v1alpha1/restoresessions.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/storage.kubestash.com/v1alpha1/backupstorages.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/storage.kubestash.com/v1alpha1/repositories.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/storage.kubestash.com/v1alpha1/retentionpolicies.yaml create mode 100644 vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/storage.kubestash.com/v1alpha1/snapshots.yaml diff --git a/go.mod b/go.mod index 4f86cbb39c..29e655b6e2 100644 --- a/go.mod +++ b/go.mod @@ -48,7 +48,7 @@ require ( kmodules.xyz/custom-resources v0.29.1 kmodules.xyz/go-containerregistry v0.0.12 kmodules.xyz/monitoring-agent-api v0.29.0 - kmodules.xyz/resource-metadata v0.18.2-0.20240308063426-55b6bfc539a9 + kmodules.xyz/resource-metadata v0.18.2-0.20240312054834-7f4fd865b2ce kmodules.xyz/resource-metrics v0.29.1 kmodules.xyz/sets v0.29.0 kubeops.dev/falco-ui-server v0.0.3 diff --git a/go.sum b/go.sum index 4842e66dd4..0da1a4700d 100644 --- a/go.sum +++ b/go.sum @@ -3488,8 +3488,8 @@ kmodules.xyz/monitoring-agent-api v0.29.0 h1:gpFl6OZrlMLb/ySMHdREI9EwGtnJ91oZBn9 kmodules.xyz/monitoring-agent-api v0.29.0/go.mod h1:iNbvaMTgVFOI5q2LJtGK91j4Dmjv4ZRiRdasGmWLKQI= kmodules.xyz/offshoot-api v0.29.0 h1:GHLhxxT9jU1N8+FvOCCeJNyU5g0duYS46UGrs6AHNLY= kmodules.xyz/offshoot-api v0.29.0/go.mod h1:5NxhBblXoDHWStx9HCDJR2KFTwYjEZ7i1Id3jelIunw= -kmodules.xyz/resource-metadata v0.18.2-0.20240308063426-55b6bfc539a9 h1:NxTZYyzeSnt2uAQOUz+2Cpkl9kwlaYjoyLeOb/OUBuU= -kmodules.xyz/resource-metadata v0.18.2-0.20240308063426-55b6bfc539a9/go.mod h1:Vb2bFCOX4uz2TsRRMzTkUqFWWOjJ261lY8Hs2HWgzh4= +kmodules.xyz/resource-metadata v0.18.2-0.20240312054834-7f4fd865b2ce h1:1rRGXwMp9bVeLhxHBcxbvrdrZitKg+sWqn18ZnM0oxQ= +kmodules.xyz/resource-metadata v0.18.2-0.20240312054834-7f4fd865b2ce/go.mod h1:Vb2bFCOX4uz2TsRRMzTkUqFWWOjJ261lY8Hs2HWgzh4= kmodules.xyz/resource-metrics v0.29.1 h1:gP4SNosdDGFImpne52mnQtHacmnllYkTMcYL//p/ltM= kmodules.xyz/resource-metrics v0.29.1/go.mod h1:OuG/QobZ7o8GFHl/u3lqaUR0fDZDegxtV8Vdh+MNBD4= kmodules.xyz/sets v0.29.0 h1:ZX/qOECzUob95JhhRtngJElHSlJ1UNNdwK4hTEy+nl0= diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/backupbatches.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/backupbatches.yaml new file mode 100644 index 0000000000..4c1763d376 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/backupbatches.yaml @@ -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 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/backupblueprints.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/backupblueprints.yaml new file mode 100644 index 0000000000..62a8c1ca0b --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/backupblueprints.yaml @@ -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 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/backupconfigurations.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/backupconfigurations.yaml new file mode 100644 index 0000000000..6e3f739438 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/backupconfigurations.yaml @@ -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 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/hooktemplates.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/hooktemplates.yaml new file mode 100644 index 0000000000..a077ac35fb --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/hooktemplates.yaml @@ -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 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/kubedb-backup.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/kubedb-backup.yaml new file mode 100644 index 0000000000..21ae615426 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/kubedb-backup.yaml @@ -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 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/restoresessions.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/restoresessions.yaml new file mode 100644 index 0000000000..3cd3912a83 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceblockdefinitions/core.kubestash.com/v1alpha1/restoresessions.yaml @@ -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 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/addons.kubestash.com/v1alpha1/addons.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/addons.kubestash.com/v1alpha1/addons.yaml index 92dbd08206..2697618a9f 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/addons.kubestash.com/v1alpha1/addons.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/addons.kubestash.com/v1alpha1/addons.yaml @@ -9,6 +9,16 @@ metadata: k8s.io/version: v1alpha1 name: addons.kubestash.com-v1alpha1-addons spec: + connections: + - labels: + - source + references: + - '{range .spec.backupTasks[*]}{.function}{"\n"}{end}' + - '{range .spec.restoreTasks[*]}{.function}{"\n"}{end}' + target: + apiVersion: addons.kubestash.com/v1alpha1 + kind: Function + type: MatchRef resource: group: addons.kubestash.com kind: Addon diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/batch/v1/cronjobs.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/batch/v1/cronjobs.yaml index eed08fba97..5e57e10a1d 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/batch/v1/cronjobs.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/batch/v1/cronjobs.yaml @@ -9,6 +9,21 @@ metadata: k8s.io/version: v1 name: batch-v1-cronjobs spec: + connections: + - labels: + - offshoot + level: Controller + target: + apiVersion: core.kubestash.com/v1alpha1 + kind: BackupConfiguration + type: OwnedBy + - labels: + - offshoot + level: Controller + target: + apiVersion: stash.appscode.com/v1beta1 + kind: BackupConfiguration + type: OwnedBy resource: group: batch kind: CronJob diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/core.kubestash.com/v1alpha1/backupblueprints.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/core.kubestash.com/v1alpha1/backupblueprints.yaml index 624d9322d5..c9cd76eb0b 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/core.kubestash.com/v1alpha1/backupblueprints.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/core.kubestash.com/v1alpha1/backupblueprints.yaml @@ -9,6 +9,27 @@ metadata: k8s.io/version: v1alpha1 name: core.kubestash.com-v1alpha1-backupblueprints spec: + connections: + - labels: + - policy + namespace: + path: metadata.namespace + references: + - '{range .spec.backupConfigurationTemplate.backends[*]}{.retentionPolicy.name}{"\n"}{end}' + target: + apiVersion: storage.kubestash.com/v1alpha1 + kind: RetentionPolicy + type: MatchRef + - labels: + - storage + namespace: + path: metadata.namespace + references: + - '{range .spec.backupConfigurationTemplate.backends[*]}{.storageRef.name}{"\n"}{end}' + target: + apiVersion: storage.kubestash.com/v1alpha1 + kind: RetentionPolicy + type: MatchRef resource: group: core.kubestash.com kind: BackupBlueprint diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/core.kubestash.com/v1alpha1/backupconfigurations.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/core.kubestash.com/v1alpha1/backupconfigurations.yaml index 92da828591..f8039d552d 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/core.kubestash.com/v1alpha1/backupconfigurations.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/core.kubestash.com/v1alpha1/backupconfigurations.yaml @@ -9,6 +9,97 @@ metadata: k8s.io/version: v1alpha1 name: core.kubestash.com-v1alpha1-backupconfigurations spec: + connections: + - labels: + - storage + namespace: + path: metadata.namespace + references: + - '{range .spec.backends[*]}{.storageRef.name},{.storageRef.name}{"\n"}{end}' + target: + apiVersion: storage.kubestash.com/v1alpha1 + kind: BackupStorage + type: MatchRef + - labels: + - policy + references: + - '{range .spec.backends[*]}{.retentionPolicy.name},{.retentionPolicy.namespace}{"\n"}{end}' + target: + apiVersion: storage.kubestash.com/v1alpha1 + kind: RetentionPolicy + type: MatchRef + - labels: + - backup_via + references: + - '{.spec.target.name},{.spec.target.namespace},{.spec.target.kind},{.spec.target.apiGroup}' + target: + apiVersion: kubedb.com/v1alpha2 + kind: Postgres + type: MatchRef + - labels: + - backup_via + references: + - '{.spec.target.name},{.spec.target.namespace},{.spec.target.kind},{.spec.target.apiGroup}' + target: + apiVersion: kubedb.com/v1alpha2 + kind: Redis + type: MatchRef + - labels: + - backup_via + references: + - '{.spec.target.name},{.spec.target.namespace},{.spec.target.kind},{.spec.target.apiGroup}' + target: + apiVersion: kubedb.com/v1alpha2 + kind: Elasticsearch + type: MatchRef + - labels: + - backup_via + references: + - '{.spec.target.name},{.spec.target.namespace},{.spec.target.kind},{.spec.target.apiGroup}' + target: + apiVersion: kubedb.com/v1alpha2 + kind: Kafka + type: MatchRef + - labels: + - backup_via + references: + - '{.spec.target.name},{.spec.target.namespace},{.spec.target.kind},{.spec.target.apiGroup}' + target: + apiVersion: kubedb.com/v1alpha2 + kind: MariaDB + type: MatchRef + - labels: + - backup_via + references: + - '{.spec.target.name},{.spec.target.namespace},{.spec.target.kind},{.spec.target.apiGroup}' + target: + apiVersion: kubedb.com/v1alpha2 + kind: MongoDB + type: MatchRef + - labels: + - backup_via + references: + - '{.spec.target.name},{.spec.target.namespace},{.spec.target.kind},{.spec.target.apiGroup}' + target: + apiVersion: kubedb.com/v1alpha2 + kind: MySQL + type: MatchRef + - labels: + - backup_via + references: + - '{.spec.target.name},{.spec.target.namespace},{.spec.target.kind},{.spec.target.apiGroup}' + target: + apiVersion: kubedb.com/v1alpha2 + kind: PerconaXtraDB + type: MatchRef + - labels: + - backup_via + references: + - '{.spec.target.name},{.spec.target.namespace},{.spec.target.kind},{.spec.target.apiGroup}' + target: + apiVersion: kubedb.com/v1alpha2 + kind: RedisSentinel + type: MatchRef resource: group: core.kubestash.com kind: BackupConfiguration diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/core.kubestash.com/v1alpha1/backupsessions.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/core.kubestash.com/v1alpha1/backupsessions.yaml index 90d140966f..195c966210 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/core.kubestash.com/v1alpha1/backupsessions.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/core.kubestash.com/v1alpha1/backupsessions.yaml @@ -9,6 +9,14 @@ metadata: k8s.io/version: v1alpha1 name: core.kubestash.com-v1alpha1-backupsessions spec: + connections: + - labels: + - source + level: Controller + target: + apiVersion: core.kubestash.com/v1alpha1 + kind: BackupConfiguration + type: OwnedBy resource: group: core.kubestash.com kind: BackupSession diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/core.kubestash.com/v1alpha1/restoresessions.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/core.kubestash.com/v1alpha1/restoresessions.yaml index 8ceb8f9878..f94747718a 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/core.kubestash.com/v1alpha1/restoresessions.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/core.kubestash.com/v1alpha1/restoresessions.yaml @@ -9,6 +9,79 @@ metadata: k8s.io/version: v1alpha1 name: core.kubestash.com-v1alpha1-restoresessions spec: + connections: + - labels: + - restore_into + references: + - '{.spec.target.name},{.spec.target.namespace},{.spec.target.kind},{.spec.target.apiGroup}' + target: + apiVersion: kubedb.com/v1alpha2 + kind: Postgres + type: MatchRef + - labels: + - restore_into + references: + - '{.spec.target.name},{.spec.target.namespace},{.spec.target.kind},{.spec.target.apiGroup}' + target: + apiVersion: kubedb.com/v1alpha2 + kind: Redis + type: MatchRef + - labels: + - restore_into + references: + - '{.spec.target.name},{.spec.target.namespace},{.spec.target.kind},{.spec.target.apiGroup}' + target: + apiVersion: kubedb.com/v1alpha2 + kind: Elasticsearch + type: MatchRef + - labels: + - restore_into + references: + - '{.spec.target.name},{.spec.target.namespace},{.spec.target.kind},{.spec.target.apiGroup}' + target: + apiVersion: kubedb.com/v1alpha2 + kind: Kafka + type: MatchRef + - labels: + - restore_into + references: + - '{.spec.target.name},{.spec.target.namespace},{.spec.target.kind},{.spec.target.apiGroup}' + target: + apiVersion: kubedb.com/v1alpha2 + kind: MariaDB + type: MatchRef + - labels: + - restore_into + references: + - '{.spec.target.name},{.spec.target.namespace},{.spec.target.kind},{.spec.target.apiGroup}' + target: + apiVersion: kubedb.com/v1alpha2 + kind: MongoDB + type: MatchRef + - labels: + - restore_into + references: + - '{.spec.target.name},{.spec.target.namespace},{.spec.target.kind},{.spec.target.apiGroup}' + target: + apiVersion: kubedb.com/v1alpha2 + kind: MySQL + type: MatchRef + - labels: + - restore_into + references: + - '{.spec.target.name},{.spec.target.namespace},{.spec.target.kind},{.spec.target.apiGroup}' + target: + apiVersion: kubedb.com/v1alpha2 + kind: PerconaXtraDB + type: MatchRef + - labels: + - restore_into + references: + - '{.spec.target.name},{.spec.target.namespace},{.spec.target.kind},{.spec.target.apiGroup}' + target: + apiVersion: kubedb.com/v1alpha2 + kind: RedisSentinel + type: MatchRef resource: group: core.kubestash.com kind: RestoreSession diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/storage.kubestash.com/v1alpha1/backupstorages.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/storage.kubestash.com/v1alpha1/backupstorages.yaml index 7e1a2e411b..ccd41d9795 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/storage.kubestash.com/v1alpha1/backupstorages.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/storage.kubestash.com/v1alpha1/backupstorages.yaml @@ -9,6 +9,15 @@ metadata: k8s.io/version: v1alpha1 name: storage.kubestash.com-v1alpha1-backupstorages spec: + connections: + - labels: + - auth_secret + references: + - '{.spec.storage.*.secretName},{.metadata.namespace}' + target: + apiVersion: v1 + kind: Secret + type: MatchRef resource: group: storage.kubestash.com kind: BackupStorage diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/storage.kubestash.com/v1alpha1/repositories.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/storage.kubestash.com/v1alpha1/repositories.yaml index 3edaff8312..aee06a66a9 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/storage.kubestash.com/v1alpha1/repositories.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/storage.kubestash.com/v1alpha1/repositories.yaml @@ -9,6 +9,95 @@ metadata: k8s.io/version: v1alpha1 name: storage.kubestash.com-v1alpha1-repositories spec: + connections: + - labels: + - storage + references: + - '{.spec.storageRef.name},{.spec.storageRef.namespace}' + target: + apiVersion: storage.kubestash.com/v1alpha1 + kind: BackupStorage + type: MatchRef + - labels: + - auth_secret + references: + - '{.spec.encryptionSecret.name},{.spec.encryptionSecret.namespace}' + target: + apiVersion: v1 + kind: Secret + type: MatchRef + - labels: + - backup_via + references: + - '{.spec.appRef.name},{.spec.appRef.namespace},{.spec.appRef.kind},{.spec.appRef.apiGroup}' + target: + apiVersion: kubedb.com/v1alpha2 + kind: Postgres + type: MatchRef + - labels: + - backup_via + references: + - '{.spec.appRef.name},{.spec.appRef.namespace},{.spec.appRef.kind},{.spec.appRef.apiGroup}' + target: + apiVersion: kubedb.com/v1alpha2 + kind: Redis + type: MatchRef + - labels: + - backup_via + references: + - '{.spec.appRef.name},{.spec.appRef.namespace},{.spec.appRef.kind},{.spec.appRef.apiGroup}' + target: + apiVersion: kubedb.com/v1alpha2 + kind: Elasticsearch + type: MatchRef + - labels: + - backup_via + references: + - '{.spec.appRef.name},{.spec.appRef.namespace},{.spec.appRef.kind},{.spec.appRef.apiGroup}' + target: + apiVersion: kubedb.com/v1alpha2 + kind: Kafka + type: MatchRef + - labels: + - backup_via + references: + - '{.spec.appRef.name},{.spec.appRef.namespace},{.spec.appRef.kind},{.spec.appRef.apiGroup}' + target: + apiVersion: kubedb.com/v1alpha2 + kind: MariaDB + type: MatchRef + - labels: + - backup_via + references: + - '{.spec.appRef.name},{.spec.appRef.namespace},{.spec.appRef.kind},{.spec.appRef.apiGroup}' + target: + apiVersion: kubedb.com/v1alpha2 + kind: MongoDB + type: MatchRef + - labels: + - backup_via + references: + - '{.spec.appRef.name},{.spec.appRef.namespace},{.spec.appRef.kind},{.spec.appRef.apiGroup}' + target: + apiVersion: kubedb.com/v1alpha2 + kind: MySQL + type: MatchRef + - labels: + - backup_via + references: + - '{.spec.appRef.name},{.spec.appRef.namespace},{.spec.appRef.kind},{.spec.appRef.apiGroup}' + target: + apiVersion: kubedb.com/v1alpha2 + kind: PerconaXtraDB + type: MatchRef + - labels: + - backup_via + references: + - '{.spec.appRef.name},{.spec.appRef.namespace},{.spec.appRef.kind},{.spec.appRef.apiGroup}' + target: + apiVersion: kubedb.com/v1alpha2 + kind: RedisSentinel + type: MatchRef resource: group: storage.kubestash.com kind: Repository diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/storage.kubestash.com/v1alpha1/snapshots.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/storage.kubestash.com/v1alpha1/snapshots.yaml index e151cdd106..431f0c6f7d 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/storage.kubestash.com/v1alpha1/snapshots.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/storage.kubestash.com/v1alpha1/snapshots.yaml @@ -9,6 +9,24 @@ metadata: k8s.io/version: v1alpha1 name: storage.kubestash.com-v1alpha1-snapshots spec: + connections: + - labels: + - storage + level: Controller + target: + apiVersion: storage.kubestash.com/v1alpha1 + kind: Repository + type: OwnedBy + - labels: + - offshoot + namespace: + path: metadata.namespace + references: + - '{.spec.backupSession}' + target: + apiVersion: core.kubestash.com/v1alpha1 + kind: BackupSession + type: MatchRef resource: group: storage.kubestash.com kind: Snapshot diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/core.kubestash.com/v1alpha1/backupbatches.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/core.kubestash.com/v1alpha1/backupbatches.yaml new file mode 100644 index 0000000000..25762d09f5 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/core.kubestash.com/v1alpha1/backupbatches.yaml @@ -0,0 +1,18 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceOutline +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: + defaultLayout: true + resource: + group: core.kubestash.com + kind: BackupBatch + name: backupbatches + scope: Namespaced + version: v1alpha1 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/core.kubestash.com/v1alpha1/backupblueprints.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/core.kubestash.com/v1alpha1/backupblueprints.yaml new file mode 100644 index 0000000000..fceae3ab38 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/core.kubestash.com/v1alpha1/backupblueprints.yaml @@ -0,0 +1,18 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceOutline +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: + defaultLayout: true + resource: + group: core.kubestash.com + kind: BackupBlueprint + name: backupblueprints + scope: Namespaced + version: v1alpha1 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/core.kubestash.com/v1alpha1/backupconfigurations.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/core.kubestash.com/v1alpha1/backupconfigurations.yaml new file mode 100644 index 0000000000..1be0246e9a --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/core.kubestash.com/v1alpha1/backupconfigurations.yaml @@ -0,0 +1,24 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceOutline +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: + defaultLayout: true + pages: + - name: Overview + sections: + - blocks: + - kind: Block + name: core.kubestash.com-v1alpha1-backupconfigurations + resource: + group: core.kubestash.com + kind: BackupConfiguration + name: backupconfigurations + scope: Namespaced + version: v1alpha1 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/core.kubestash.com/v1alpha1/backupsessions.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/core.kubestash.com/v1alpha1/backupsessions.yaml new file mode 100644 index 0000000000..5de3683840 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/core.kubestash.com/v1alpha1/backupsessions.yaml @@ -0,0 +1,33 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceOutline +metadata: + creationTimestamp: null + labels: + k8s.io/group: core.kubestash.com + k8s.io/kind: BackupSession + k8s.io/resource: backupsessions + k8s.io/version: v1alpha1 + name: core.kubestash.com-v1alpha1-backupsessions +spec: + defaultLayout: true + pages: + - name: Overview + sections: + - blocks: + - actions: + create: Never + displayMode: List + kind: Connection + name: Backup Configurations + query: + byLabel: source + type: GraphQL + ref: + group: core.kubestash.com + kind: BackupConfiguration + resource: + group: core.kubestash.com + kind: BackupSession + name: backupsessions + scope: Namespaced + version: v1alpha1 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/core.kubestash.com/v1alpha1/hooktemplates.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/core.kubestash.com/v1alpha1/hooktemplates.yaml new file mode 100644 index 0000000000..a7e4f8ce0d --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/core.kubestash.com/v1alpha1/hooktemplates.yaml @@ -0,0 +1,18 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceOutline +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: + defaultLayout: true + resource: + group: core.kubestash.com + kind: HookTemplate + name: hooktemplates + scope: Namespaced + version: v1alpha1 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/core.kubestash.com/v1alpha1/restoresessions.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/core.kubestash.com/v1alpha1/restoresessions.yaml new file mode 100644 index 0000000000..a592c5d6e9 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/core.kubestash.com/v1alpha1/restoresessions.yaml @@ -0,0 +1,18 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceOutline +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: + defaultLayout: true + resource: + group: core.kubestash.com + kind: RestoreSession + name: restoresessions + scope: Namespaced + version: v1alpha1 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/elasticsearches.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/elasticsearches.yaml index 742999889c..0a5b532ae7 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/elasticsearches.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/elasticsearches.yaml @@ -151,6 +151,14 @@ spec: - blocks: - kind: Block name: stash.appscode.com-v1-kubedb-backup + - name: Backups 2.0 + requiredFeatureSets: + opscenter-backup: + - kubestash + sections: + - blocks: + - kind: Block + name: core.kubestash.com-v1alpha1-kubedb-backup - name: Monitoring sections: - blocks: diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/etcds.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/etcds.yaml index a07321695e..bbcf34e007 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/etcds.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/etcds.yaml @@ -25,6 +25,14 @@ spec: - blocks: - kind: Block name: stash.appscode.com-v1-kubedb-backup + - name: Backups 2.0 + requiredFeatureSets: + opscenter-backup: + - kubestash + sections: + - blocks: + - kind: Block + name: core.kubestash.com-v1alpha1-kubedb-backup - name: Monitoring sections: - blocks: diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/elasticsearches.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/elasticsearches.yaml index decb138b25..bc3c196f73 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/elasticsearches.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/elasticsearches.yaml @@ -423,6 +423,14 @@ spec: opscenter-backup: - stash - stash-opscenter + - name: Backups 2.0 + requiredFeatureSets: + opscenter-backup: + - kubestash + sections: + - blocks: + - kind: Block + name: core.kubestash.com-v1alpha1-kubedb-backup - name: Security sections: - blocks: diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/mariadbs.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/mariadbs.yaml index 7d916fe8a2..8346aa3281 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/mariadbs.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/mariadbs.yaml @@ -423,6 +423,14 @@ spec: opscenter-backup: - stash - stash-opscenter + - name: Backups 2.0 + requiredFeatureSets: + opscenter-backup: + - kubestash + sections: + - blocks: + - kind: Block + name: core.kubestash.com-v1alpha1-kubedb-backup - name: Security sections: - blocks: diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/memcacheds.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/memcacheds.yaml index ddd8b23a36..212bffe18f 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/memcacheds.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/memcacheds.yaml @@ -58,6 +58,19 @@ spec: - blocks: - kind: Block name: stash.appscode.com-v1-kubedb-backup + - name: Backups 2.0 + requiredFeatureSets: + opscenter-backup: + - kubestash + sections: + - blocks: + - kind: Block + name: core.kubestash.com-v1alpha1-kubedb-backup + - name: Monitoring + sections: + - blocks: + - kind: Block + name: monitoring.coreos.com-v1-kubedb-monitoring - name: Security sections: - blocks: diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/mongodbs.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/mongodbs.yaml index ef1476fdec..cedfb374e3 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/mongodbs.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/mongodbs.yaml @@ -429,6 +429,14 @@ spec: opscenter-backup: - stash - stash-opscenter + - name: Backups 2.0 + requiredFeatureSets: + opscenter-backup: + - kubestash + sections: + - blocks: + - kind: Block + name: core.kubestash.com-v1alpha1-kubedb-backup - name: Security sections: - blocks: diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/mysqls.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/mysqls.yaml index 3ebb1a5233..571a29a712 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/mysqls.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/mysqls.yaml @@ -426,6 +426,14 @@ spec: opscenter-backup: - stash - stash-opscenter + - name: Backups 2.0 + requiredFeatureSets: + opscenter-backup: + - kubestash + sections: + - blocks: + - kind: Block + name: core.kubestash.com-v1alpha1-kubedb-backup - name: Security sections: - blocks: diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/postgreses.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/postgreses.yaml index 44e66b6814..b101cce4e2 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/postgreses.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/postgreses.yaml @@ -462,6 +462,14 @@ spec: opscenter-backup: - stash - stash-opscenter + - name: Backups 2.0 + requiredFeatureSets: + opscenter-backup: + - kubestash + sections: + - blocks: + - kind: Block + name: core.kubestash.com-v1alpha1-kubedb-backup - name: Security sections: - blocks: diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/redises.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/redises.yaml index 292cab4eba..ae6e395a01 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/redises.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/redises.yaml @@ -426,6 +426,14 @@ spec: opscenter-backup: - stash - stash-opscenter + - name: Backups 2.0 + requiredFeatureSets: + opscenter-backup: + - kubestash + sections: + - blocks: + - kind: Block + name: core.kubestash.com-v1alpha1-kubedb-backup - name: Security sections: - blocks: diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/mariadbs.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/mariadbs.yaml index 84a2d128a4..79872a107e 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/mariadbs.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/mariadbs.yaml @@ -151,6 +151,14 @@ spec: - blocks: - kind: Block name: stash.appscode.com-v1-kubedb-backup + - name: Backups 2.0 + requiredFeatureSets: + opscenter-backup: + - kubestash + sections: + - blocks: + - kind: Block + name: core.kubestash.com-v1alpha1-kubedb-backup - name: Monitoring sections: - blocks: diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/memcacheds.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/memcacheds.yaml index 643b2b7d0a..7dde4575ad 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/memcacheds.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/memcacheds.yaml @@ -57,6 +57,14 @@ spec: - blocks: - kind: Block name: stash.appscode.com-v1-kubedb-backup + - name: Backups 2.0 + requiredFeatureSets: + opscenter-backup: + - kubestash + sections: + - blocks: + - kind: Block + name: core.kubestash.com-v1alpha1-kubedb-backup - name: Monitoring sections: - blocks: diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/mongodbs.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/mongodbs.yaml index 82229f0d6f..ea62d47677 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/mongodbs.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/mongodbs.yaml @@ -151,6 +151,14 @@ spec: - blocks: - kind: Block name: stash.appscode.com-v1-kubedb-backup + - name: Backups 2.0 + requiredFeatureSets: + opscenter-backup: + - kubestash + sections: + - blocks: + - kind: Block + name: core.kubestash.com-v1alpha1-kubedb-backup - name: Monitoring sections: - blocks: diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/mysqls.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/mysqls.yaml index 0105dbbb5d..72ddadc0e8 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/mysqls.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/mysqls.yaml @@ -151,6 +151,14 @@ spec: - blocks: - kind: Block name: stash.appscode.com-v1-kubedb-backup + - name: Backups 2.0 + requiredFeatureSets: + opscenter-backup: + - kubestash + sections: + - blocks: + - kind: Block + name: core.kubestash.com-v1alpha1-kubedb-backup - name: Monitoring sections: - blocks: diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/perconaxtradbs.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/perconaxtradbs.yaml index 066a1ccc52..4da450920c 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/perconaxtradbs.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/perconaxtradbs.yaml @@ -57,6 +57,14 @@ spec: - blocks: - kind: Block name: stash.appscode.com-v1-kubedb-backup + - name: Backups 2.0 + requiredFeatureSets: + opscenter-backup: + - kubestash + sections: + - blocks: + - kind: Block + name: core.kubestash.com-v1alpha1-kubedb-backup - name: Monitoring sections: - blocks: diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/postgreses.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/postgreses.yaml index 5ad867f69f..0087cb5888 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/postgreses.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/postgreses.yaml @@ -151,6 +151,14 @@ spec: - blocks: - kind: Block name: stash.appscode.com-v1-kubedb-backup + - name: Backups 2.0 + requiredFeatureSets: + opscenter-backup: + - kubestash + sections: + - blocks: + - kind: Block + name: core.kubestash.com-v1alpha1-kubedb-backup - name: Monitoring sections: - blocks: diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/redises.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/redises.yaml index b503fa4a5d..62ea7bbd99 100644 --- a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/redises.yaml +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/kubedb.com/v1alpha2/redises.yaml @@ -151,6 +151,14 @@ spec: - blocks: - kind: Block name: stash.appscode.com-v1-kubedb-backup + - name: Backups 2.0 + requiredFeatureSets: + opscenter-backup: + - kubestash + sections: + - blocks: + - kind: Block + name: core.kubestash.com-v1alpha1-kubedb-backup - name: Monitoring sections: - blocks: diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/storage.kubestash.com/v1alpha1/backupstorages.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/storage.kubestash.com/v1alpha1/backupstorages.yaml new file mode 100644 index 0000000000..df939aee8d --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/storage.kubestash.com/v1alpha1/backupstorages.yaml @@ -0,0 +1,44 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceOutline +metadata: + creationTimestamp: null + labels: + k8s.io/group: storage.kubestash.com + k8s.io/kind: BackupStorage + k8s.io/resource: backupstorages + k8s.io/version: v1alpha1 + name: storage.kubestash.com-v1alpha1-backupstorages +spec: + defaultLayout: true + pages: + - name: Overview + sections: + - blocks: + - actions: + create: Never + displayMode: List + kind: Connection + name: Repositories + query: + byLabel: storage + type: GraphQL + ref: + group: storage.kubestash.com + kind: Repository + - actions: + create: Never + displayMode: List + kind: Connection + name: Secrets + query: + byLabel: auth_secret + type: GraphQL + ref: + group: "" + kind: Secret + resource: + group: storage.kubestash.com + kind: BackupStorage + name: backupstorages + scope: Namespaced + version: v1alpha1 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/storage.kubestash.com/v1alpha1/repositories.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/storage.kubestash.com/v1alpha1/repositories.yaml new file mode 100644 index 0000000000..608197d086 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/storage.kubestash.com/v1alpha1/repositories.yaml @@ -0,0 +1,44 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceOutline +metadata: + creationTimestamp: null + labels: + k8s.io/group: storage.kubestash.com + k8s.io/kind: Repository + k8s.io/resource: repositories + k8s.io/version: v1alpha1 + name: storage.kubestash.com-v1alpha1-repositories +spec: + defaultLayout: true + pages: + - name: Overview + sections: + - blocks: + - actions: + create: Never + displayMode: List + kind: Connection + name: Backup Storage + query: + byLabel: storage + type: GraphQL + ref: + group: storage.kubestash.com + kind: BackupStorage + - actions: + create: Never + displayMode: List + kind: Connection + name: Secret + query: + byLabel: auth_secret + type: GraphQL + ref: + group: "" + kind: Secret + resource: + group: storage.kubestash.com + kind: Repository + name: repositories + scope: Namespaced + version: v1alpha1 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/storage.kubestash.com/v1alpha1/retentionpolicies.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/storage.kubestash.com/v1alpha1/retentionpolicies.yaml new file mode 100644 index 0000000000..70f7f3af5e --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/storage.kubestash.com/v1alpha1/retentionpolicies.yaml @@ -0,0 +1,33 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceOutline +metadata: + creationTimestamp: null + labels: + k8s.io/group: storage.kubestash.com + k8s.io/kind: RetentionPolicy + k8s.io/resource: retentionpolicies + k8s.io/version: v1alpha1 + name: storage.kubestash.com-v1alpha1-retentionpolicies +spec: + defaultLayout: true + pages: + - name: Overview + sections: + - blocks: + - actions: + create: Never + displayMode: List + kind: Connection + name: Backup Configurations + query: + byLabel: policy + type: GraphQL + ref: + group: core.kubestash.com + kind: BackupConfiguration + resource: + group: storage.kubestash.com + kind: RetentionPolicy + name: retentionpolicies + scope: Namespaced + version: v1alpha1 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/storage.kubestash.com/v1alpha1/snapshots.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/storage.kubestash.com/v1alpha1/snapshots.yaml new file mode 100644 index 0000000000..384e730ae4 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceoutlines/storage.kubestash.com/v1alpha1/snapshots.yaml @@ -0,0 +1,44 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceOutline +metadata: + creationTimestamp: null + labels: + k8s.io/group: storage.kubestash.com + k8s.io/kind: Snapshot + k8s.io/resource: snapshots + k8s.io/version: v1alpha1 + name: storage.kubestash.com-v1alpha1-snapshots +spec: + defaultLayout: true + pages: + - name: Overview + sections: + - blocks: + - actions: + create: Never + displayMode: List + kind: Connection + name: Repository + query: + byLabel: storage + type: GraphQL + ref: + group: storage.kubestash.com + kind: Repository + - actions: + create: Never + displayMode: List + kind: Connection + name: Backup Session + query: + byLabel: offshoot + type: GraphQL + ref: + group: core.kubestash.com + kind: BackupSession + resource: + group: storage.kubestash.com + kind: Snapshot + name: snapshots + scope: Namespaced + version: v1alpha1 diff --git a/vendor/modules.txt b/vendor/modules.txt index 82e785bf98..b6b70fd08e 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1957,7 +1957,7 @@ kmodules.xyz/monitoring-agent-api/client ## explicit; go 1.21.5 kmodules.xyz/offshoot-api/api/v1 kmodules.xyz/offshoot-api/api/v2 -# kmodules.xyz/resource-metadata v0.18.2-0.20240308063426-55b6bfc539a9 +# kmodules.xyz/resource-metadata v0.18.2-0.20240312054834-7f4fd865b2ce ## explicit; go 1.22.0 kmodules.xyz/resource-metadata/apis/core/install kmodules.xyz/resource-metadata/apis/core/v1alpha1