commit | c429953742110b2002317306f94f943e9bc72fab | [log] [tgz] |
---|---|---|
author | Ricardo Zanini <1538000+ricardozanini@users.noreply.github.com> | Thu Nov 14 04:09:11 2024 -0500 |
committer | GitHub <noreply@github.com> | Thu Nov 14 10:09:11 2024 +0100 |
tree | 4bb00fb6938903dcbba13051ce393e159bb8b1de | |
parent | 5dae96cdccb8a7c294e0adbfcae76ba37c421618 [diff] |
Fix #560 - Check if the .spec.flow has changed before building (#564) * Fix #560 - Check if the .spec.flow has changed before building Signed-off-by: Ricardo Zanini <ricardozanini@gmail.com> * Use CRC32 instead of comparing flows directly Signed-off-by: Ricardo Zanini <ricardozanini@gmail.com> --------- Signed-off-by: Ricardo Zanini <ricardozanini@gmail.com>
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.
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.
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
utilruntime.Must(v1alpha08.AddToScheme(s))
Please see the module's README file.
Please see the module's README file.
Contributing is easy, just take a look at our contributors'guide.