Selaa lähdekoodia

use version on launch template

Alexander Belanger 5 vuotta sitten
vanhempi
sitoutus
5b2506eb6c

+ 2 - 2
dashboard/src/main/home/launch/expanded-template/LaunchTemplate.tsx

@@ -155,7 +155,7 @@ class LaunchTemplate extends Component<PropsType, StateType> {
           id: currentProject.id,
           cluster_id: currentCluster.id,
           name: this.props.currentTemplate.name.toLowerCase().trim(),
-          version: "latest",
+          version: this.props.currentTemplate?.currentVersion || "latest",
           repo_url: process.env.ADDON_CHART_REPO_URL,
         }
       )
@@ -286,7 +286,7 @@ class LaunchTemplate extends Component<PropsType, StateType> {
           id: currentProject.id,
           cluster_id: currentCluster.id,
           name: this.props.currentTemplate.name.toLowerCase().trim(),
-          version: "latest",
+          version: this.props.currentTemplate?.currentVersion || "latest",
           repo_url: process.env.APPLICATION_CHART_REPO_URL,
         }
       )

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 679 - 669
server/router/router.go


Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä