Kaynağa Gözat

fix clone job behavior

Alexander Belanger 4 yıl önce
ebeveyn
işleme
42a4e6859e
1 değiştirilmiş dosya ile 3 ekleme ve 5 silme
  1. 3 5
      dashboard/src/main/home/launch/Launch.tsx

+ 3 - 5
dashboard/src/main/home/launch/Launch.tsx

@@ -196,15 +196,13 @@ class Templates extends Component<PropsType, StateType> {
     return api.getChart<ChartTypeWithExtendedConfig>(
       "<token>",
       {
-        namespace: queryParams.get("release_namespace"),
-        cluster_id: this.context?.currentCluster?.id,
-        storage: StorageType.Secret,
       },
       {
         id: this.context.currentProject.id,
         name: queryParams.get("release_name"),
-        // This will get by default the last available version
-        revision: Number(queryParams.get("release_version")),
+        revision: 0,
+        namespace: queryParams.get("release_namespace"),
+        cluster_id: this.context?.currentCluster?.id,
       }
     );
   };