mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-05 13:46:51 +08:00
Removing the workflow.uid, because it causes a doubly long uid string.
This commit is contained in:
@@ -561,7 +561,7 @@ func (c *Client) injectAccessForSidecars(namespace string, wf *wfv1.Workflow) ([
|
||||
}
|
||||
newTemplateOrder = append(newTemplateOrder, templateServiceResource)
|
||||
//routes
|
||||
virtualServiceNameUUID := "{{workflow.uid}}-" + uuid.New().String()
|
||||
virtualServiceNameUUID := "vs-" + uuid.New().String()
|
||||
hosts := []string{serviceName}
|
||||
virtualService := map[string]interface{}{
|
||||
"apiVersion": "networking.istio.io/v1alpha3",
|
||||
|
Reference in New Issue
Block a user