Skip to content

Commit

Permalink
Update crds
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Sep 27, 2024
1 parent e749279 commit 75ff428
Show file tree
Hide file tree
Showing 67 changed files with 17,242 additions and 1,771 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ metadata:
creationTimestamp: null
labels:
k8s.io/group: authentication.k8s.appscode.com
k8s.io/kind: User
k8s.io/resource: users
k8s.io/kind: Account
k8s.io/resource: accounts
k8s.io/version: v1alpha1
name: authentication.k8s.appscode.com-v1alpha1-users
name: authentication.k8s.appscode.com-v1alpha1-accounts
spec:
resource:
group: authentication.k8s.appscode.com
kind: User
name: users
kind: Account
name: accounts
scope: Cluster
version: v1alpha1
validation:
Expand Down Expand Up @@ -59,6 +59,9 @@ spec:
items:
type: string
type: array
tokenGeneration:
format: int64
type: integer
uid:
type: string
username:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,13 @@ spec:
enabled:
default: true
description: |-
Enabled prescribes whether the ServiceAccount token will
be rotated from the upstream
Enabled prescribes whether the ServiceAccount token will be rotated before it expires.
Deprecated: All ServiceAccount tokens will be rotated before they expire regardless of this field.
type: boolean
validity:
default: 8640h0m0s
description: Validity is the duration for which the signed ServiceAccount
token is valid.
description: Validity is the duration of validity for requesting
the signed ServiceAccount token.
type: string
type: object
ttlSecondsAfterCreation:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,22 +62,27 @@ spec:
items:
type: string
type: array
x-kubernetes-list-type: atomic
nonResourceURLs:
items:
type: string
type: array
x-kubernetes-list-type: atomic
resourceNames:
items:
type: string
type: array
x-kubernetes-list-type: atomic
resources:
items:
type: string
type: array
x-kubernetes-list-type: atomic
verbs:
items:
type: string
type: array
x-kubernetes-list-type: atomic
required:
- verbs
type: object
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,182 @@
apiVersion: meta.k8s.appscode.com/v1alpha1
kind: ResourceDescriptor
metadata:
creationTimestamp: null
labels:
k8s.io/group: autoscaling.kubedb.com
k8s.io/kind: CassandraAutoscaler
k8s.io/resource: cassandraautoscalers
k8s.io/version: v1alpha1
name: autoscaling.kubedb.com-v1alpha1-cassandraautoscalers
spec:
resource:
group: autoscaling.kubedb.com
kind: CassandraAutoscaler
name: cassandraautoscalers
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:
cassandra:
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
timeout:
type: string
type: object
storage:
properties:
cassandra:
properties:
expansionMode:
enum:
- Offline
- Online
type: string
scalingRules:
items:
properties:
appliesUpto:
type: string
threshold:
type: string
required:
- appliesUpto
- threshold
type: object
type: array
scalingThreshold:
format: int32
type: integer
trigger:
type: string
upperBound:
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
usageThreshold:
format: int32
type: integer
required:
- expansionMode
type: object
type: object
required:
- databaseRef
type: object
required:
- spec
type: object
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ spec:
- IfReady
- Always
type: string
readinessCriteria:
type: object
timeout:
type: string
type: object
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
apiVersion: meta.k8s.appscode.com/v1alpha1
kind: ResourceDescriptor
metadata:
creationTimestamp: null
labels:
k8s.io/group: catalog.kubedb.com
k8s.io/kind: CassandraVersion
k8s.io/resource: cassandraversions
k8s.io/version: v1alpha1
name: catalog.kubedb.com-v1alpha1-cassandraversions
spec:
resource:
group: catalog.kubedb.com
kind: CassandraVersion
name: cassandraversions
scope: Cluster
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
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:
db:
properties:
image:
type: string
required:
- image
type: object
initContainer:
properties:
image:
type: string
required:
- image
type: object
securityContext:
properties:
runAsUser:
format: int64
type: integer
type: object
ui:
items:
properties:
disable:
type: boolean
name:
type: string
values:
x-kubernetes-preserve-unknown-fields: true
version:
type: string
required:
- name
type: object
type: array
version:
type: string
required:
- db
- initContainer
- version
type: object
type: object
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ spec:
type: object
spec:
properties:
clickHouseKeeper:
properties:
image:
type: string
required:
- image
type: object
db:
properties:
image:
Expand Down Expand Up @@ -87,6 +94,7 @@ spec:
version:
type: string
required:
- clickHouseKeeper
- db
- initContainer
- version
Expand Down
Loading

0 comments on commit 75ff428

Please sign in to comment.