Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ require (
k8s.io/klog/v2 v2.130.1
k8s.io/kubectl v0.34.3
kmodules.xyz/client-go v0.34.3
kmodules.xyz/resource-metadata v0.46.2-0.20260618175704-776d5e8169b1
kmodules.xyz/resource-metadata v0.47.0
kmodules.xyz/resource-validator v0.34.0
kubedb.dev/installer v0.17.2-0.20260516084925-39a48b5f7aa4
kubevault.dev/installer v0.4.0-beta.0.0.20260228173104-0e17739f4c4b
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -851,8 +851,8 @@ kmodules.xyz/go-containerregistry v0.0.15 h1:PRY5FDOzb6u23KOulQ4SWNdeUkBKmezLyJX
kmodules.xyz/go-containerregistry v0.0.15/go.mod h1:rO0DEbYYEu1BfVcZ1pXV+3RgzVXr/k5hXcO+BQYVVDI=
kmodules.xyz/offshoot-api v0.34.0 h1:HnOOp8FrCjTWjtNApRDo6Ahe79tOlLrJmyye4xxO4Kk=
kmodules.xyz/offshoot-api v0.34.0/go.mod h1:F+B59yYw4CZJ4uD4xu6C+mMLzIXUtuH7E+SbDICl9jE=
kmodules.xyz/resource-metadata v0.46.2-0.20260618175704-776d5e8169b1 h1:8koy0rLv+8BvC1FiTPD+rxye9XLCSulC6a9tokbGvYE=
kmodules.xyz/resource-metadata v0.46.2-0.20260618175704-776d5e8169b1/go.mod h1:ejz7IVjhqmj6VH8CVfprocJK/IM++OeunrfUp51ZrIw=
kmodules.xyz/resource-metadata v0.47.0 h1:lBZrF+akK7xnwVtV5185W5HyhhFBx07ln4IzwzebFAI=
kmodules.xyz/resource-metadata v0.47.0/go.mod h1:ejz7IVjhqmj6VH8CVfprocJK/IM++OeunrfUp51ZrIw=
kmodules.xyz/resource-metrics v0.34.0 h1:cqscgTx3PONxHj6PIySK3sTlKKv8iKTGzRd+S6YSwXg=
kmodules.xyz/resource-metrics v0.34.0/go.mod h1:R34IKtp5+NqcQz7AQJheBJK6Iem0LqrCbm/55Mn+ECQ=
kmodules.xyz/resource-validator v0.34.0 h1:n47FJ99HtvB/0SZpbltCDfwCP2tVmksWhI6ThWZt24o=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,15 @@ spec:
- Solr
- Medusa
- ClickHouseBackup
- Neo4jAdmin
- enum:
- Restic
- WalG
- Medusa
- VolumeSnapshotter
- Solr
- ClickHouseBackup
- Neo4jAdmin
type: string
executor:
enum:
Expand Down Expand Up @@ -1096,13 +1098,15 @@ spec:
- Solr
- Medusa
- ClickHouseBackup
- Neo4jAdmin
- enum:
- Restic
- WalG
- Medusa
- VolumeSnapshotter
- Solr
- ClickHouseBackup
- Neo4jAdmin
type: string
executor:
enum:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,7 @@ spec:
- Solr
- Medusa
- ClickHouseBackup
- Neo4jAdmin
type: string
jobTemplate:
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,7 @@ spec:
- Solr
- Medusa
- ClickHouseBackup
- Neo4jAdmin
type: string
jobTemplate:
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,7 @@ spec:
- Solr
- Medusa
- ClickHouseBackup
- Neo4jAdmin
type: string
jobTemplate:
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,7 @@ spec:
- Solr
- Medusa
- ClickHouseBackup
- Neo4jAdmin
type: string
jobTemplate:
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,7 @@ spec:
- Solr
- Medusa
- ClickHouseBackup
- Neo4jAdmin
type: string
jobTemplate:
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,7 @@ spec:
- Solr
- Medusa
- ClickHouseBackup
- Neo4jAdmin
type: string
jobTemplate:
properties:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
apiVersion: meta.k8s.appscode.com/v1alpha1
kind: ResourceDescriptor
metadata:
labels:
k8s.io/group: autoscaling.kubedb.com
k8s.io/kind: AerospikeAutoscaler
k8s.io/resource: aerospikeautoscalers
k8s.io/version: v1alpha1
name: autoscaling.kubedb.com-v1alpha1-aerospikeautoscalers
spec:
resource:
group: autoscaling.kubedb.com
kind: AerospikeAutoscaler
name: aerospikeautoscalers
scope: Namespaced
version: v1alpha1
validation:
openAPIV3Schema:
properties:
apiVersion:
type: string
kind:
type: string
metadata:
properties:
name:
description: 'Name must be unique within a namespace. Is required when
creating resources, although some resources may allow a client to
request the generation of an appropriate name automatically. Name
is primarily intended for creation idempotence and configuration definition.
Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names'
type: string
namespace:
description: "Namespace defines the space within which each name must
be unique. An empty namespace is equivalent to the \"default\" namespace,
but \"default\" is the canonical representation. Not all objects are
required to be scoped to a namespace - the value of this field for
those objects will be empty. \n Must be a DNS_LABEL. Cannot be updated.
More info: http://kubernetes.io/docs/user-guide/namespaces"
type: string
labels:
additionalProperties:
type: string
description: 'Map of string keys and values that can be used to organize
and categorize (scope and select) objects. May match selectors of
replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels'
type: object
annotations:
additionalProperties:
type: string
description: 'Annotations is an unstructured key value map stored with
a resource that may be set by external tools to store and retrieve
arbitrary metadata. They are not queryable and should be preserved
when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations'
type: object
type: object
spec:
properties:
compute:
properties:
aerospike:
properties:
containerControlledValues:
enum:
- RequestsAndLimits
- RequestsOnly
type: string
controlledResources:
items:
type: string
type: array
inMemoryStorage:
properties:
scalingFactorPercentage:
format: int32
type: integer
usageThresholdPercentage:
format: int32
type: integer
type: object
maxAllowed:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
type: object
minAllowed:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
type: object
podLifeTimeThreshold:
type: string
resourceDiffPercentage:
format: int32
type: integer
trigger:
type: string
type: object
nodeTopology:
properties:
name:
type: string
scaleDownDiffPercentage:
default: 25
format: int32
type: integer
scaleUpDiffPercentage:
default: 15
format: int32
type: integer
type: object
type: object
databaseRef:
properties:
name:
default: ""
type: string
type: object
x-kubernetes-map-type: atomic
opsRequestOptions:
properties:
apply:
default: IfReady
enum:
- IfReady
- Always
type: string
maxRetries:
default: 1
format: int32
type: integer
timeout:
type: string
type: object
required:
- databaseRef
type: object
required:
- spec
type: object
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
apiVersion: meta.k8s.appscode.com/v1alpha1
kind: ResourceDescriptor
metadata:
labels:
k8s.io/group: autoscaling.kubedb.com
k8s.io/kind: DB2Autoscaler
k8s.io/resource: db2autoscalers
k8s.io/version: v1alpha1
name: autoscaling.kubedb.com-v1alpha1-db2autoscalers
spec:
resource:
group: autoscaling.kubedb.com
kind: DB2Autoscaler
name: db2autoscalers
scope: Namespaced
version: v1alpha1
validation:
openAPIV3Schema:
properties:
apiVersion:
type: string
kind:
type: string
metadata:
properties:
name:
description: 'Name must be unique within a namespace. Is required when
creating resources, although some resources may allow a client to
request the generation of an appropriate name automatically. Name
is primarily intended for creation idempotence and configuration definition.
Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names'
type: string
namespace:
description: "Namespace defines the space within which each name must
be unique. An empty namespace is equivalent to the \"default\" namespace,
but \"default\" is the canonical representation. Not all objects are
required to be scoped to a namespace - the value of this field for
those objects will be empty. \n Must be a DNS_LABEL. Cannot be updated.
More info: http://kubernetes.io/docs/user-guide/namespaces"
type: string
labels:
additionalProperties:
type: string
description: 'Map of string keys and values that can be used to organize
and categorize (scope and select) objects. May match selectors of
replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels'
type: object
annotations:
additionalProperties:
type: string
description: 'Annotations is an unstructured key value map stored with
a resource that may be set by external tools to store and retrieve
arbitrary metadata. They are not queryable and should be preserved
when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations'
type: object
type: object
spec:
properties:
compute:
properties:
db2:
properties:
containerControlledValues:
enum:
- RequestsAndLimits
- RequestsOnly
type: string
controlledResources:
items:
type: string
type: array
inMemoryStorage:
properties:
scalingFactorPercentage:
format: int32
type: integer
usageThresholdPercentage:
format: int32
type: integer
type: object
maxAllowed:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
type: object
minAllowed:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
type: object
podLifeTimeThreshold:
type: string
resourceDiffPercentage:
format: int32
type: integer
trigger:
type: string
type: object
nodeTopology:
properties:
name:
type: string
scaleDownDiffPercentage:
default: 25
format: int32
type: integer
scaleUpDiffPercentage:
default: 15
format: int32
type: integer
type: object
type: object
databaseRef:
properties:
name:
default: ""
type: string
type: object
x-kubernetes-map-type: atomic
opsRequestOptions:
properties:
apply:
default: IfReady
enum:
- IfReady
- Always
type: string
maxRetries:
default: 1
format: int32
type: integer
timeout:
type: string
type: object
required:
- databaseRef
type: object
required:
- spec
type: object
Loading
Loading