fix: ssh key, template test

This commit is contained in:
jialin
2026-05-11 19:49:21 +08:00
committed by jialin
parent 63ac4e0e75
commit fc900c8ce6
45 changed files with 1027 additions and 1090 deletions
+35
View File
@@ -0,0 +1,35 @@
export default {
'gpuservice.template': 'GPU Instance Template',
'gpuservice.template.add': 'Add Instance Template',
'gpuservice.template.edit': 'Edit Instance Template',
'gpuservice.template.filter.name': 'Filter by name',
'gpuservice.template.filter.vendor': 'Filter by vendor',
'gpuservice.template.image': 'Image',
'gpuservice.template.imagePullPolicy': 'Image Pull Policy',
'gpuservice.template.imagePullPolicy.always': 'Always',
'gpuservice.template.imagePullPolicy.ifNotPresent': 'If Not Present',
'gpuservice.template.imagePullPolicy.never': 'Never',
'gpuservice.template.command': 'Container Startup Command',
'gpuservice.template.command.placeholder':
'One argument per line, e.g.:\n/bin/bash\n-c\nyour command',
'gpuservice.template.mountPath': 'Mount Path',
'gpuservice.template.containerDisk': 'Container Disk (Gi)',
'gpuservice.template.memory': 'Memory (Gi)',
'gpuservice.template.ports': 'Ports',
'gpuservice.template.ports.add': 'Add Port',
'gpuservice.template.ports.invalid':
'Please complete the port configuration.',
'gpuservice.template.env': 'Environment Variables',
'gpuservice.template.env.add': 'Add Environment Variable',
'gpuservice.template.env.invalid':
'Please complete the environment variables.',
'gpuservice.template.env.name': 'Name',
'gpuservice.template.env.value': 'Value',
'gpuservice.template.card.image': 'Image',
'gpuservice.template.card.mount': 'Mount',
'gpuservice.template.card.resources': 'Resources',
'gpuservice.template.card.ports': 'Ports',
'gpuservice.publicKey.label': 'SSH Public Key',
'gpuservice.publicKey.placeholder':
'Begin with ssh-rsa or ssh-ed25519. One Public Key per line.\n\nView Public Key:\n- RSA\ncat ~/.ssh/id_rsa.pub\n- Ed25519\ncat ~/.ssh/id_ed25519.pub'
};
+6 -1
View File
@@ -52,5 +52,10 @@ export default {
'noresult.instances.title': 'No instances',
'noresult.instances.subTitle':
'There are no running model instances. Deploy a model to create one automatically.',
'noresult.instances.nofound': 'No matching instances found.'
'noresult.instances.nofound': 'No matching instances found.',
'noresult.gpuservice.template.title': 'No Instance Templates',
'noresult.gpuservice.template.subTitle':
'Once you create an instance template, it will appear here.',
'noresult.gpuservice.template.nofound':
'No matching instance templates found.'
};