masayag commented on code in PR #723:
URL:
https://github.com/apache/incubator-kie-kogito-docs/pull/723#discussion_r2094422754
##########
serverlessworkflow/modules/ROOT/pages/cloud/operator/referencing-resource-files.adoc:
##########
@@ -93,6 +102,11 @@ data:
Now you can add reference to this `ConfigMap` into your `SonataFlow` CR:
+[NOTE]
+====
+The following example only works in profiles that support `.spec.resources`,
such as `dev` or `gitops`. It **does not work** under the `preview` profile.
Review Comment:
same here.
##########
serverlessworkflow/modules/ROOT/pages/cloud/operator/referencing-resource-files.adoc:
##########
@@ -14,6 +14,15 @@ For example, when doing
xref:service-orchestration/orchestration-of-openapi-base
If these files are not in a remote location that can be accessed via the HTTP
protocol, you must describe in the `SonataFlow` CR where to find them within
the cluster. This is done via link:{kubernetes_configmap_url}[`ConfigMaps`].
+[IMPORTANT]
+====
+The `.spec.resources` section is **ignored in the `preview` profile**.
+
+To use referenced external files like OpenAPI specs or schemas, make sure your
workflow is running under a supported profile such as `dev` or `gitops`.
Review Comment:
same here, should be `preview` instead of `profile`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]