Renaming the side-car check per feedback.

This commit is contained in:
Aleksandr Melnikov
2020-10-30 12:12:53 -07:00
parent 3e1a4dd313
commit af361d5045

View File

@@ -415,7 +415,7 @@ func (c *Client) createWorkflow(namespace string, workflowTemplateID uint64, wor
for tIdx, t := range wf.Spec.Templates {
if t.Metadata.Labels != nil {
if sidecar, ok := t.Metadata.Labels["sidecar"]; ok {
if sidecar == "sys-tensorboard-like" {
if sidecar == "sys-visualization-sidecar" {
//Inject services, virtual routes
for sIdx, s := range t.Sidecars {
if len(s.Ports) == 0 {