Skip to content

Commit

Permalink
Add new dbs layouts
Browse files Browse the repository at this point in the history
Signed-off-by: Rokibul Hasan <[email protected]>
  • Loading branch information
RokibulHasan7 committed May 9, 2024
1 parent e9df93b commit b7e07a5
Show file tree
Hide file tree
Showing 40 changed files with 4,192 additions and 0 deletions.
106 changes: 106 additions & 0 deletions hub/resourceblockdefinitions/kubedb.com/v1alpha2/druids.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
apiVersion: meta.k8s.appscode.com/v1alpha1
kind: ResourceBlockDefinition
metadata:
creationTimestamp: null
labels:
k8s.io/group: kubedb.com
k8s.io/kind: Druid
k8s.io/resource: druids
k8s.io/version: v1alpha2
name: kubedb.com-v1alpha2-druids
spec:
blocks:
- actions:
create: Never
displayMode: List
kind: Connection
name: Client Connections
query:
byLabel: connect_via
type: GraphQL
ref:
group: appcatalog.appscode.com
kind: AppBinding
- actions:
create: Never
displayMode: List
kind: Connection
name: Druid Version
query:
byLabel: catalog
type: GraphQL
ref:
group: catalog.kubedb.com
kind: DruidVersion
- actions:
create: Never
displayMode: List
kind: Connection
name: StatefulSets
query:
byLabel: offshoot
type: GraphQL
ref:
group: apps
kind: StatefulSet
- actions:
create: Never
displayMode: List
kind: Connection
name: Pods
query:
byLabel: offshoot
type: GraphQL
ref:
group: ""
kind: Pod
- actions:
create: Never
displayMode: List
kind: Connection
name: Services
query:
byLabel: exposed_by
type: GraphQL
ref:
group: ""
kind: Service
- actions:
create: Never
displayMode: List
kind: Connection
name: Secrets
query:
byLabel: config
type: GraphQL
ref:
group: ""
kind: Secret
- actions:
create: Never
displayMode: List
kind: Connection
name: PersistentVolumeClaims
query:
byLabel: storage
type: GraphQL
ref:
group: ""
kind: PersistentVolumeClaim
- actions:
create: Never
displayMode: List
kind: Connection
name: Pod Disruption Budgets
query:
byLabel: policy
type: GraphQL
ref:
group: policy
kind: PodDisruptionBudget
resource:
group: kubedb.com
kind: Druid
name: druids
scope: Namespaced
version: v1alpha2
106 changes: 106 additions & 0 deletions hub/resourceblockdefinitions/kubedb.com/v1alpha2/ferretdbs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
apiVersion: meta.k8s.appscode.com/v1alpha1
kind: ResourceBlockDefinition
metadata:
creationTimestamp: null
labels:
k8s.io/group: kubedb.com
k8s.io/kind: FerretDB
k8s.io/resource: ferretdbs
k8s.io/version: v1alpha2
name: kubedb.com-v1alpha2-ferretdbs
spec:
blocks:
- actions:
create: Never
displayMode: List
kind: Connection
name: Client Connections
query:
byLabel: connect_via
type: GraphQL
ref:
group: appcatalog.appscode.com
kind: AppBinding
- actions:
create: Never
displayMode: List
kind: Connection
name: FerretDB Version
query:
byLabel: catalog
type: GraphQL
ref:
group: catalog.kubedb.com
kind: FerretDBVersion
- actions:
create: Never
displayMode: List
kind: Connection
name: StatefulSets
query:
byLabel: offshoot
type: GraphQL
ref:
group: apps
kind: StatefulSet
- actions:
create: Never
displayMode: List
kind: Connection
name: Pods
query:
byLabel: offshoot
type: GraphQL
ref:
group: ""
kind: Pod
- actions:
create: Never
displayMode: List
kind: Connection
name: Services
query:
byLabel: exposed_by
type: GraphQL
ref:
group: ""
kind: Service
- actions:
create: Never
displayMode: List
kind: Connection
name: Secrets
query:
byLabel: config
type: GraphQL
ref:
group: ""
kind: Secret
- actions:
create: Never
displayMode: List
kind: Connection
name: PersistentVolumeClaims
query:
byLabel: storage
type: GraphQL
ref:
group: ""
kind: PersistentVolumeClaim
- actions:
create: Never
displayMode: List
kind: Connection
name: Pod Disruption Budgets
query:
byLabel: policy
type: GraphQL
ref:
group: policy
kind: PodDisruptionBudget
resource:
group: kubedb.com
kind: FerretDB
name: ferretdbs
scope: Namespaced
version: v1alpha2
106 changes: 106 additions & 0 deletions hub/resourceblockdefinitions/kubedb.com/v1alpha2/mssqlservers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
apiVersion: meta.k8s.appscode.com/v1alpha1
kind: ResourceBlockDefinition
metadata:
creationTimestamp: null
labels:
k8s.io/group: kubedb.com
k8s.io/kind: MSSQLServer
k8s.io/resource: mssqlservers
k8s.io/version: v1alpha2
name: kubedb.com-v1alpha2-mssqlservers
spec:
blocks:
- actions:
create: Never
displayMode: List
kind: Connection
name: Client Connections
query:
byLabel: connect_via
type: GraphQL
ref:
group: appcatalog.appscode.com
kind: AppBinding
- actions:
create: Never
displayMode: List
kind: Connection
name: MSSQLServer Version
query:
byLabel: catalog
type: GraphQL
ref:
group: catalog.kubedb.com
kind: MSSQLServerVersion
- actions:
create: Never
displayMode: List
kind: Connection
name: StatefulSets
query:
byLabel: offshoot
type: GraphQL
ref:
group: apps
kind: StatefulSet
- actions:
create: Never
displayMode: List
kind: Connection
name: Pods
query:
byLabel: offshoot
type: GraphQL
ref:
group: ""
kind: Pod
- actions:
create: Never
displayMode: List
kind: Connection
name: Services
query:
byLabel: exposed_by
type: GraphQL
ref:
group: ""
kind: Service
- actions:
create: Never
displayMode: List
kind: Connection
name: Secrets
query:
byLabel: config
type: GraphQL
ref:
group: ""
kind: Secret
- actions:
create: Never
displayMode: List
kind: Connection
name: PersistentVolumeClaims
query:
byLabel: storage
type: GraphQL
ref:
group: ""
kind: PersistentVolumeClaim
- actions:
create: Never
displayMode: List
kind: Connection
name: Pod Disruption Budgets
query:
byLabel: policy
type: GraphQL
ref:
group: policy
kind: PodDisruptionBudget
resource:
group: kubedb.com
kind: MSSQLServer
name: mssqlservers
scope: Namespaced
version: v1alpha2
Loading

0 comments on commit b7e07a5

Please sign in to comment.