Skip to content

Commit

Permalink
Add a consideration regarding .spec.resources
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo Zanini <[email protected]>
  • Loading branch information
ricardozanini committed Sep 27, 2023
1 parent 4fbef69 commit 061da72
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,13 @@ In xref:cloud/operator/developing-workflows.adoc[development profile], it's expe

When xref:cloud/operator/build-and-deploy-workflows.adoc[deploying in production], you can opt in to have the operator to handle the build process for you. However, in more complex scenarios it's expected that the user owns and controls the build process. For this reason, when overriding the image the operator won't build the workflow. The operator will try to deploy the workflow using the given image.

In this scenario, the `.spec.resources` attribute is ignored since it's only used during the build process in the production profile.

[IMPORTANT]
====
xref:cloud/operator/known-issues.adoc[In the roadmap] you will find that we plan to consider the `.spec.resources` attribute when the image is specified in the default container.
====

It's advised that the SonataFlow `.spec.flow` definition and the workflow built within the image corresponds to the same workflow. If these definitions don't match you may experience poorly management and configuration. The {operator_name} uses the `.spec.flow` attribute to configure the application, service discovery, and service binding with other deployments within the topology.

[IMPORTANT]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ The following issues are currently being prioritized:
- link:https://issues.redhat.com/browse/KOGITO-9084[Enable Workflows Deployment GitOps]
- link:https://issues.redhat.com/browse/KOGITO-9527[Extend the SonataFlow Operator with Jib builder]
- link:https://issues.redhat.com/browse/KOGITO-9833[Add external built image integrity validation]
- link:https://issues.redhat.com/browse/KOGITO-9845[Add .spec.resources mount to a built image]

=== Operator SDK, OLM, OperatorHub

Expand Down

0 comments on commit 061da72

Please sign in to comment.