Explorar o código

log image on conf

jusrhee %!s(int64=5) %!d(string=hai) anos
pai
achega
b2ee06944e

+ 5 - 1
dashboard/src/main/home/cluster-dashboard/expanded-chart/ExpandedJobChart.tsx

@@ -190,6 +190,7 @@ export default class ExpandedJobChart extends Component<PropsType, StateType> {
         _.set(values, key, config[key]);
         _.set(values, key, config[key]);
       }
       }
 
 
+      console.log("newest image", this.state.newestImage);
       let imageUrl = this.state.newestImage;
       let imageUrl = this.state.newestImage;
       let tag = null;
       let tag = null;
   
   
@@ -206,11 +207,14 @@ export default class ExpandedJobChart extends Component<PropsType, StateType> {
         _.set(values, "image.tag", tag);
         _.set(values, "image.tag", tag);
       }
       }
 
 
+      console.log("values before yaml", values)
+
       // Weave in preexisting values and convert to yaml
       // Weave in preexisting values and convert to yaml
-      values = yaml.dump({
+      conf = yaml.dump({
         ...(this.state.currentChart.config as Object),
         ...(this.state.currentChart.config as Object),
         ...values,
         ...values,
       });
       });
+      console.log("yaml converted", values)
     }
     }
 
 
     api
     api