Kubernetes operator for SonataFlow

Clone this repo:
  1. af6f8e4 Fix image registry credentials helper methods (#496) by Rodrigo Antunes · 10 hours ago main
  2. c570681 kie-issues#1214: Replace explicit references to quay.io images across CI pipelines (#494) by Rodrigo Antunes · 5 days ago
  3. a2ac28d Fix kie-issues #1236 - Replace quay.io with docker.io, review version.go (#466) by Ricardo Zanini · 5 days ago
  4. e9fce09 Fix #484 - :link: Add platform reference to workflow status condition (#485) by Ricardo Zanini · 8 days ago
  5. 75a3358 Generate stable names for workflow resources (#473) by Roy Golan · 8 days ago

SonataFlow Operator

The SonataFlow Operator defines a set of Kubernetes Custom Resources to help users to deploy SonataFlow projects on Kubernetes and OpenShift.

Please visit our official documentation to know more.

Available modules for integrations

If you're a developer, and you are interested in integrating your project or application with the SonataFlow Operator ecosystem, this repository provides a few Go Modules described below.

SonataFlow Operator Types (api)

Every custom resource managed by the operator is exported in the module api. You can use it to programmatically create any custom type managed by the operator. To use it, simply run:

go get github.com/kiegroup/kogito-serverless-workflow/api

Then you can create any type programmatically, for example:

workflow := &v1alpha08.SonataFlow{
ObjectMeta: metav1.ObjectMeta{Name: w.name, Namespace: w.namespace},
Spec:       v1alpha08.SonataFlowSpec{Flow: *myWorkflowDef>}

You can use the Kubernetes client-go library to manipulate these objects in the cluster.

You might need to register our schemes:

    s := scheme.Scheme

Container Builder (container-builder)

Please see the module's README file.

Workflow Project Handler (workflowproj)

Please see the module's README file.

Development and Contributions

Contributing is easy, just take a look at our contributors'guide.

Productization notes

In order to productize the Red Hat OpenShift Serverless Logic Operator read the notes into the productization'section.