浏览代码

fix upgrade job chart bug

Alexander Belanger 4 年之前
父节点
当前提交
bd61aa80db
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      dashboard/src/main/home/cluster-dashboard/expanded-chart/ExpandedJobChart.tsx

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

@@ -608,14 +608,13 @@ class ExpandedJobChart extends Component<PropsType, StateType> {
       await api.upgradeChartValues(
       await api.upgradeChartValues(
         "<token>",
         "<token>",
         {
         {
-          namespace: currentChart.namespace,
-          storage: StorageType.Secret,
           values: valuesYaml,
           values: valuesYaml,
           version: version,
           version: version,
         },
         },
         {
         {
           id: this.context.currentProject.id,
           id: this.context.currentProject.id,
           name: currentChart.name,
           name: currentChart.name,
+          namespace: currentChart.namespace,
           cluster_id: this.context.currentCluster.id,
           cluster_id: this.context.currentCluster.id,
         }
         }
       );
       );