Răsfoiți Sursa

Merge pull request #1317 from porter-dev/belanger/por-114-template-upgrade-fix

[POR-114] Fix upgrade job chart bug
abelanger5 4 ani în urmă
părinte
comite
3ca7e9a374

+ 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(
         "<token>",
         {
-          namespace: currentChart.namespace,
-          storage: StorageType.Secret,
           values: valuesYaml,
           version: version,
         },
         {
           id: this.context.currentProject.id,
           name: currentChart.name,
+          namespace: currentChart.namespace,
           cluster_id: this.context.currentCluster.id,
         }
       );