Skip to content

Commit

Permalink
fix license
Browse files Browse the repository at this point in the history
Signed-off-by: jingyang <[email protected]>
  • Loading branch information
zjy365 committed Mar 5, 2024
1 parent cdae316 commit eb26a62
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions service/license/src/pages/cluster/components/ConfigForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ export default function CommandForm({
},
k8sVersion: '1.25.6',
podSubnet: '100.64.0.0/10',
serviceSubnet: '100.96.0.0/22',
selfSigned: false,
serviceSubnet: '10.96.0.0/22',
selfSigned: true,
cloudPort: '443',
useImageRegistry: true,
imageRegistry: 'registry.cn-shanghai.aliyuncs.com',
Expand Down Expand Up @@ -132,7 +132,8 @@ export default function CommandForm({
data?.certKeyPath ? ` --key-path=${data?.certKeyPath} ` : '',
data?.ssh.useKey
? ` --ssh-private-key=${data?.ssh.path} `
: ` --ssh-password=${data?.ssh.password} `
: ` --ssh-password=${data?.ssh.password} `,
data?.k8sVersion ? ` --kubernetes-version=${data.k8sVersion} ` : ''
];
const displayCommand = commandParts.filter(Boolean).join('\\\n');
setCopyCommand(displayCommand);
Expand Down

0 comments on commit eb26a62

Please sign in to comment.