Skip to content

Commit

Permalink
Update upstream specifications to their latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
sebhoss committed Sep 20, 2024
1 parent 80c5e3e commit b964865
Show file tree
Hide file tree
Showing 226 changed files with 95,792 additions and 4,857 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,8 @@ spec:
description: "Reference to a Kubernetes secret in the same namespace, that stores client credentials to the OAuth2 server."
properties:
name:
description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?"
default: ""
description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."
type: "string"
type: "object"
x-kubernetes-map-type: "atomic"
Expand Down Expand Up @@ -1915,7 +1916,8 @@ spec:
description: "Reference to a Kubernetes secret in the same namespace, that stores client credentials to the resource registration API of the UMA server."
properties:
name:
description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?"
default: ""
description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."
type: "string"
type: "object"
x-kubernetes-map-type: "atomic"
Expand Down Expand Up @@ -3008,7 +3010,8 @@ spec:
description: "Reference to a Kubernetes secret in the same namespace, that stores client credentials to the OAuth2 server."
properties:
name:
description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?"
default: ""
description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."
type: "string"
type: "object"
x-kubernetes-map-type: "atomic"
Expand Down Expand Up @@ -4553,7 +4556,8 @@ spec:
description: "Reference to a Kubernetes secret in the same namespace, that stores client credentials to the resource registration API of the UMA server."
properties:
name:
description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?"
default: ""
description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."
type: "string"
type: "object"
x-kubernetes-map-type: "atomic"
Expand Down Expand Up @@ -5643,7 +5647,8 @@ spec:
description: "Reference to a Kubernetes secret in the same namespace, that stores client credentials to the OAuth2 server."
properties:
name:
description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?"
default: ""
description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."
type: "string"
type: "object"
x-kubernetes-map-type: "atomic"
Expand Down Expand Up @@ -7188,7 +7193,8 @@ spec:
description: "Reference to a Kubernetes secret in the same namespace, that stores client credentials to the resource registration API of the UMA server."
properties:
name:
description: "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?"
default: ""
description: "Name of the referent.\nThis field is effectively required, but due to backwards compatibility is\nallowed to be empty. Instances of this type with an empty value here are\nalmost certainly wrong.\nTODO: Add other useful fields. apiVersion, kind, uid?\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896."
type: "string"
type: "object"
x-kubernetes-map-type: "atomic"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,9 @@ spec:
maxLength: 255
pattern: "^[a-zA-Z0-9][-a-zA-Z0-9]{0,253}[a-zA-Z0-9]$"
type: "string"
pg_dump_suffix:
description: "Additional parameters for the pg_dump command during a migration"
type: "string"
postgres_annotations:
description: "Annotations to add to the Postgres deployment."
type: "string"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
apiVersion: "apiextensions.k8s.io/v1"
kind: "CustomResourceDefinition"
metadata:
annotations:
controller-gen.kubebuilder.io/version: "v0.14.0"
labels:
app.kubernetes.io/name: "kubeblocks"
name: "clusterdefinitions.apps.kubeblocks.io"
spec:
group: "apps.kubeblocks.io"
names:
categories:
- "kubeblocks"
kind: "ClusterDefinition"
listKind: "ClusterDefinitionList"
plural: "clusterdefinitions"
shortNames:
- "cd"
singular: "clusterdefinition"
scope: "Cluster"
versions:
- additionalPrinterColumns:
- description: "topologies"
jsonPath: ".status.topologies"
name: "Topologies"
type: "string"
- description: "status phase"
jsonPath: ".status.phase"
name: "STATUS"
type: "string"
- jsonPath: ".metadata.creationTimestamp"
name: "AGE"
type: "date"
name: "v1"
schema:
openAPIV3Schema:
description: "ClusterDefinition defines the topology for databases or storage systems,\noffering a variety of topological configurations to meet diverse deployment needs and scenarios.\n\n\nIt includes a list of Components, each linked to a ComponentDefinition, which enhances reusability and reduce redundancy.\nFor example, widely used components such as etcd and Zookeeper can be defined once and reused across multiple ClusterDefinitions,\nsimplifying the setup of new systems.\n\n\nAdditionally, ClusterDefinition also specifies the sequence of startup, upgrade, and shutdown for Components,\nensuring a controlled and predictable management of component lifecycles."
properties:
apiVersion:
description: "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"
type: "string"
kind:
description: "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
type: "string"
metadata:
type: "object"
spec:
description: "ClusterDefinitionSpec defines the desired state of ClusterDefinition."
properties:
topologies:
description: "Topologies defines all possible topologies within the cluster."
items:
description: "ClusterTopology represents the definition for a specific cluster topology."
properties:
components:
description: "Components specifies the components in the topology."
items:
description: "ClusterTopologyComponent defines a Component within a ClusterTopology."
properties:
compDef:
description: "Specifies the exact name, name prefix, or regular expression pattern for matching the name of the ComponentDefinition\ncustom resource (CR) that defines the Component's characteristics and behavior.\n\n\nThe system selects the ComponentDefinition CR with the latest version that matches the pattern.\nThis approach allows:\n\n\n1. Precise selection by providing the exact name of a ComponentDefinition CR.\n2. Flexible and automatic selection of the most up-to-date ComponentDefinition CR\n\t by specifying a name prefix or regular expression pattern.\n\n\nOnce set, this field cannot be updated."
maxLength: 64
type: "string"
name:
description: "Defines the unique identifier of the component within the cluster topology.\nIt follows IANA Service naming rules and is used as part of the Service's DNS name.\nThe name must start with a lowercase letter, can contain lowercase letters, numbers,\nand hyphens, and must end with a lowercase letter or number.\n\n\nCannot be updated once set."
maxLength: 16
pattern: "^[a-z]([a-z0-9\\-]*[a-z0-9])?$"
type: "string"
required:
- "compDef"
- "name"
type: "object"
maxItems: 128
minItems: 1
type: "array"
default:
description: "Default indicates whether this topology serves as the default configuration.\nWhen set to true, this topology is automatically used unless another is explicitly specified."
type: "boolean"
name:
description: "Name is the unique identifier for the cluster topology.\nCannot be updated."
maxLength: 32
type: "string"
orders:
description: "Specifies the sequence in which components within a cluster topology are\nstarted, stopped, and upgraded.\nThis ordering is crucial for maintaining the correct dependencies and operational flow across components."
properties:
provision:
description: "Specifies the order for creating and initializing components.\nThis is designed for components that depend on one another. Components without dependencies can be grouped together.\n\n\nComponents that can be provisioned independently or have no dependencies can be listed together in the same stage,\nseparated by commas."
items:
type: "string"
type: "array"
terminate:
description: "Outlines the order for stopping and deleting components.\nThis sequence is designed for components that require a graceful shutdown or have interdependencies.\n\n\nComponents that can be terminated independently or have no dependencies can be listed together in the same stage,\nseparated by commas."
items:
type: "string"
type: "array"
update:
description: "Update determines the order for updating components' specifications, such as image upgrades or resource scaling.\nThis sequence is designed for components that have dependencies or require specific update procedures.\n\n\nComponents that can be updated independently or have no dependencies can be listed together in the same stage,\nseparated by commas."
items:
type: "string"
type: "array"
type: "object"
required:
- "components"
- "name"
type: "object"
maxItems: 128
minItems: 1
type: "array"
type: "object"
status:
description: "ClusterDefinitionStatus defines the observed state of ClusterDefinition"
properties:
message:
description: "Provides additional information about the current phase."
type: "string"
observedGeneration:
description: "Represents the most recent generation observed for this ClusterDefinition."
format: "int64"
type: "integer"
phase:
description: "Specifies the current phase of the ClusterDefinition. Valid values are `empty`, `Available`, `Unavailable`.\nWhen `Available`, the ClusterDefinition is ready and can be referenced by related objects."
enum:
- "Available"
- "Unavailable"
type: "string"
topologies:
description: "Topologies this ClusterDefinition supported."
type: "string"
type: "object"
type: "object"
served: true
storage: true
subresources:
status: {}
Loading

0 comments on commit b964865

Please sign in to comment.