crossplane-contrib / function-sequencer

Crossplane composition function to define sequencing rules delaying the creation of resources until other resources are ready.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

function-sequencer

Function Sequencer is a Crossplane function that enables Composition authors to define sequencing rules delaying the creation of resources until other resources are ready.

For example, the pipeline step below, will ensure that second-resource and third-resource not to be created until the first-resource is ready.

  - step: sequence-creation
    functionRef:
      name: function-sequencer
    input:
      apiVersion: sequencer.fn.crossplane.io/v1beta1
      kind: Input
      rules:
        - sequence:
          - first-resource
          - second-resource
        - sequence:
          - first-resource
          - third-resource

See example/composition.yaml for a complete example.

Installation

It can be installed as follows from the Upbound marketplace: https://marketplace.upbound.io/functions/crossplane-contrib/function-sequencer

About

Crossplane composition function to define sequencing rules delaying the creation of resources until other resources are ready.

License:Apache License 2.0


Languages

Language:Go 71.4%Language:Dockerfile 22.2%Language:Shell 6.3%