A Rancher extension for Triton.
This project was created by following the instructions outlined in https://extensions.rancher.io/extensions/extensions-getting-started.
Install nvm
:
brew install nvm
Install Node.js version 16:
nvm install 16
Load Node.js version 16:
nvm use 16
Install dependencies:
yarn install
yarn build-pkg triton
Serve the extension so that you can load it into Rancher:
yarn serve-pkgs
rm -rf assets charts extensions index.yaml dist-pkg 2>/dev/null
yarn publish-pkgs -cf -r harbor.vrcis.com -o rancher -i ''
If building on a Mac with an Apple chip (arm64
) you will need to manually add --platform linux/amd64
to the docker build
line to work around rancher/dashboard#9362 in the following file:
./node_modules/@rancher/shell/scripts/extension/helm/scripts/package
If building on a Mac you will also need to work around rancher/dashboard#12122.
See https://extensions.rancher.io/extensions/publishing#manually-publishing-an-extension-catalog-image for details.