wmedvede commented on code in PR #456:
URL:
https://github.com/apache/incubator-kie-kogito-serverless-operator/pull/456#discussion_r1583468712
##########
controllers/profiles/preview/states_preview.go:
##########
@@ -62,6 +64,25 @@ func (h *newBuilderState) Do(ctx context.Context, workflow
*operatorapi.SonataFl
klog.V(log.E).ErrorS(err, "Failed to get active platform")
return ctrl.Result{RequeueAfter: requeueWhileWaitForPlatform},
nil, err
}
+
+ //TODO WM remove this comment.
+ fmt.Printf("XXXX: Preparing workflow properties before build for
workflow: %s\n", workflow.Name)
+ // Ensure the properties are prepared before starting the build
process, and thus, we make them available at build time.
+ userPropsCM, _, err := h.ensurers.userPropsConfigMap.Ensure(ctx,
workflow)
Review Comment:
@ricardozanini And here, to ensure the configmaps with the applications
properites are available at build time, we create them before going to the
build phase.
--
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]