Skip to content

Commit

Permalink
removed target namespace from create environment
Browse files Browse the repository at this point in the history
  • Loading branch information
nxtcoder19 committed Feb 5, 2024
1 parent e7bc2aa commit 1913490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apps/console/page-components/new-scope.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ const HandleScope = ({ show, setShow }: IDialog<IEnvironment | null> & {}) => {
env: {
metadata: {
name: val.name,
namespace: parseTargetNs(project),
},
displayName: val.displayName,
spec: {
projectName: projectName || '',
targetNamespace: `${projectName}-${val.name}`,
routing: {
mode: val.environmentRoutingMode ? 'public' : 'private',
},
Expand Down

0 comments on commit 1913490

Please sign in to comment.