Skip to search

CompositionRevision

apiextensions.crossplane.io / v1

apiVersion: apiextensions.crossplane.io/v1 kind: CompositionRevision metadata: name: example
View raw schema
apiVersion string
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
kind string
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
metadata object
spec object
CompositionRevisionSpec specifies the desired state of the composition revision.
compositeTypeRef object required
CompositeTypeRef specifies the type of composite resource that this composition is compatible with.
apiVersion string required
APIVersion of the type.
kind string required
Kind of the type.
mode string
Mode controls what type or "mode" of Composition will be used. "Pipeline" indicates that a Composition specifies a pipeline of functions, each of which is responsible for producing composed resources that Crossplane should create or update.
enum: Pipeline
pipeline []object
Pipeline is a list of function steps that will be used when a composite resource referring to this composition is created. The Pipeline is only used by the "Pipeline" mode of Composition. It is ignored by other modes.
credentials []object
Credentials are optional credentials that the function needs.
name string required
Name of this set of credentials.
secretRef object
A SecretRef is a reference to a secret containing credentials that should be supplied to the function.
name string required
Name of the secret.
namespace string required
Namespace of the secret.
source string required
Source of the function credentials.
enum: None, Secret
functionRef object required
FunctionRef is a reference to the function this step should execute.
name string required
Name of the referenced Function.
input object
Input is an optional, arbitrary Kubernetes resource (i.e. a resource with an apiVersion and kind) that will be passed to the function as the 'input' of its RunFunctionRequest.
requirements object
Requirements are resource requirements that will be satisfied before this pipeline step is called for the first time. This allows pre-populating required resources without requiring a function to request them first.
requiredResources []object
RequiredResources is a list of resources that must be fetched before this function is called.
apiVersion string required
APIVersion of the required resource.
kind string required
Kind of the required resource.
matchLabels object
MatchLabels specifies the set of labels to match for finding the required resource. When specified, Name is ignored.
name string
Name of the required resource.
namespace string
Namespace of the required resource if it is namespaced.
requirementName string required
RequirementName is the unique name to identify this required resource in the Required Resources map in the function request.
requiredSchemas []object
RequiredSchemas is a list of OpenAPI schemas that must be fetched before this function is called.
apiVersion string required
APIVersion of the resource kind whose schema is required, e.g. "example.org/v1".
kind string required
Kind of resource whose schema is required, e.g. "MyResource".
requirementName string required
RequirementName is the unique name to identify this required schema in the Required Schemas map in the function request.
step string required
Step name. Must be unique within its Pipeline.
revision integer required
Revision number. Newer revisions have larger numbers. This number can change. When a Composition transitions from state A -> B -> A there will be only two CompositionRevisions. Crossplane will edit the original CompositionRevision to change its revision number from 0 to 2.
format: int64
writeConnectionSecretsToNamespace string
WriteConnectionSecretsToNamespace specifies the namespace in which the connection secrets of composite resource dynamically provisioned using this composition will be created.
status object
CompositionRevisionStatus shows the observed state of the composition revision.
conditions []object
Conditions of the resource.
lastTransitionTime string required
LastTransitionTime is the last time this condition transitioned from one status to another.
format: date-time
message string
A Message containing details about this condition's last transition from one status to another, if any.
observedGeneration integer
ObservedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
format: int64
reason string required
A Reason for this condition's last transition from one status to another.
status string required
Status of this condition; is it currently True, False, or Unknown?
type string required
Type of this condition. At most one of each condition type may apply to a resource at any point in time.

No matches. Try .spec.compositeTypeRef for an exact path