mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-16 10:40:38 +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)
|
newTemplateOrder = append(newTemplateOrder, templateServiceResource)
|
||||||
//routes
|
//routes
|
||||||
virtualServiceNameUUID := "{{workflow.uid}}-" + uuid.New().String()
|
virtualServiceNameUUID := "vs-" + uuid.New().String()
|
||||||
hosts := []string{serviceName}
|
hosts := []string{serviceName}
|
||||||
virtualService := map[string]interface{}{
|
virtualService := map[string]interface{}{
|
||||||
"apiVersion": "networking.istio.io/v1alpha3",
|
"apiVersion": "networking.istio.io/v1alpha3",
|
||||||
|
Reference in New Issue
Block a user