rapid-eye-61308
02/24/2025, 6:20 PMpackage.json
and also pkg/<EXTENSION>/package.json
. I understand that the nested pkg/<EXTENSION>/package.json
has some significance since its contents are read via plugin.metadata = require('./package.json');
in the respective extension.
a. Does the top-level packge.json
have any significance when creating Rancher UI Extensions?
b. Are the nested pkg/<EXTENSION>/package.json
locations treated as different extensions or some "sub" extension under the top-level extension?
2. I know how to set the node driver icon via these instructions but I have no idea how to change the casing of the node driver name (e.g., from oxide
to Oxide
). I've tried updating the name
within package.json
, deleting and creating the NodeDriver
Kubernetes resource with the updated Oxide
name, and reading through the documentation for Rancher UI Extensions. I'm sure I'm missing something simple but I can't seem to change that name. See the attached screenshot.
a. How do I change the node driver name from oxide
to Oxide
?cool-thailand-26552
03/12/2025, 6:14 PMI10n
under your pkg/<EXTENSION>
• Inside that directory create a en-us.yaml
with the following content:
cluster:
provider:
oxide: Oxide
Short explanation:
• The name you see appear here comes from the internationalization mappings (these can be language-specifc), and BTW, you might need internationalization for field names inside your cloud-credentials
part of the extension.
• Why does it show oxide
out-of-the-box ? That’s actually your Node Driver’s unique name for Rancher.rapid-eye-61308
03/12/2025, 6:59 PMNodeDriver
CRD but that was unsuccessful so I appreciate that it can be done with translations. Just for my curiosity is the out-of-the-box ID determined via the CRD or something else?rapid-eye-61308
03/12/2025, 6:59 PMcool-thailand-26552
03/12/2025, 7:03 PMrapid-eye-61308
03/12/2025, 7:05 PMcool-thailand-26552
03/12/2025, 7:05 PMstocky-account-63046
03/13/2025, 9:13 AM