Explorar o código

Merge branch 'nico/por-517-redirect-with-chosen-namespace-after' of github.com:porter-dev/porter into dev

jnfrati %!s(int64=3) %!d(string=hai) anos
pai
achega
fcaeb5e2cb

+ 1 - 1
api/server/router/v1/stack.go

@@ -9,7 +9,7 @@ import (
 	"github.com/porter-dev/porter/api/types"
 )
 
-// swagger:parameters getStack deleteStack putStackSource rollbackStack
+// swagger:parameters getStack deleteStack putStackSource rollbackStack listStackRevisions
 type stackPathParams struct {
 	// The project id
 	// in: path

+ 2 - 2
dashboard/src/main/home/cluster-dashboard/stacks/launch/Overview.tsx

@@ -154,11 +154,11 @@ const Overview = () => {
 
       <Heading>
         Env Groups
-        <InlineDocsHelper
+        {/* <InlineDocsHelper
           disableMargin={true}
           tooltipText="Environment Groups"
           link="https://docs.porter.run/deploying-applications/environment-groups"
-        />
+        /> */}
       </Heading>
       <Helper>Add scoped environment groups to this stack:</Helper>
       <Card.Grid>

+ 2 - 0
dashboard/src/main/home/launch/launch-flow/LaunchFlow.tsx

@@ -189,6 +189,7 @@ const LaunchFlow: React.FC<PropsType> = (props) => {
     setTimeout(() => {
       pushFiltered(props, dst, ["project_id"], {
         cluster: currentCluster.name,
+        namespace: selectedNamespace,
       });
     }, 500);
   };
@@ -355,6 +356,7 @@ const LaunchFlow: React.FC<PropsType> = (props) => {
         props.currentTemplate.name === "job" ? "/jobs" : "/applications";
       pushFiltered(props, dst, ["project_id"], {
         cluster: currentCluster.name,
+        namespace: selectedNamespace,
       });
     }, 1000);
   };