Skip to search

Operation

ops.crossplane.io / v1alpha1

apiVersion: ops.crossplane.io/v1alpha1 kind: Operation 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
OperationSpec specifies desired state of an operation.
mode string required
Mode controls what type or "mode" of operation will be used. "Pipeline" indicates that an Operation specifies a pipeline of functions, each of which is responsible for implementing its logic.
enum: Pipeline
pipeline []object required
Pipeline is a list of operation function steps that will be used when this operation runs.
minItems: 1
maxItems: 99
credentials []object
Credentials are optional credentials that the operation 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 unction 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 that will be fetched before this pipeline step is called for the first time.
apiVersion string required
APIVersion of resources to select.
kind string required
Kind of resources to select.
matchLabels object
MatchLabels matches resources by label selector. Only one of Name or MatchLabels may be specified.
name string
Name matches a single resource by name. Only one of Name or MatchLabels may be specified.
namespace string
Namespace to search for resources. Optional for cluster-scoped resources.
requirementName string required
RequirementName uniquely identifies this group of resources. This name will be used as the key in RunFunctionRequest.required_resources.
requiredSchemas []object
RequiredSchemas that will be fetched before this pipeline step is called for the first time.
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 uniquely identifies this schema. This name will be used as the key in RunFunctionRequest.required_schemas.
step string required
Step name. Must be unique within its Pipeline.
retryLimit integer
RetryLimit configures how many times the operation may fail. When the failure limit is exceeded, the operation will not be retried.
format: int64
status object
OperationStatus represents the observed state of an operation.
appliedResourceRefs []object
AppliedResourceRefs references all resources the Operation applied.
apiVersion string required
APIVersion of the applied resource.
kind string required
Kind of the applied resource.
name string required
Name of the applied resource.
namespace string
Namespace of the applied resource.
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.
failures integer
Number of operation failures.
format: int64
pipeline []object
Pipeline represents the output of the pipeline steps that this operation ran.
output object
Output of this step.
step string required
Step name. Unique within its Pipeline.

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