ricardozanini commented on code in PR #482:
URL:
https://github.com/apache/incubator-kie-kogito-serverless-operator/pull/482#discussion_r1630112020
##########
workflowproj/operator.go:
##########
@@ -85,8 +85,12 @@ func GetManagedPropertiesFileName(workflow
*operatorapi.SonataFlow) string {
// GetDefaultLabels gets the default labels based on the given workflow.
func GetDefaultLabels(workflow *operatorapi.SonataFlow) map[string]string {
return map[string]string{
- LabelApp: workflow.Name,
- LabelWorkflow: workflow.Name,
+ LabelApp: workflow.Name,
+ LabelWorkflow: workflow.Name,
+ "app.kubernetes.io/name": workflow.Name,
+ "app.kubernetes.io/component": "serverless-workflow",
+ "app.kubernetes.io/part-of":
workflow.Status.Services.DataIndexRef.Url,
Review Comment:
How hard is it to get the platform name here?
--
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]