diff --git a/charts/oam-kubernetes-runtime/crds/core.oam.dev_applicationconfigurations.yaml b/charts/oam-kubernetes-runtime/crds/core.oam.dev_applicationconfigurations.yaml index 1eb3e071..984e78a9 100644 --- a/charts/oam-kubernetes-runtime/crds/core.oam.dev_applicationconfigurations.yaml +++ b/charts/oam-kubernetes-runtime/crds/core.oam.dev_applicationconfigurations.yaml @@ -27,47 +27,31 @@ spec: description: An ApplicationConfiguration represents an OAM application. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More 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. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object spec: - description: An ApplicationConfigurationSpec defines the desired state - of a ApplicationConfiguration. + description: An ApplicationConfigurationSpec defines the desired state of a ApplicationConfiguration. properties: components: - description: Components of which this ApplicationConfiguration consists. - Each component will be used to instantiate a workload. + description: Components of which this ApplicationConfiguration consists. Each component will be used to instantiate a workload. items: - description: An ApplicationConfigurationComponent specifies a component - of an ApplicationConfiguration. Each component is used to instantiate - a workload. + description: An ApplicationConfigurationComponent specifies a component of an ApplicationConfiguration. Each component is used to instantiate a workload. properties: componentName: - description: ComponentName specifies a component whose latest - revision will be bind with ApplicationConfiguration. When - the spec of the referenced component changes, ApplicationConfiguration - will automatically migrate all trait affect from the prior - revision to the new one. This is mutually exclusive with RevisionName. + description: ComponentName specifies a component whose latest revision will be bind with ApplicationConfiguration. When the spec of the referenced component changes, ApplicationConfiguration will automatically migrate all trait affect from the prior revision to the new one. This is mutually exclusive with RevisionName. type: string dataInputs: - description: DataInputs specify the data input sinks into this - component. + description: DataInputs specify the data input sinks into this component. items: - description: DataInput specifies a data input sink to an object. - If input is array, it will be appended to the target field - paths. + description: DataInput specifies a data input sink to an object. If input is array, it will be appended to the target field paths. properties: toFieldPaths: - description: ToFieldPaths specifies the field paths of - an object to fill passed value. + description: ToFieldPaths specifies the field paths of an object to fill passed value. items: type: string type: array @@ -75,8 +59,7 @@ spec: description: ValueFrom specifies the value source. properties: dataOutputName: - description: DataOutputName matches a name of a DataOutput - in the same AppConfig. + description: DataOutputName matches a name of a DataOutput in the same AppConfig. type: string required: - dataOutputName @@ -84,38 +67,26 @@ spec: type: object type: array dataOutputs: - description: DataOutputs specify the data output sources from - this component. + description: DataOutputs specify the data output sources from this component. items: - description: DataOutput specifies a data output source from - an object. + description: DataOutput specifies a data output source from an object. properties: conditions: - description: Conditions specify the conditions that should - be satisfied before emitting a data output. Different - conditions are AND-ed together. If no conditions is - specified, it is by default to check output value not - empty. + description: Conditions specify the conditions that should be satisfied before emitting a data output. Different conditions are AND-ed together. If no conditions is specified, it is by default to check output value not empty. items: - description: ConditionRequirement specifies the requirement - to match a value. + description: ConditionRequirement specifies the requirement to match a value. properties: fieldPath: - description: FieldPath specifies got value from - workload/trait object + description: FieldPath specifies got value from workload/trait object type: string op: - description: ConditionOperator specifies the operator - to match a value. + description: ConditionOperator specifies the operator to match a value. type: string value: - description: Value specifies an expected value This - is mutually exclusive with ValueFrom + description: Value specifies an expected value This is mutually exclusive with ValueFrom type: string valueFrom: - description: ValueFrom specifies expected value - from AppConfig This is mutually exclusive with - Value + description: ValueFrom specifies expected value from AppConfig This is mutually exclusive with Value properties: fieldPath: type: string @@ -127,23 +98,17 @@ spec: type: object type: array fieldPath: - description: FieldPath refers to the value of an object's - field. + description: FieldPath refers to the value of an object's field. type: string name: - description: Name is the unique name of a DataOutput in - an ApplicationConfiguration. + description: Name is the unique name of a DataOutput in an ApplicationConfiguration. type: string type: object type: array parameterValues: - description: ParameterValues specify values for the the specified - component's parameters. Any parameter required by the component - must be specified. + description: ParameterValues specify values for the the specified component's parameters. Any parameter required by the component must be specified. items: - description: A ComponentParameterValue specifies a value for - a named parameter. The associated component must publish - a parameter with this name. + description: A ComponentParameterValue specifies a value for a named parameter. The associated component must publish a parameter with this name. properties: name: description: Name of the component parameter to set. @@ -160,20 +125,15 @@ spec: type: object type: array revisionName: - description: RevisionName of a specific component revision to - which to bind ApplicationConfiguration. This is mutually exclusive - with componentName. + description: RevisionName of a specific component revision to which to bind ApplicationConfiguration. This is mutually exclusive with componentName. type: string scopes: - description: Scopes in which the specified component should - exist. + description: Scopes in which the specified component should exist. items: - description: A ComponentScope specifies a scope in which a - component should exist. + description: A ComponentScope specifies a scope in which a component should exist. properties: scopeRef: - description: A ScopeReference must refer to an OAM scope - resource. + description: A ScopeReference must refer to an OAM scope resource. properties: apiVersion: description: APIVersion of the referenced object. @@ -199,20 +159,15 @@ spec: traits: description: Traits of the specified component. items: - description: A ComponentTrait specifies a trait that should - be applied to a component. + description: A ComponentTrait specifies a trait that should be applied to a component. properties: dataInputs: - description: DataInputs specify the data input sinks into - this trait. + description: DataInputs specify the data input sinks into this trait. items: - description: DataInput specifies a data input sink to - an object. If input is array, it will be appended - to the target field paths. + description: DataInput specifies a data input sink to an object. If input is array, it will be appended to the target field paths. properties: toFieldPaths: - description: ToFieldPaths specifies the field paths - of an object to fill passed value. + description: ToFieldPaths specifies the field paths of an object to fill passed value. items: type: string type: array @@ -220,8 +175,7 @@ spec: description: ValueFrom specifies the value source. properties: dataOutputName: - description: DataOutputName matches a name of - a DataOutput in the same AppConfig. + description: DataOutputName matches a name of a DataOutput in the same AppConfig. type: string required: - dataOutputName @@ -229,38 +183,26 @@ spec: type: object type: array dataOutputs: - description: DataOutputs specify the data output sources - from this trait. + description: DataOutputs specify the data output sources from this trait. items: - description: DataOutput specifies a data output source - from an object. + description: DataOutput specifies a data output source from an object. properties: conditions: - description: Conditions specify the conditions that - should be satisfied before emitting a data output. - Different conditions are AND-ed together. If no - conditions is specified, it is by default to check - output value not empty. + description: Conditions specify the conditions that should be satisfied before emitting a data output. Different conditions are AND-ed together. If no conditions is specified, it is by default to check output value not empty. items: - description: ConditionRequirement specifies the - requirement to match a value. + description: ConditionRequirement specifies the requirement to match a value. properties: fieldPath: - description: FieldPath specifies got value - from workload/trait object + description: FieldPath specifies got value from workload/trait object type: string op: - description: ConditionOperator specifies the - operator to match a value. + description: ConditionOperator specifies the operator to match a value. type: string value: - description: Value specifies an expected value - This is mutually exclusive with ValueFrom + description: Value specifies an expected value This is mutually exclusive with ValueFrom type: string valueFrom: - description: ValueFrom specifies expected - value from AppConfig This is mutually exclusive - with Value + description: ValueFrom specifies expected value from AppConfig This is mutually exclusive with Value properties: fieldPath: type: string @@ -272,12 +214,10 @@ spec: type: object type: array fieldPath: - description: FieldPath refers to the value of an - object's field. + description: FieldPath refers to the value of an object's field. type: string name: - description: Name is the unique name of a DataOutput - in an ApplicationConfiguration. + description: Name is the unique name of a DataOutput in an ApplicationConfiguration. type: string type: object type: array @@ -296,8 +236,7 @@ spec: - components type: object status: - description: An ApplicationConfigurationStatus represents the observed - state of a ApplicationConfiguration. + description: An ApplicationConfigurationStatus represents the observed state of a ApplicationConfiguration. properties: conditions: description: Conditions of the resource. @@ -305,25 +244,20 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition - transitioned from one status to another. + description: LastTransitionTime is the last time this condition transitioned from one status to another. format: date-time type: string message: - description: A Message containing details about this condition's - last transition from one status to another, if any. + description: A Message containing details about this condition's last transition from one status to another, if any. type: string reason: - description: A Reason for this condition's last transition from - one status to another. + description: A Reason for this condition's last transition from one status to another. type: string status: - description: Status of this condition; is it currently True, - False, or Unknown? + description: Status of this condition; is it currently True, False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition - type may apply to a resource at any point in time. + description: Type of this condition. At most one of each condition type may apply to a resource at any point in time. type: string required: - lastTransitionTime @@ -333,17 +267,14 @@ spec: type: object type: array dependency: - description: DependencyStatus represents the observed state of the - dependency of an ApplicationConfiguration. + description: DependencyStatus represents the observed state of the dependency of an ApplicationConfiguration. properties: unsatisfied: items: - description: UnstaifiedDependency describes unsatisfied dependency - flow between one pair of objects. + description: UnstaifiedDependency describes unsatisfied dependency flow between one pair of objects. properties: from: - description: DependencyFromObject represents the object - that dependency data comes from. + description: DependencyFromObject represents the object that dependency data comes from. properties: apiVersion: description: APIVersion of the referenced object. @@ -367,8 +298,7 @@ spec: reason: type: string to: - description: DependencyToObject represents the object that - dependency data goes to. + description: DependencyToObject represents the object that dependency data goes to. properties: apiVersion: description: APIVersion of the referenced object. @@ -399,11 +329,9 @@ spec: type: array type: object historyWorkloads: - description: HistoryWorkloads will record history but still working - revision workloads. + description: HistoryWorkloads will record history but still working revision workloads. items: - description: HistoryWorkload contain the old component revision - that are still running + description: HistoryWorkload contain the old component revision that are still running properties: revision: description: Revision of this workload @@ -435,9 +363,7 @@ spec: format: int64 type: integer status: - description: Status is a place holder for a customized controller - to fill if it needs a single place to summarize the status of the - entire application + description: Status is a place holder for a customized controller to fill if it needs a single place to summarize the status of the entire application type: string workloads: description: Workloads created by this ApplicationConfiguration. @@ -453,8 +379,7 @@ spec: scopes: description: Scopes associated with this workload. items: - description: A WorkloadScope represents a scope associated - with a workload and its status + description: A WorkloadScope represents a scope associated with a workload and its status properties: scopeRef: description: Reference to a scope created by an ApplicationConfiguration. @@ -477,33 +402,25 @@ spec: - name type: object status: - description: Status is a place holder for a customized - controller to fill if it needs a single place to summarize - the status of the scope + description: Status is a place holder for a customized controller to fill if it needs a single place to summarize the status of the scope type: string required: - scopeRef type: object type: array status: - description: Status is a place holder for a customized controller - to fill if it needs a single place to summarize the entire - status of the workload + description: Status is a place holder for a customized controller to fill if it needs a single place to summarize the entire status of the workload type: string traits: description: Traits associated with this workload. items: - description: A WorkloadTrait represents a trait associated - with a workload and its status + description: A WorkloadTrait represents a trait associated with a workload and its status properties: message: - description: Message will allow controller to leave some - additional information for this trait + description: Message will allow controller to leave some additional information for this trait type: string status: - description: Status is a place holder for a customized - controller to fill if it needs a single place to summarize - the status of the trait + description: Status is a place holder for a customized controller to fill if it needs a single place to summarize the status of the trait type: string traitRef: description: Reference to a trait created by an ApplicationConfiguration. diff --git a/charts/oam-kubernetes-runtime/crds/core.oam.dev_components.yaml b/charts/oam-kubernetes-runtime/crds/core.oam.dev_components.yaml index 287a8e45..8a2c5465 100644 --- a/charts/oam-kubernetes-runtime/crds/core.oam.dev_components.yaml +++ b/charts/oam-kubernetes-runtime/crds/core.oam.dev_components.yaml @@ -32,14 +32,10 @@ spec: description: A Component describes how an OAM workload kind may be instantiated. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More 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. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object @@ -47,34 +43,24 @@ spec: description: A ComponentSpec defines the desired state of a Component. properties: parameters: - description: Parameters exposed by this component. ApplicationConfigurations - that reference this component may specify values for these parameters, - which will in turn be injected into the embedded workload. + description: Parameters exposed by this component. ApplicationConfigurations that reference this component may specify values for these parameters, which will in turn be injected into the embedded workload. items: - description: A ComponentParameter defines a configurable parameter - of a component. + description: A ComponentParameter defines a configurable parameter of a component. properties: description: description: Description of this parameter. type: string fieldPaths: - description: FieldPaths specifies an array of fields within - this Component's workload that will be overwritten by the - value of this parameter. The type of the parameter (e.g. int, - string) is inferred from the type of these fields; All fields - must be of the same type. Fields are specified as JSON field - paths without a leading dot, for example 'spec.replicas'. + description: FieldPaths specifies an array of fields within this Component's workload that will be overwritten by the value of this parameter. The type of the parameter (e.g. int, string) is inferred from the type of these fields; All fields must be of the same type. Fields are specified as JSON field paths without a leading dot, for example 'spec.replicas'. items: type: string type: array name: - description: Name of this parameter. OAM ApplicationConfigurations - will specify parameter values using this name. + description: Name of this parameter. OAM ApplicationConfigurations will specify parameter values using this name. type: string required: default: false - description: Required specifies whether or not a value for this - parameter must be supplied when authoring an ApplicationConfiguration. + description: Required specifies whether or not a value for this parameter must be supplied when authoring an ApplicationConfiguration. type: boolean required: - fieldPaths @@ -82,10 +68,7 @@ spec: type: object type: array workload: - description: A Workload that will be created for each ApplicationConfiguration - that includes this Component. Workload is an instance of a workloadDefinition. - We either use the GVK info or a special "type" field in the workload - to associate the content of the workload with its workloadDefinition + description: A Workload that will be created for each ApplicationConfiguration that includes this Component. Workload is an instance of a workloadDefinition. We either use the GVK info or a special "type" field in the workload to associate the content of the workload with its workloadDefinition type: object x-kubernetes-embedded-resource: true x-kubernetes-preserve-unknown-fields: true @@ -101,25 +84,20 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition - transitioned from one status to another. + description: LastTransitionTime is the last time this condition transitioned from one status to another. format: date-time type: string message: - description: A Message containing details about this condition's - last transition from one status to another, if any. + description: A Message containing details about this condition's last transition from one status to another, if any. type: string reason: - description: A Reason for this condition's last transition from - one status to another. + description: A Reason for this condition's last transition from one status to another. type: string status: - description: Status of this condition; is it currently True, - False, or Unknown? + description: Status of this condition; is it currently True, False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition - type may apply to a resource at any point in time. + description: Type of this condition. At most one of each condition type may apply to a resource at any point in time. type: string required: - lastTransitionTime diff --git a/charts/oam-kubernetes-runtime/crds/core.oam.dev_containerizedworkloads.yaml b/charts/oam-kubernetes-runtime/crds/core.oam.dev_containerizedworkloads.yaml index 8dda551c..b174cb65 100644 --- a/charts/oam-kubernetes-runtime/crds/core.oam.dev_containerizedworkloads.yaml +++ b/charts/oam-kubernetes-runtime/crds/core.oam.dev_containerizedworkloads.yaml @@ -25,20 +25,15 @@ spec: description: A ContainerizedWorkload is a workload that runs OCI containers. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More 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. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object spec: - description: A ContainerizedWorkloadSpec defines the desired state of - a ContainerizedWorkload. + description: A ContainerizedWorkloadSpec defines the desired state of a ContainerizedWorkload. properties: arch: description: CPUArchitecture required by this workload. @@ -51,12 +46,10 @@ spec: containers: description: Containers of which this workload consists. items: - description: A Container represents an Open Containers Initiative - (OCI) container. + description: A Container represents an Open Containers Initiative (OCI) container. properties: args: - description: Arguments to be passed to the command run by this - container. + description: Arguments to be passed to the command run by this container. items: type: string type: array @@ -66,16 +59,12 @@ spec: type: string type: array config: - description: ConfigFiles that should be written within this - container. + description: ConfigFiles that should be written within this container. items: - description: A ContainerConfigFile specifies a configuration - file that should be written within a container. + description: A ContainerConfigFile specifies a configuration file that should be written within a container. properties: fromSecret: - description: FromSecret is a secret key reference which - can be used to assign a value to be written to the configuration - file at the given path in the container. + description: FromSecret is a secret key reference which can be used to assign a value to be written to the configuration file at the given path in the container. properties: key: description: The key to select. @@ -88,27 +77,22 @@ spec: - name type: object path: - description: Path within the container at which the configuration - file should be written. + description: Path within the container at which the configuration file should be written. type: string value: - description: Value that should be written to the configuration - file. + description: Value that should be written to the configuration file. type: string required: - path type: object type: array env: - description: Environment variables that should be set within - this container. + description: Environment variables that should be set within this container. items: - description: A ContainerEnvVar specifies an environment variable - that should be set within a container. + description: A ContainerEnvVar specifies an environment variable that should be set within a container. properties: fromSecret: - description: FromSecret is a secret key reference which - can be used to assign a value to the environment variable. + description: FromSecret is a secret key reference which can be used to assign a value to the environment variable. properties: key: description: The key to select. @@ -121,9 +105,7 @@ spec: - name type: object name: - description: Name of the environment variable. Must be - composed of valid Unicode letter and number characters, - as well as _ and -. + description: Name of the environment variable. Must be composed of valid Unicode letter and number characters, as well as _ and -. pattern: ^[-_a-zA-Z0-9]+$ type: string value: @@ -134,22 +116,16 @@ spec: type: object type: array image: - description: Image this container should run. Must be a path-like - or URI-like representation of an OCI image. May be prefixed - with a registry address and should be suffixed with a tag. + description: Image this container should run. Must be a path-like or URI-like representation of an OCI image. May be prefixed with a registry address and should be suffixed with a tag. type: string imagePullSecret: - description: ImagePullSecret specifies the name of a Secret - from which the credentials required to pull this container's - image can be loaded. + description: ImagePullSecret specifies the name of a Secret from which the credentials required to pull this container's image can be loaded. type: string livenessProbe: - description: A LivenessProbe assesses whether this container - is alive. Containers that fail liveness probes will be restarted. + description: A LivenessProbe assesses whether this container is alive. Containers that fail liveness probes will be restarted. properties: exec: - description: Exec probes a container's health by executing - a command. + description: Exec probes a container's health by executing a command. properties: command: description: Command to be run by this probe. @@ -160,24 +136,19 @@ spec: - command type: object failureThreshold: - description: FailureThreshold specifies how many consecutive - probes must fail in order for the container to be considered - healthy. + description: FailureThreshold specifies how many consecutive probes must fail in order for the container to be considered healthy. format: int32 type: integer httpGet: - description: HTTPGet probes a container's health by sending - an HTTP GET request. + description: HTTPGet probes a container's health by sending an HTTP GET request. properties: httpHeaders: description: HTTPHeaders to send with the GET request. items: - description: A HTTPHeader to be passed when probing - a container. + description: A HTTPHeader to be passed when probing a container. properties: name: - description: Name of this HTTP header. Must be - unique per probe. + description: Name of this HTTP header. Must be unique per probe. type: string value: description: Value of this HTTP header. @@ -199,8 +170,7 @@ spec: - port type: object initialDelaySeconds: - description: InitialDelaySeconds after a container starts - before the first probe. + description: InitialDelaySeconds after a container starts before the first probe. format: int32 type: integer periodSeconds: @@ -208,14 +178,11 @@ spec: format: int32 type: integer successThreshold: - description: SuccessThreshold specifies how many consecutive - probes must success in order for the container to be considered - healthy. + description: SuccessThreshold specifies how many consecutive probes must success in order for the container to be considered healthy. format: int32 type: integer tcpSocket: - description: TCPSocketProbe probes a container's health - by connecting to a TCP socket. + description: TCPSocketProbe probes a container's health by connecting to a TCP socket. properties: port: description: Port this probe should connect to. @@ -225,33 +192,28 @@ spec: - port type: object timeoutSeconds: - description: TimeoutSeconds after which the probe times - out. + description: TimeoutSeconds after which the probe times out. format: int32 type: integer type: object name: - description: Name of this container. Must be unique within its - workload. + description: Name of this container. Must be unique within its workload. type: string ports: description: Ports exposed by this container. items: - description: A ContainerPort specifies a port that is exposed - by a container. + description: A ContainerPort specifies a port that is exposed by a container. properties: containerPort: description: Port number. Must be unique within its container. format: int32 type: integer name: - description: Name of this port. Must be unique within - its container. Must be lowercase alphabetical characters. + description: Name of this port. Must be unique within its container. Must be lowercase alphabetical characters. pattern: ^[a-z]+$ type: string protocol: - description: Protocol used by the server listening on - this port. + description: Protocol used by the server listening on this port. enum: - TCP - UDP @@ -262,13 +224,10 @@ spec: type: object type: array readinessProbe: - description: A ReadinessProbe assesses whether this container - is ready to serve requests. Containers that fail readiness - probes will be withdrawn from service. + description: A ReadinessProbe assesses whether this container is ready to serve requests. Containers that fail readiness probes will be withdrawn from service. properties: exec: - description: Exec probes a container's health by executing - a command. + description: Exec probes a container's health by executing a command. properties: command: description: Command to be run by this probe. @@ -279,24 +238,19 @@ spec: - command type: object failureThreshold: - description: FailureThreshold specifies how many consecutive - probes must fail in order for the container to be considered - healthy. + description: FailureThreshold specifies how many consecutive probes must fail in order for the container to be considered healthy. format: int32 type: integer httpGet: - description: HTTPGet probes a container's health by sending - an HTTP GET request. + description: HTTPGet probes a container's health by sending an HTTP GET request. properties: httpHeaders: description: HTTPHeaders to send with the GET request. items: - description: A HTTPHeader to be passed when probing - a container. + description: A HTTPHeader to be passed when probing a container. properties: name: - description: Name of this HTTP header. Must be - unique per probe. + description: Name of this HTTP header. Must be unique per probe. type: string value: description: Value of this HTTP header. @@ -318,8 +272,7 @@ spec: - port type: object initialDelaySeconds: - description: InitialDelaySeconds after a container starts - before the first probe. + description: InitialDelaySeconds after a container starts before the first probe. format: int32 type: integer periodSeconds: @@ -327,14 +280,11 @@ spec: format: int32 type: integer successThreshold: - description: SuccessThreshold specifies how many consecutive - probes must success in order for the container to be considered - healthy. + description: SuccessThreshold specifies how many consecutive probes must success in order for the container to be considered healthy. format: int32 type: integer tcpSocket: - description: TCPSocketProbe probes a container's health - by connecting to a TCP socket. + description: TCPSocketProbe probes a container's health by connecting to a TCP socket. properties: port: description: Port this probe should connect to. @@ -344,8 +294,7 @@ spec: - port type: object timeoutSeconds: - description: TimeoutSeconds after which the probe times - out. + description: TimeoutSeconds after which the probe times out. format: int32 type: integer type: object @@ -356,8 +305,7 @@ spec: description: CPU required by this container. properties: required: - description: Required CPU count. 1.0 represents one - CPU core. + description: Required CPU count. 1.0 represents one CPU core. type: string required: - required @@ -368,16 +316,13 @@ spec: description: ExtendedResource required by a container. properties: name: - description: Name of the external resource. Resource - names are specified in kind.group/version format, - e.g. motionsensor.ext.example.com/v1. + description: Name of the external resource. Resource names are specified in kind.group/version format, e.g. motionsensor.ext.example.com/v1. type: string required: anyOf: - type: integer - type: string - description: Required extended resource(s), e.g. 8 - or "very-cool-widget" + description: Required extended resource(s), e.g. 8 or "very-cool-widget" x-kubernetes-int-or-string: true required: - name @@ -408,8 +353,7 @@ spec: description: VolumeResource required by a container. properties: accessMode: - description: AccessMode of this volume; RO (read only) - or RW (read and write). + description: AccessMode of this volume; RO (read only) or RW (read and write). enum: - RO - RW @@ -418,8 +362,7 @@ spec: description: Disk requirements of this volume. properties: ephemeral: - description: Ephemeral specifies whether an external - disk needs to be mounted. + description: Ephemeral specifies whether an external disk needs to be mounted. type: boolean required: description: Required disk space. @@ -428,16 +371,13 @@ spec: - required type: object mountPath: - description: MountPath at which this volume will be - mounted within its container. + description: MountPath at which this volume will be mounted within its container. type: string name: - description: Name of this volume. Must be unique within - its container. + description: Name of this volume. Must be unique within its container. type: string sharingPolicy: - description: SharingPolicy of this volume; Exclusive - or Shared. + description: SharingPolicy of this volume; Exclusive or Shared. enum: - Exclusive - Shared @@ -466,8 +406,7 @@ spec: - containers type: object status: - description: A ContainerizedWorkloadStatus represents the observed state - of a ContainerizedWorkload. + description: A ContainerizedWorkloadStatus represents the observed state of a ContainerizedWorkload. properties: conditions: description: Conditions of the resource. @@ -475,25 +414,20 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition - transitioned from one status to another. + description: LastTransitionTime is the last time this condition transitioned from one status to another. format: date-time type: string message: - description: A Message containing details about this condition's - last transition from one status to another, if any. + description: A Message containing details about this condition's last transition from one status to another, if any. type: string reason: - description: A Reason for this condition's last transition from - one status to another. + description: A Reason for this condition's last transition from one status to another. type: string status: - description: Status of this condition; is it currently True, - False, or Unknown? + description: Status of this condition; is it currently True, False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition - type may apply to a resource at any point in time. + description: Type of this condition. At most one of each condition type may apply to a resource at any point in time. type: string required: - lastTransitionTime @@ -505,9 +439,7 @@ spec: resources: description: Resources managed by this containerised workload. items: - description: A TypedReference refers to an object by Name, Kind, - and APIVersion. It is commonly used to reference cluster-scoped - objects or objects where the namespace is already known. + description: A TypedReference refers to an object by Name, Kind, and APIVersion. It is commonly used to reference cluster-scoped objects or objects where the namespace is already known. properties: apiVersion: description: APIVersion of the referenced object. diff --git a/charts/oam-kubernetes-runtime/crds/core.oam.dev_healthscopes.yaml b/charts/oam-kubernetes-runtime/crds/core.oam.dev_healthscopes.yaml index 5310a5a9..baae9f5f 100644 --- a/charts/oam-kubernetes-runtime/crds/core.oam.dev_healthscopes.yaml +++ b/charts/oam-kubernetes-runtime/crds/core.oam.dev_healthscopes.yaml @@ -26,18 +26,13 @@ spec: name: v1alpha2 schema: openAPIV3Schema: - description: A HealthScope determines an aggregate health status based of - the health of components. + description: A HealthScope determines an aggregate health status based of the health of components. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More 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. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object @@ -45,22 +40,17 @@ spec: description: A HealthScopeSpec defines the desired state of a HealthScope. properties: probe-interval: - description: ProbeInterval is the amount of time in seconds between - probing tries. + description: ProbeInterval is the amount of time in seconds between probing tries. format: int32 type: integer probe-timeout: - description: ProbeTimeout is the amount of time in seconds to wait - when receiving a response before marked failure. + description: ProbeTimeout is the amount of time in seconds to wait when receiving a response before marked failure. format: int32 type: integer workloadRefs: - description: WorkloadReferences to the workloads that are in this - scope. + description: WorkloadReferences to the workloads that are in this scope. items: - description: A TypedReference refers to an object by Name, Kind, - and APIVersion. It is commonly used to reference cluster-scoped - objects or objects where the namespace is already known. + description: A TypedReference refers to an object by Name, Kind, and APIVersion. It is commonly used to reference cluster-scoped objects or objects where the namespace is already known. properties: apiVersion: description: APIVersion of the referenced object. @@ -92,25 +82,20 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition - transitioned from one status to another. + description: LastTransitionTime is the last time this condition transitioned from one status to another. format: date-time type: string message: - description: A Message containing details about this condition's - last transition from one status to another, if any. + description: A Message containing details about this condition's last transition from one status to another, if any. type: string reason: - description: A Reason for this condition's last transition from - one status to another. + description: A Reason for this condition's last transition from one status to another. type: string status: - description: Status of this condition; is it currently True, - False, or Unknown? + description: Status of this condition; is it currently True, False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition - type may apply to a resource at any point in time. + description: Type of this condition. At most one of each condition type may apply to a resource at any point in time. type: string required: - lastTransitionTime @@ -120,15 +105,12 @@ spec: type: object type: array healthConditions: - description: WorkloadHealthConditions represents health condition - of workloads in the scope + description: WorkloadHealthConditions represents health condition of workloads in the scope items: - description: WorkloadHealthCondition represents informative health - condition. + description: WorkloadHealthCondition represents informative health condition. properties: componentName: - description: ComponentName represents the component name if - target is a workload + description: ComponentName represents the component name if target is a workload type: string diagnosis: type: string @@ -136,9 +118,7 @@ spec: description: HealthStatus represents health status strings. type: string targetWorkload: - description: A TypedReference refers to an object by Name, Kind, - and APIVersion. It is commonly used to reference cluster-scoped - objects or objects where the namespace is already known. + description: A TypedReference refers to an object by Name, Kind, and APIVersion. It is commonly used to reference cluster-scoped objects or objects where the namespace is already known. properties: apiVersion: description: APIVersion of the referenced object. @@ -158,16 +138,14 @@ spec: - name type: object workloadStatus: - description: WorkloadStatus represents status of workloads whose - HealthStatus is UNKNOWN. + description: WorkloadStatus represents status of workloads whose HealthStatus is UNKNOWN. type: string required: - healthStatus type: object type: array scopeHealthCondition: - description: ScopeHealthCondition represents health condition summary - of the scope + description: ScopeHealthCondition represents health condition summary of the scope properties: healthStatus: description: HealthStatus represents health status strings. diff --git a/charts/oam-kubernetes-runtime/crds/core.oam.dev_manualscalertraits.yaml b/charts/oam-kubernetes-runtime/crds/core.oam.dev_manualscalertraits.yaml index 8dfca3fa..3e1b4ac8 100644 --- a/charts/oam-kubernetes-runtime/crds/core.oam.dev_manualscalertraits.yaml +++ b/charts/oam-kubernetes-runtime/crds/core.oam.dev_manualscalertraits.yaml @@ -22,18 +22,13 @@ spec: - name: v1alpha2 schema: openAPIV3Schema: - description: A ManualScalerTrait determines how many replicas a workload should - have. + description: A ManualScalerTrait determines how many replicas a workload should have. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More 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. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object @@ -45,8 +40,7 @@ spec: format: int32 type: integer workloadRef: - description: WorkloadReference to the workload this trait applies - to. + description: WorkloadReference to the workload this trait applies to. properties: apiVersion: description: APIVersion of the referenced object. @@ -70,8 +64,7 @@ spec: - workloadRef type: object status: - description: A ManualScalerTraitStatus represents the observed state of - a ManualScalerTrait. + description: A ManualScalerTraitStatus represents the observed state of a ManualScalerTrait. properties: conditions: description: Conditions of the resource. @@ -79,25 +72,20 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition - transitioned from one status to another. + description: LastTransitionTime is the last time this condition transitioned from one status to another. format: date-time type: string message: - description: A Message containing details about this condition's - last transition from one status to another, if any. + description: A Message containing details about this condition's last transition from one status to another, if any. type: string reason: - description: A Reason for this condition's last transition from - one status to another. + description: A Reason for this condition's last transition from one status to another. type: string status: - description: Status of this condition; is it currently True, - False, or Unknown? + description: Status of this condition; is it currently True, False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition - type may apply to a resource at any point in time. + description: Type of this condition. At most one of each condition type may apply to a resource at any point in time. type: string required: - lastTransitionTime diff --git a/charts/oam-kubernetes-runtime/crds/core.oam.dev_scopedefinitions.yaml b/charts/oam-kubernetes-runtime/crds/core.oam.dev_scopedefinitions.yaml index 1fb71858..c64acc56 100644 --- a/charts/oam-kubernetes-runtime/crds/core.oam.dev_scopedefinitions.yaml +++ b/charts/oam-kubernetes-runtime/crds/core.oam.dev_scopedefinitions.yaml @@ -26,20 +26,13 @@ spec: name: v1alpha2 schema: openAPIV3Schema: - description: A ScopeDefinition registers a kind of Kubernetes custom resource - as a valid OAM scope kind by referencing its CustomResourceDefinition. The - CRD is used to validate the schema of the scope when it is embedded in an - OAM ApplicationConfiguration. + description: A ScopeDefinition registers a kind of Kubernetes custom resource as a valid OAM scope kind by referencing its CustomResourceDefinition. The CRD is used to validate the schema of the scope when it is embedded in an OAM ApplicationConfiguration. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More 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. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object @@ -47,32 +40,26 @@ spec: description: A ScopeDefinitionSpec defines the desired state of a ScopeDefinition. properties: allowComponentOverlap: - description: AllowComponentOverlap specifies whether an OAM component - may exist in multiple instances of this kind of scope. + description: AllowComponentOverlap specifies whether an OAM component may exist in multiple instances of this kind of scope. type: boolean definitionRef: - description: Reference to the CustomResourceDefinition that defines - this scope kind. + description: Reference to the CustomResourceDefinition that defines this scope kind. properties: name: description: Name of the referenced CustomResourceDefinition. type: string version: - description: Version indicate which version should be used if - CRD has multiple versions by default it will use the first one - if not specified + description: Version indicate which version should be used if CRD has multiple versions by default it will use the first one if not specified type: string required: - name type: object extension: - description: Extension is used for extension needs by OAM platform - builders + description: Extension is used for extension needs by OAM platform builders type: object x-kubernetes-preserve-unknown-fields: true workloadRefsPath: - description: WorkloadRefsPath indicates if/where a scope accepts workloadRef - objects + description: WorkloadRefsPath indicates if/where a scope accepts workloadRef objects type: string required: - allowComponentOverlap diff --git a/charts/oam-kubernetes-runtime/crds/core.oam.dev_traitdefinitions.yaml b/charts/oam-kubernetes-runtime/crds/core.oam.dev_traitdefinitions.yaml index 6e818eac..a88b261e 100644 --- a/charts/oam-kubernetes-runtime/crds/core.oam.dev_traitdefinitions.yaml +++ b/charts/oam-kubernetes-runtime/crds/core.oam.dev_traitdefinitions.yaml @@ -26,20 +26,13 @@ spec: name: v1alpha2 schema: openAPIV3Schema: - description: A TraitDefinition registers a kind of Kubernetes custom resource - as a valid OAM trait kind by referencing its CustomResourceDefinition. The - CRD is used to validate the schema of the trait when it is embedded in an - OAM ApplicationConfiguration. + description: A TraitDefinition registers a kind of Kubernetes custom resource as a valid OAM trait kind by referencing its CustomResourceDefinition. The CRD is used to validate the schema of the trait when it is embedded in an OAM ApplicationConfiguration. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More 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. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object @@ -47,40 +40,31 @@ spec: description: A TraitDefinitionSpec defines the desired state of a TraitDefinition. properties: appliesToWorkloads: - description: AppliesToWorkloads specifies the list of workload kinds - this trait applies to. Workload kinds are specified in kind.group/version - format, e.g. server.core.oam.dev/v1alpha2. Traits that omit this - field apply to all workload kinds. + description: AppliesToWorkloads specifies the list of workload kinds this trait applies to. Workload kinds are specified in kind.group/version format, e.g. server.core.oam.dev/v1alpha2. Traits that omit this field apply to all workload kinds. items: type: string type: array definitionRef: - description: Reference to the CustomResourceDefinition that defines - this trait kind. + description: Reference to the CustomResourceDefinition that defines this trait kind. properties: name: description: Name of the referenced CustomResourceDefinition. type: string version: - description: Version indicate which version should be used if - CRD has multiple versions by default it will use the first one - if not specified + description: Version indicate which version should be used if CRD has multiple versions by default it will use the first one if not specified type: string required: - name type: object extension: - description: Extension is used for extension needs by OAM platform - builders + description: Extension is used for extension needs by OAM platform builders type: object x-kubernetes-preserve-unknown-fields: true revisionEnabled: - description: Revision indicates whether a trait is aware of component - revision + description: Revision indicates whether a trait is aware of component revision type: boolean workloadRefPath: - description: WorkloadRefPath indicates where/if a trait accepts a - workloadRef object + description: WorkloadRefPath indicates where/if a trait accepts a workloadRef object type: string required: - definitionRef diff --git a/charts/oam-kubernetes-runtime/crds/core.oam.dev_workloaddefinitions.yaml b/charts/oam-kubernetes-runtime/crds/core.oam.dev_workloaddefinitions.yaml index 16f6b4f4..404a5a2e 100644 --- a/charts/oam-kubernetes-runtime/crds/core.oam.dev_workloaddefinitions.yaml +++ b/charts/oam-kubernetes-runtime/crds/core.oam.dev_workloaddefinitions.yaml @@ -26,20 +26,13 @@ spec: name: v1alpha2 schema: openAPIV3Schema: - description: A WorkloadDefinition registers a kind of Kubernetes custom resource - as a valid OAM workload kind by referencing its CustomResourceDefinition. - The CRD is used to validate the schema of the workload when it is embedded - in an OAM Component. + description: A WorkloadDefinition registers a kind of Kubernetes custom resource as a valid OAM workload kind by referencing its CustomResourceDefinition. The CRD is used to validate the schema of the workload when it is embedded in an OAM Component. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More 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. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object @@ -47,11 +40,9 @@ spec: description: A WorkloadDefinitionSpec defines the desired state of a WorkloadDefinition. properties: childResourceKinds: - description: ChildResourceKinds are the list of GVK of the child resources - this workload generates + description: ChildResourceKinds are the list of GVK of the child resources this workload generates items: - description: A ChildResourceKind defines a child Kubernetes resource - kind with a selector + description: A ChildResourceKind defines a child Kubernetes resource kind with a selector properties: apiVersion: description: APIVersion of the child resource @@ -62,8 +53,7 @@ spec: selector: additionalProperties: type: string - description: Selector to select the child resources that the - workload wants to expose to traits + description: Selector to select the child resources that the workload wants to expose to traits type: object required: - apiVersion @@ -71,34 +61,26 @@ spec: type: object type: array definitionRef: - description: Reference to the CustomResourceDefinition that defines - this workload kind. + description: Reference to the CustomResourceDefinition that defines this workload kind. properties: name: description: Name of the referenced CustomResourceDefinition. type: string version: - description: Version indicate which version should be used if - CRD has multiple versions by default it will use the first one - if not specified + description: Version indicate which version should be used if CRD has multiple versions by default it will use the first one if not specified type: string required: - name type: object extension: - description: Extension is used for extension needs by OAM platform - builders + description: Extension is used for extension needs by OAM platform builders type: object x-kubernetes-preserve-unknown-fields: true podSpecPath: - description: PodSpecPath indicates where/if this workload has K8s - podSpec field if one workload has podSpec, trait can do lot's of - assumption such as port, env, volume fields. + description: PodSpecPath indicates where/if this workload has K8s podSpec field if one workload has podSpec, trait can do lot's of assumption such as port, env, volume fields. type: string revisionLabel: - description: RevisionLabel indicates which label for underlying resources(e.g. - pods) of this workload can be used by trait to create resource selectors(e.g. - label selector for pods). + description: RevisionLabel indicates which label for underlying resources(e.g. pods) of this workload can be used by trait to create resource selectors(e.g. label selector for pods). type: string required: - definitionRef diff --git a/legacy/crds/core.oam.dev_applicationconfigurations.yaml b/legacy/crds/core.oam.dev_applicationconfigurations.yaml index 898094e2..582f9999 100644 --- a/legacy/crds/core.oam.dev_applicationconfigurations.yaml +++ b/legacy/crds/core.oam.dev_applicationconfigurations.yaml @@ -27,47 +27,31 @@ spec: description: An ApplicationConfiguration represents an OAM application. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More 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. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object spec: - description: An ApplicationConfigurationSpec defines the desired state of - a ApplicationConfiguration. + description: An ApplicationConfigurationSpec defines the desired state of a ApplicationConfiguration. properties: components: - description: Components of which this ApplicationConfiguration consists. - Each component will be used to instantiate a workload. + description: Components of which this ApplicationConfiguration consists. Each component will be used to instantiate a workload. items: - description: An ApplicationConfigurationComponent specifies a component - of an ApplicationConfiguration. Each component is used to instantiate - a workload. + description: An ApplicationConfigurationComponent specifies a component of an ApplicationConfiguration. Each component is used to instantiate a workload. properties: componentName: - description: ComponentName specifies a component whose latest - revision will be bind with ApplicationConfiguration. When the - spec of the referenced component changes, ApplicationConfiguration - will automatically migrate all trait affect from the prior revision - to the new one. This is mutually exclusive with RevisionName. + description: ComponentName specifies a component whose latest revision will be bind with ApplicationConfiguration. When the spec of the referenced component changes, ApplicationConfiguration will automatically migrate all trait affect from the prior revision to the new one. This is mutually exclusive with RevisionName. type: string dataInputs: - description: DataInputs specify the data input sinks into this - component. + description: DataInputs specify the data input sinks into this component. items: - description: DataInput specifies a data input sink to an object. - If input is array, it will be appended to the target field - paths. + description: DataInput specifies a data input sink to an object. If input is array, it will be appended to the target field paths. properties: toFieldPaths: - description: ToFieldPaths specifies the field paths of an - object to fill passed value. + description: ToFieldPaths specifies the field paths of an object to fill passed value. items: type: string type: array @@ -75,8 +59,7 @@ spec: description: ValueFrom specifies the value source. properties: dataOutputName: - description: DataOutputName matches a name of a DataOutput - in the same AppConfig. + description: DataOutputName matches a name of a DataOutput in the same AppConfig. type: string required: - dataOutputName @@ -84,36 +67,26 @@ spec: type: object type: array dataOutputs: - description: DataOutputs specify the data output sources from - this component. + description: DataOutputs specify the data output sources from this component. items: - description: DataOutput specifies a data output source from - an object. + description: DataOutput specifies a data output source from an object. properties: conditions: - description: Conditions specify the conditions that should - be satisfied before emitting a data output. Different - conditions are AND-ed together. If no conditions is specified, - it is by default to check output value not empty. + description: Conditions specify the conditions that should be satisfied before emitting a data output. Different conditions are AND-ed together. If no conditions is specified, it is by default to check output value not empty. items: - description: ConditionRequirement specifies the requirement - to match a value. + description: ConditionRequirement specifies the requirement to match a value. properties: fieldPath: - description: FieldPath specifies got value from workload/trait - object + description: FieldPath specifies got value from workload/trait object type: string op: - description: ConditionOperator specifies the operator - to match a value. + description: ConditionOperator specifies the operator to match a value. type: string value: - description: Value specifies an expected value This - is mutually exclusive with ValueFrom + description: Value specifies an expected value This is mutually exclusive with ValueFrom type: string valueFrom: - description: ValueFrom specifies expected value from - AppConfig This is mutually exclusive with Value + description: ValueFrom specifies expected value from AppConfig This is mutually exclusive with Value properties: fieldPath: type: string @@ -125,23 +98,17 @@ spec: type: object type: array fieldPath: - description: FieldPath refers to the value of an object's - field. + description: FieldPath refers to the value of an object's field. type: string name: - description: Name is the unique name of a DataOutput in - an ApplicationConfiguration. + description: Name is the unique name of a DataOutput in an ApplicationConfiguration. type: string type: object type: array parameterValues: - description: ParameterValues specify values for the the specified - component's parameters. Any parameter required by the component - must be specified. + description: ParameterValues specify values for the the specified component's parameters. Any parameter required by the component must be specified. items: - description: A ComponentParameterValue specifies a value for - a named parameter. The associated component must publish a - parameter with this name. + description: A ComponentParameterValue specifies a value for a named parameter. The associated component must publish a parameter with this name. properties: name: description: Name of the component parameter to set. @@ -158,19 +125,15 @@ spec: type: object type: array revisionName: - description: RevisionName of a specific component revision to - which to bind ApplicationConfiguration. This is mutually exclusive - with componentName. + description: RevisionName of a specific component revision to which to bind ApplicationConfiguration. This is mutually exclusive with componentName. type: string scopes: description: Scopes in which the specified component should exist. items: - description: A ComponentScope specifies a scope in which a component - should exist. + description: A ComponentScope specifies a scope in which a component should exist. properties: scopeRef: - description: A ScopeReference must refer to an OAM scope - resource. + description: A ScopeReference must refer to an OAM scope resource. properties: apiVersion: description: APIVersion of the referenced object. @@ -196,20 +159,15 @@ spec: traits: description: Traits of the specified component. items: - description: A ComponentTrait specifies a trait that should - be applied to a component. + description: A ComponentTrait specifies a trait that should be applied to a component. properties: dataInputs: - description: DataInputs specify the data input sinks into - this trait. + description: DataInputs specify the data input sinks into this trait. items: - description: DataInput specifies a data input sink to - an object. If input is array, it will be appended to - the target field paths. + description: DataInput specifies a data input sink to an object. If input is array, it will be appended to the target field paths. properties: toFieldPaths: - description: ToFieldPaths specifies the field paths - of an object to fill passed value. + description: ToFieldPaths specifies the field paths of an object to fill passed value. items: type: string type: array @@ -217,8 +175,7 @@ spec: description: ValueFrom specifies the value source. properties: dataOutputName: - description: DataOutputName matches a name of - a DataOutput in the same AppConfig. + description: DataOutputName matches a name of a DataOutput in the same AppConfig. type: string required: - dataOutputName @@ -226,38 +183,26 @@ spec: type: object type: array dataOutputs: - description: DataOutputs specify the data output sources - from this trait. + description: DataOutputs specify the data output sources from this trait. items: - description: DataOutput specifies a data output source - from an object. + description: DataOutput specifies a data output source from an object. properties: conditions: - description: Conditions specify the conditions that - should be satisfied before emitting a data output. - Different conditions are AND-ed together. If no - conditions is specified, it is by default to check - output value not empty. + description: Conditions specify the conditions that should be satisfied before emitting a data output. Different conditions are AND-ed together. If no conditions is specified, it is by default to check output value not empty. items: - description: ConditionRequirement specifies the - requirement to match a value. + description: ConditionRequirement specifies the requirement to match a value. properties: fieldPath: - description: FieldPath specifies got value from - workload/trait object + description: FieldPath specifies got value from workload/trait object type: string op: - description: ConditionOperator specifies the - operator to match a value. + description: ConditionOperator specifies the operator to match a value. type: string value: - description: Value specifies an expected value - This is mutually exclusive with ValueFrom + description: Value specifies an expected value This is mutually exclusive with ValueFrom type: string valueFrom: - description: ValueFrom specifies expected value - from AppConfig This is mutually exclusive - with Value + description: ValueFrom specifies expected value from AppConfig This is mutually exclusive with Value properties: fieldPath: type: string @@ -269,12 +214,10 @@ spec: type: object type: array fieldPath: - description: FieldPath refers to the value of an object's - field. + description: FieldPath refers to the value of an object's field. type: string name: - description: Name is the unique name of a DataOutput - in an ApplicationConfiguration. + description: Name is the unique name of a DataOutput in an ApplicationConfiguration. type: string type: object type: array @@ -293,8 +236,7 @@ spec: - components type: object status: - description: An ApplicationConfigurationStatus represents the observed state - of a ApplicationConfiguration. + description: An ApplicationConfigurationStatus represents the observed state of a ApplicationConfiguration. properties: conditions: description: Conditions of the resource. @@ -302,25 +244,20 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition - transitioned from one status to another. + description: LastTransitionTime is the last time this condition transitioned from one status to another. format: date-time type: string message: - description: A Message containing details about this condition's - last transition from one status to another, if any. + description: A Message containing details about this condition's last transition from one status to another, if any. type: string reason: - description: A Reason for this condition's last transition from - one status to another. + description: A Reason for this condition's last transition from one status to another. type: string status: - description: Status of this condition; is it currently True, False, - or Unknown? + description: Status of this condition; is it currently True, False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition - type may apply to a resource at any point in time. + description: Type of this condition. At most one of each condition type may apply to a resource at any point in time. type: string required: - lastTransitionTime @@ -330,17 +267,14 @@ spec: type: object type: array dependency: - description: DependencyStatus represents the observed state of the dependency - of an ApplicationConfiguration. + description: DependencyStatus represents the observed state of the dependency of an ApplicationConfiguration. properties: unsatisfied: items: - description: UnstaifiedDependency describes unsatisfied dependency - flow between one pair of objects. + description: UnstaifiedDependency describes unsatisfied dependency flow between one pair of objects. properties: from: - description: DependencyFromObject represents the object that - dependency data comes from. + description: DependencyFromObject represents the object that dependency data comes from. properties: apiVersion: description: APIVersion of the referenced object. @@ -364,8 +298,7 @@ spec: reason: type: string to: - description: DependencyToObject represents the object that - dependency data goes to. + description: DependencyToObject represents the object that dependency data goes to. properties: apiVersion: description: APIVersion of the referenced object. @@ -396,11 +329,9 @@ spec: type: array type: object historyWorkloads: - description: HistoryWorkloads will record history but still working - revision workloads. + description: HistoryWorkloads will record history but still working revision workloads. items: - description: HistoryWorkload contain the old component revision that - are still running + description: HistoryWorkload contain the old component revision that are still running properties: revision: description: Revision of this workload @@ -432,9 +363,7 @@ spec: format: int64 type: integer status: - description: Status is a place holder for a customized controller to - fill if it needs a single place to summarize the status of the entire - application + description: Status is a place holder for a customized controller to fill if it needs a single place to summarize the status of the entire application type: string workloads: description: Workloads created by this ApplicationConfiguration. @@ -450,8 +379,7 @@ spec: scopes: description: Scopes associated with this workload. items: - description: A WorkloadScope represents a scope associated with - a workload and its status + description: A WorkloadScope represents a scope associated with a workload and its status properties: scopeRef: description: Reference to a scope created by an ApplicationConfiguration. @@ -474,33 +402,25 @@ spec: - name type: object status: - description: Status is a place holder for a customized controller - to fill if it needs a single place to summarize the status - of the scope + description: Status is a place holder for a customized controller to fill if it needs a single place to summarize the status of the scope type: string required: - scopeRef type: object type: array status: - description: Status is a place holder for a customized controller - to fill if it needs a single place to summarize the entire status - of the workload + description: Status is a place holder for a customized controller to fill if it needs a single place to summarize the entire status of the workload type: string traits: description: Traits associated with this workload. items: - description: A WorkloadTrait represents a trait associated with - a workload and its status + description: A WorkloadTrait represents a trait associated with a workload and its status properties: message: - description: Message will allow controller to leave some - additional information for this trait + description: Message will allow controller to leave some additional information for this trait type: string status: - description: Status is a place holder for a customized controller - to fill if it needs a single place to summarize the status - of the trait + description: Status is a place holder for a customized controller to fill if it needs a single place to summarize the status of the trait type: string traitRef: description: Reference to a trait created by an ApplicationConfiguration. diff --git a/legacy/crds/core.oam.dev_components.yaml b/legacy/crds/core.oam.dev_components.yaml index 61b22b0e..517cd1ca 100644 --- a/legacy/crds/core.oam.dev_components.yaml +++ b/legacy/crds/core.oam.dev_components.yaml @@ -32,14 +32,10 @@ spec: description: A Component describes how an OAM workload kind may be instantiated. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More 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. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object @@ -47,34 +43,24 @@ spec: description: A ComponentSpec defines the desired state of a Component. properties: parameters: - description: Parameters exposed by this component. ApplicationConfigurations - that reference this component may specify values for these parameters, - which will in turn be injected into the embedded workload. + description: Parameters exposed by this component. ApplicationConfigurations that reference this component may specify values for these parameters, which will in turn be injected into the embedded workload. items: - description: A ComponentParameter defines a configurable parameter - of a component. + description: A ComponentParameter defines a configurable parameter of a component. properties: description: description: Description of this parameter. type: string fieldPaths: - description: FieldPaths specifies an array of fields within this - Component's workload that will be overwritten by the value of - this parameter. The type of the parameter (e.g. int, string) - is inferred from the type of these fields; All fields must be - of the same type. Fields are specified as JSON field paths without - a leading dot, for example 'spec.replicas'. + description: FieldPaths specifies an array of fields within this Component's workload that will be overwritten by the value of this parameter. The type of the parameter (e.g. int, string) is inferred from the type of these fields; All fields must be of the same type. Fields are specified as JSON field paths without a leading dot, for example 'spec.replicas'. items: type: string type: array name: - description: Name of this parameter. OAM ApplicationConfigurations - will specify parameter values using this name. + description: Name of this parameter. OAM ApplicationConfigurations will specify parameter values using this name. type: string required: - description: Required specifies whether or not a value for this - parameter must be supplied when authoring an ApplicationConfiguration. + description: Required specifies whether or not a value for this parameter must be supplied when authoring an ApplicationConfiguration. type: boolean required: - fieldPaths @@ -82,10 +68,7 @@ spec: type: object type: array workload: - description: A Workload that will be created for each ApplicationConfiguration - that includes this Component. Workload is an instance of a workloadDefinition. - We either use the GVK info or a special "type" field in the workload - to associate the content of the workload with its workloadDefinition + description: A Workload that will be created for each ApplicationConfiguration that includes this Component. Workload is an instance of a workloadDefinition. We either use the GVK info or a special "type" field in the workload to associate the content of the workload with its workloadDefinition type: object @@ -101,25 +84,20 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition - transitioned from one status to another. + description: LastTransitionTime is the last time this condition transitioned from one status to another. format: date-time type: string message: - description: A Message containing details about this condition's - last transition from one status to another, if any. + description: A Message containing details about this condition's last transition from one status to another, if any. type: string reason: - description: A Reason for this condition's last transition from - one status to another. + description: A Reason for this condition's last transition from one status to another. type: string status: - description: Status of this condition; is it currently True, False, - or Unknown? + description: Status of this condition; is it currently True, False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition - type may apply to a resource at any point in time. + description: Type of this condition. At most one of each condition type may apply to a resource at any point in time. type: string required: - lastTransitionTime diff --git a/legacy/crds/core.oam.dev_containerizedworkloads.yaml b/legacy/crds/core.oam.dev_containerizedworkloads.yaml index 52be5887..14692ee1 100644 --- a/legacy/crds/core.oam.dev_containerizedworkloads.yaml +++ b/legacy/crds/core.oam.dev_containerizedworkloads.yaml @@ -25,20 +25,15 @@ spec: description: A ContainerizedWorkload is a workload that runs OCI containers. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More 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. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object spec: - description: A ContainerizedWorkloadSpec defines the desired state of a - ContainerizedWorkload. + description: A ContainerizedWorkloadSpec defines the desired state of a ContainerizedWorkload. properties: arch: description: CPUArchitecture required by this workload. @@ -51,12 +46,10 @@ spec: containers: description: Containers of which this workload consists. items: - description: A Container represents an Open Containers Initiative - (OCI) container. + description: A Container represents an Open Containers Initiative (OCI) container. properties: args: - description: Arguments to be passed to the command run by this - container. + description: Arguments to be passed to the command run by this container. items: type: string type: array @@ -68,13 +61,10 @@ spec: config: description: ConfigFiles that should be written within this container. items: - description: A ContainerConfigFile specifies a configuration - file that should be written within a container. + description: A ContainerConfigFile specifies a configuration file that should be written within a container. properties: fromSecret: - description: FromSecret is a secret key reference which - can be used to assign a value to be written to the configuration - file at the given path in the container. + description: FromSecret is a secret key reference which can be used to assign a value to be written to the configuration file at the given path in the container. properties: key: description: The key to select. @@ -87,27 +77,22 @@ spec: - name type: object path: - description: Path within the container at which the configuration - file should be written. + description: Path within the container at which the configuration file should be written. type: string value: - description: Value that should be written to the configuration - file. + description: Value that should be written to the configuration file. type: string required: - path type: object type: array env: - description: Environment variables that should be set within this - container. + description: Environment variables that should be set within this container. items: - description: A ContainerEnvVar specifies an environment variable - that should be set within a container. + description: A ContainerEnvVar specifies an environment variable that should be set within a container. properties: fromSecret: - description: FromSecret is a secret key reference which - can be used to assign a value to the environment variable. + description: FromSecret is a secret key reference which can be used to assign a value to the environment variable. properties: key: description: The key to select. @@ -120,9 +105,7 @@ spec: - name type: object name: - description: Name of the environment variable. Must be composed - of valid Unicode letter and number characters, as well - as _ and -. + description: Name of the environment variable. Must be composed of valid Unicode letter and number characters, as well as _ and -. pattern: ^[-_a-zA-Z0-9]+$ type: string value: @@ -133,22 +116,16 @@ spec: type: object type: array image: - description: Image this container should run. Must be a path-like - or URI-like representation of an OCI image. May be prefixed - with a registry address and should be suffixed with a tag. + description: Image this container should run. Must be a path-like or URI-like representation of an OCI image. May be prefixed with a registry address and should be suffixed with a tag. type: string imagePullSecret: - description: ImagePullSecret specifies the name of a Secret from - which the credentials required to pull this container's image - can be loaded. + description: ImagePullSecret specifies the name of a Secret from which the credentials required to pull this container's image can be loaded. type: string livenessProbe: - description: A LivenessProbe assesses whether this container is - alive. Containers that fail liveness probes will be restarted. + description: A LivenessProbe assesses whether this container is alive. Containers that fail liveness probes will be restarted. properties: exec: - description: Exec probes a container's health by executing - a command. + description: Exec probes a container's health by executing a command. properties: command: description: Command to be run by this probe. @@ -159,24 +136,19 @@ spec: - command type: object failureThreshold: - description: FailureThreshold specifies how many consecutive - probes must fail in order for the container to be considered - healthy. + description: FailureThreshold specifies how many consecutive probes must fail in order for the container to be considered healthy. format: int32 type: integer httpGet: - description: HTTPGet probes a container's health by sending - an HTTP GET request. + description: HTTPGet probes a container's health by sending an HTTP GET request. properties: httpHeaders: description: HTTPHeaders to send with the GET request. items: - description: A HTTPHeader to be passed when probing - a container. + description: A HTTPHeader to be passed when probing a container. properties: name: - description: Name of this HTTP header. Must be unique - per probe. + description: Name of this HTTP header. Must be unique per probe. type: string value: description: Value of this HTTP header. @@ -198,8 +170,7 @@ spec: - port type: object initialDelaySeconds: - description: InitialDelaySeconds after a container starts - before the first probe. + description: InitialDelaySeconds after a container starts before the first probe. format: int32 type: integer periodSeconds: @@ -207,14 +178,11 @@ spec: format: int32 type: integer successThreshold: - description: SuccessThreshold specifies how many consecutive - probes must success in order for the container to be considered - healthy. + description: SuccessThreshold specifies how many consecutive probes must success in order for the container to be considered healthy. format: int32 type: integer tcpSocket: - description: TCPSocketProbe probes a container's health by - connecting to a TCP socket. + description: TCPSocketProbe probes a container's health by connecting to a TCP socket. properties: port: description: Port this probe should connect to. @@ -229,27 +197,23 @@ spec: type: integer type: object name: - description: Name of this container. Must be unique within its - workload. + description: Name of this container. Must be unique within its workload. type: string ports: description: Ports exposed by this container. items: - description: A ContainerPort specifies a port that is exposed - by a container. + description: A ContainerPort specifies a port that is exposed by a container. properties: containerPort: description: Port number. Must be unique within its container. format: int32 type: integer name: - description: Name of this port. Must be unique within its - container. Must be lowercase alphabetical characters. + description: Name of this port. Must be unique within its container. Must be lowercase alphabetical characters. pattern: ^[a-z]+$ type: string protocol: - description: Protocol used by the server listening on this - port. + description: Protocol used by the server listening on this port. enum: - TCP - UDP @@ -260,13 +224,10 @@ spec: type: object type: array readinessProbe: - description: A ReadinessProbe assesses whether this container - is ready to serve requests. Containers that fail readiness probes - will be withdrawn from service. + description: A ReadinessProbe assesses whether this container is ready to serve requests. Containers that fail readiness probes will be withdrawn from service. properties: exec: - description: Exec probes a container's health by executing - a command. + description: Exec probes a container's health by executing a command. properties: command: description: Command to be run by this probe. @@ -277,24 +238,19 @@ spec: - command type: object failureThreshold: - description: FailureThreshold specifies how many consecutive - probes must fail in order for the container to be considered - healthy. + description: FailureThreshold specifies how many consecutive probes must fail in order for the container to be considered healthy. format: int32 type: integer httpGet: - description: HTTPGet probes a container's health by sending - an HTTP GET request. + description: HTTPGet probes a container's health by sending an HTTP GET request. properties: httpHeaders: description: HTTPHeaders to send with the GET request. items: - description: A HTTPHeader to be passed when probing - a container. + description: A HTTPHeader to be passed when probing a container. properties: name: - description: Name of this HTTP header. Must be unique - per probe. + description: Name of this HTTP header. Must be unique per probe. type: string value: description: Value of this HTTP header. @@ -316,8 +272,7 @@ spec: - port type: object initialDelaySeconds: - description: InitialDelaySeconds after a container starts - before the first probe. + description: InitialDelaySeconds after a container starts before the first probe. format: int32 type: integer periodSeconds: @@ -325,14 +280,11 @@ spec: format: int32 type: integer successThreshold: - description: SuccessThreshold specifies how many consecutive - probes must success in order for the container to be considered - healthy. + description: SuccessThreshold specifies how many consecutive probes must success in order for the container to be considered healthy. format: int32 type: integer tcpSocket: - description: TCPSocketProbe probes a container's health by - connecting to a TCP socket. + description: TCPSocketProbe probes a container's health by connecting to a TCP socket. properties: port: description: Port this probe should connect to. @@ -353,8 +305,7 @@ spec: description: CPU required by this container. properties: required: - description: Required CPU count. 1.0 represents one CPU - core. + description: Required CPU count. 1.0 represents one CPU core. type: string required: - required @@ -365,16 +316,13 @@ spec: description: ExtendedResource required by a container. properties: name: - description: Name of the external resource. Resource - names are specified in kind.group/version format, - e.g. motionsensor.ext.example.com/v1. + description: Name of the external resource. Resource names are specified in kind.group/version format, e.g. motionsensor.ext.example.com/v1. type: string required: anyOf: - type: integer - type: string - description: Required extended resource(s), e.g. 8 or - "very-cool-widget" + description: Required extended resource(s), e.g. 8 or "very-cool-widget" x-kubernetes-int-or-string: true required: - name @@ -405,8 +353,7 @@ spec: description: VolumeResource required by a container. properties: accessMode: - description: AccessMode of this volume; RO (read only) - or RW (read and write). + description: AccessMode of this volume; RO (read only) or RW (read and write). enum: - RO - RW @@ -415,8 +362,7 @@ spec: description: Disk requirements of this volume. properties: ephemeral: - description: Ephemeral specifies whether an external - disk needs to be mounted. + description: Ephemeral specifies whether an external disk needs to be mounted. type: boolean required: description: Required disk space. @@ -425,16 +371,13 @@ spec: - required type: object mountPath: - description: MountPath at which this volume will be - mounted within its container. + description: MountPath at which this volume will be mounted within its container. type: string name: - description: Name of this volume. Must be unique within - its container. + description: Name of this volume. Must be unique within its container. type: string sharingPolicy: - description: SharingPolicy of this volume; Exclusive - or Shared. + description: SharingPolicy of this volume; Exclusive or Shared. enum: - Exclusive - Shared @@ -463,8 +406,7 @@ spec: - containers type: object status: - description: A ContainerizedWorkloadStatus represents the observed state - of a ContainerizedWorkload. + description: A ContainerizedWorkloadStatus represents the observed state of a ContainerizedWorkload. properties: conditions: description: Conditions of the resource. @@ -472,25 +414,20 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition - transitioned from one status to another. + description: LastTransitionTime is the last time this condition transitioned from one status to another. format: date-time type: string message: - description: A Message containing details about this condition's - last transition from one status to another, if any. + description: A Message containing details about this condition's last transition from one status to another, if any. type: string reason: - description: A Reason for this condition's last transition from - one status to another. + description: A Reason for this condition's last transition from one status to another. type: string status: - description: Status of this condition; is it currently True, False, - or Unknown? + description: Status of this condition; is it currently True, False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition - type may apply to a resource at any point in time. + description: Type of this condition. At most one of each condition type may apply to a resource at any point in time. type: string required: - lastTransitionTime @@ -502,9 +439,7 @@ spec: resources: description: Resources managed by this containerised workload. items: - description: A TypedReference refers to an object by Name, Kind, and - APIVersion. It is commonly used to reference cluster-scoped objects - or objects where the namespace is already known. + description: A TypedReference refers to an object by Name, Kind, and APIVersion. It is commonly used to reference cluster-scoped objects or objects where the namespace is already known. properties: apiVersion: description: APIVersion of the referenced object. diff --git a/legacy/crds/core.oam.dev_healthscopes.yaml b/legacy/crds/core.oam.dev_healthscopes.yaml index 3d6718cb..513164a6 100644 --- a/legacy/crds/core.oam.dev_healthscopes.yaml +++ b/legacy/crds/core.oam.dev_healthscopes.yaml @@ -26,18 +26,13 @@ spec: status: {} validation: openAPIV3Schema: - description: A HealthScope determines an aggregate health status based of the - health of components. + description: A HealthScope determines an aggregate health status based of the health of components. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More 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. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object @@ -45,21 +40,17 @@ spec: description: A HealthScopeSpec defines the desired state of a HealthScope. properties: probe-interval: - description: ProbeInterval is the amount of time in seconds between - probing tries. + description: ProbeInterval is the amount of time in seconds between probing tries. format: int32 type: integer probe-timeout: - description: ProbeTimeout is the amount of time in seconds to wait when - receiving a response before marked failure. + description: ProbeTimeout is the amount of time in seconds to wait when receiving a response before marked failure. format: int32 type: integer workloadRefs: description: WorkloadReferences to the workloads that are in this scope. items: - description: A TypedReference refers to an object by Name, Kind, and - APIVersion. It is commonly used to reference cluster-scoped objects - or objects where the namespace is already known. + description: A TypedReference refers to an object by Name, Kind, and APIVersion. It is commonly used to reference cluster-scoped objects or objects where the namespace is already known. properties: apiVersion: description: APIVersion of the referenced object. @@ -91,25 +82,20 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition - transitioned from one status to another. + description: LastTransitionTime is the last time this condition transitioned from one status to another. format: date-time type: string message: - description: A Message containing details about this condition's - last transition from one status to another, if any. + description: A Message containing details about this condition's last transition from one status to another, if any. type: string reason: - description: A Reason for this condition's last transition from - one status to another. + description: A Reason for this condition's last transition from one status to another. type: string status: - description: Status of this condition; is it currently True, False, - or Unknown? + description: Status of this condition; is it currently True, False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition - type may apply to a resource at any point in time. + description: Type of this condition. At most one of each condition type may apply to a resource at any point in time. type: string required: - lastTransitionTime @@ -119,15 +105,12 @@ spec: type: object type: array healthConditions: - description: WorkloadHealthConditions represents health condition of - workloads in the scope + description: WorkloadHealthConditions represents health condition of workloads in the scope items: - description: WorkloadHealthCondition represents informative health - condition. + description: WorkloadHealthCondition represents informative health condition. properties: componentName: - description: ComponentName represents the component name if target - is a workload + description: ComponentName represents the component name if target is a workload type: string diagnosis: type: string @@ -135,9 +118,7 @@ spec: description: HealthStatus represents health status strings. type: string targetWorkload: - description: A TypedReference refers to an object by Name, Kind, - and APIVersion. It is commonly used to reference cluster-scoped - objects or objects where the namespace is already known. + description: A TypedReference refers to an object by Name, Kind, and APIVersion. It is commonly used to reference cluster-scoped objects or objects where the namespace is already known. properties: apiVersion: description: APIVersion of the referenced object. @@ -157,16 +138,14 @@ spec: - name type: object workloadStatus: - description: WorkloadStatus represents status of workloads whose - HealthStatus is UNKNOWN. + description: WorkloadStatus represents status of workloads whose HealthStatus is UNKNOWN. type: string required: - healthStatus type: object type: array scopeHealthCondition: - description: ScopeHealthCondition represents health condition summary - of the scope + description: ScopeHealthCondition represents health condition summary of the scope properties: healthStatus: description: HealthStatus represents health status strings. diff --git a/legacy/crds/core.oam.dev_manualscalertraits.yaml b/legacy/crds/core.oam.dev_manualscalertraits.yaml index f930dcc0..f9a2f158 100644 --- a/legacy/crds/core.oam.dev_manualscalertraits.yaml +++ b/legacy/crds/core.oam.dev_manualscalertraits.yaml @@ -22,18 +22,13 @@ spec: status: {} validation: openAPIV3Schema: - description: A ManualScalerTrait determines how many replicas a workload should - have. + description: A ManualScalerTrait determines how many replicas a workload should have. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More 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. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object @@ -69,8 +64,7 @@ spec: - workloadRef type: object status: - description: A ManualScalerTraitStatus represents the observed state of - a ManualScalerTrait. + description: A ManualScalerTraitStatus represents the observed state of a ManualScalerTrait. properties: conditions: description: Conditions of the resource. @@ -78,25 +72,20 @@ spec: description: A Condition that may apply to a resource. properties: lastTransitionTime: - description: LastTransitionTime is the last time this condition - transitioned from one status to another. + description: LastTransitionTime is the last time this condition transitioned from one status to another. format: date-time type: string message: - description: A Message containing details about this condition's - last transition from one status to another, if any. + description: A Message containing details about this condition's last transition from one status to another, if any. type: string reason: - description: A Reason for this condition's last transition from - one status to another. + description: A Reason for this condition's last transition from one status to another. type: string status: - description: Status of this condition; is it currently True, False, - or Unknown? + description: Status of this condition; is it currently True, False, or Unknown? type: string type: - description: Type of this condition. At most one of each condition - type may apply to a resource at any point in time. + description: Type of this condition. At most one of each condition type may apply to a resource at any point in time. type: string required: - lastTransitionTime diff --git a/legacy/crds/core.oam.dev_scopedefinitions.yaml b/legacy/crds/core.oam.dev_scopedefinitions.yaml index 6acf7b03..56742c7f 100644 --- a/legacy/crds/core.oam.dev_scopedefinitions.yaml +++ b/legacy/crds/core.oam.dev_scopedefinitions.yaml @@ -25,20 +25,13 @@ spec: subresources: {} validation: openAPIV3Schema: - description: A ScopeDefinition registers a kind of Kubernetes custom resource - as a valid OAM scope kind by referencing its CustomResourceDefinition. The - CRD is used to validate the schema of the scope when it is embedded in an - OAM ApplicationConfiguration. + description: A ScopeDefinition registers a kind of Kubernetes custom resource as a valid OAM scope kind by referencing its CustomResourceDefinition. The CRD is used to validate the schema of the scope when it is embedded in an OAM ApplicationConfiguration. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More 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. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object @@ -46,20 +39,16 @@ spec: description: A ScopeDefinitionSpec defines the desired state of a ScopeDefinition. properties: allowComponentOverlap: - description: AllowComponentOverlap specifies whether an OAM component - may exist in multiple instances of this kind of scope. + description: AllowComponentOverlap specifies whether an OAM component may exist in multiple instances of this kind of scope. type: boolean definitionRef: - description: Reference to the CustomResourceDefinition that defines - this scope kind. + description: Reference to the CustomResourceDefinition that defines this scope kind. properties: name: description: Name of the referenced CustomResourceDefinition. type: string version: - description: Version indicate which version should be used if CRD - has multiple versions by default it will use the first one if - not specified + description: Version indicate which version should be used if CRD has multiple versions by default it will use the first one if not specified type: string required: - name @@ -69,8 +58,7 @@ spec: type: object workloadRefsPath: - description: WorkloadRefsPath indicates if/where a scope accepts workloadRef - objects + description: WorkloadRefsPath indicates if/where a scope accepts workloadRef objects type: string required: - allowComponentOverlap diff --git a/legacy/crds/core.oam.dev_traitdefinitions.yaml b/legacy/crds/core.oam.dev_traitdefinitions.yaml index f4b53d10..d5860429 100644 --- a/legacy/crds/core.oam.dev_traitdefinitions.yaml +++ b/legacy/crds/core.oam.dev_traitdefinitions.yaml @@ -25,20 +25,13 @@ spec: subresources: {} validation: openAPIV3Schema: - description: A TraitDefinition registers a kind of Kubernetes custom resource - as a valid OAM trait kind by referencing its CustomResourceDefinition. The - CRD is used to validate the schema of the trait when it is embedded in an - OAM ApplicationConfiguration. + description: A TraitDefinition registers a kind of Kubernetes custom resource as a valid OAM trait kind by referencing its CustomResourceDefinition. The CRD is used to validate the schema of the trait when it is embedded in an OAM ApplicationConfiguration. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More 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. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object @@ -46,24 +39,18 @@ spec: description: A TraitDefinitionSpec defines the desired state of a TraitDefinition. properties: appliesToWorkloads: - description: AppliesToWorkloads specifies the list of workload kinds - this trait applies to. Workload kinds are specified in kind.group/version - format, e.g. server.core.oam.dev/v1alpha2. Traits that omit this field - apply to all workload kinds. + description: AppliesToWorkloads specifies the list of workload kinds this trait applies to. Workload kinds are specified in kind.group/version format, e.g. server.core.oam.dev/v1alpha2. Traits that omit this field apply to all workload kinds. items: type: string type: array definitionRef: - description: Reference to the CustomResourceDefinition that defines - this trait kind. + description: Reference to the CustomResourceDefinition that defines this trait kind. properties: name: description: Name of the referenced CustomResourceDefinition. type: string version: - description: Version indicate which version should be used if CRD - has multiple versions by default it will use the first one if - not specified + description: Version indicate which version should be used if CRD has multiple versions by default it will use the first one if not specified type: string required: - name @@ -73,12 +60,10 @@ spec: type: object revisionEnabled: - description: Revision indicates whether a trait is aware of component - revision + description: Revision indicates whether a trait is aware of component revision type: boolean workloadRefPath: - description: WorkloadRefPath indicates where/if a trait accepts a workloadRef - object + description: WorkloadRefPath indicates where/if a trait accepts a workloadRef object type: string required: - definitionRef diff --git a/legacy/crds/core.oam.dev_workloaddefinitions.yaml b/legacy/crds/core.oam.dev_workloaddefinitions.yaml index e6c76f8d..4a2e46a6 100644 --- a/legacy/crds/core.oam.dev_workloaddefinitions.yaml +++ b/legacy/crds/core.oam.dev_workloaddefinitions.yaml @@ -25,20 +25,13 @@ spec: subresources: {} validation: openAPIV3Schema: - description: A WorkloadDefinition registers a kind of Kubernetes custom resource - as a valid OAM workload kind by referencing its CustomResourceDefinition. - The CRD is used to validate the schema of the workload when it is embedded - in an OAM Component. + description: A WorkloadDefinition registers a kind of Kubernetes custom resource as a valid OAM workload kind by referencing its CustomResourceDefinition. The CRD is used to validate the schema of the workload when it is embedded in an OAM Component. properties: apiVersion: - description: 'APIVersion defines the versioned schema of this representation - of an object. Servers should convert recognized schemas to the latest - internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More 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. Servers may infer this from the endpoint the client - submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string metadata: type: object @@ -46,11 +39,9 @@ spec: description: A WorkloadDefinitionSpec defines the desired state of a WorkloadDefinition. properties: childResourceKinds: - description: ChildResourceKinds are the list of GVK of the child resources - this workload generates + description: ChildResourceKinds are the list of GVK of the child resources this workload generates items: - description: A ChildResourceKind defines a child Kubernetes resource - kind with a selector + description: A ChildResourceKind defines a child Kubernetes resource kind with a selector properties: apiVersion: description: APIVersion of the child resource @@ -61,8 +52,7 @@ spec: selector: additionalProperties: type: string - description: Selector to select the child resources that the workload - wants to expose to traits + description: Selector to select the child resources that the workload wants to expose to traits type: object required: - apiVersion @@ -70,16 +60,13 @@ spec: type: object type: array definitionRef: - description: Reference to the CustomResourceDefinition that defines - this workload kind. + description: Reference to the CustomResourceDefinition that defines this workload kind. properties: name: description: Name of the referenced CustomResourceDefinition. type: string version: - description: Version indicate which version should be used if CRD - has multiple versions by default it will use the first one if - not specified + description: Version indicate which version should be used if CRD has multiple versions by default it will use the first one if not specified type: string required: - name @@ -89,14 +76,10 @@ spec: type: object podSpecPath: - description: PodSpecPath indicates where/if this workload has K8s podSpec - field if one workload has podSpec, trait can do lot's of assumption - such as port, env, volume fields. + description: PodSpecPath indicates where/if this workload has K8s podSpec field if one workload has podSpec, trait can do lot's of assumption such as port, env, volume fields. type: string revisionLabel: - description: RevisionLabel indicates which label for underlying resources(e.g. - pods) of this workload can be used by trait to create resource selectors(e.g. - label selector for pods). + description: RevisionLabel indicates which label for underlying resources(e.g. pods) of this workload can be used by trait to create resource selectors(e.g. label selector for pods). type: string required: - definitionRef