Skip to content

openshift/cluster-status-flexiflow

Extra tasks that the openshift-cluster-status blueprint runs after the base status task

List of task names that the openshift-cluster-status blueprint runs after the base openshift-cluster-status task. This is the extension point for add-on content: a profile attached to the cluster appends its own status task here, and the blueprint picks it up without any change to this bundle.

The blueprint's openshift-cluster-status-flexiflow stage injects the listed tasks with flexiflow-start, in list order. Every listed task runs as its own job, after the base status task, on the object the blueprint runs on (the cluster).

Requirements

  • Each entry is the name of a task that exists on the DRP endpoint
  • Each task must be able to run in the openshift-client-runner context against the cluster's kubeconfig, as openshift-cluster-status does
  • A failing task fails the work order; tasks after it do not run
  • The blueprint runs as a work order, and tasks injected into a work order do not get their Prerequisites added. List any prerequisite task the status task needs ahead of it. The base status task already runs openshift-refresh-kubeconfig earlier in the same work order.

Composition

The list is read with ParamComposeExpand, so contributions from the cluster, its profiles, and global concatenate instead of shadowing each other. Each add-on profile lists only its own tasks. For a machine, cluster or resource broker the DRP parameter precedence order is: Machine Parameter, Machine Profiles, Stage Parameter, Stage Profiles, Lease Parameter, Lease Profiles, Reservation Parameter, Reservation Profiles, Subnet Parameter, Subnet Profiles, Global Profile, then the parameter default. Composed entries run in that order.

Usage

YAML
openshift/cluster-status-flexiflow:
  - example-addon-status

The default is empty, which runs only the base status task.

Objects that Reference openshift/cluster-status-flexiflow

Objects used by openshift/cluster-status-flexiflow

Not used in current content packs