capi-ui-extension

Rancher Extension used in rancher/dashboard for Rancher Turtles CAPI Provisioning UI.

Running for Development

This is what you probably want to get started.

# Install dependencies
yarn install

# For development, serve with hot reload at https://localhost:8005
# using the endpoint for your Rancher API
API=https://your-rancher yarn dev
# or put the variable into a .env file
# Goto https://localhost:8005

Updating @shell package

This is about updating the @shell package which is the base from rancher/dashboard

# Update
yarn create @rancher/update

Building the extension for production

Bump the app version on package.json file, then run:

# Build for production
./scripts/publish -g 
# add flag -f if you need to overwrite an existing version


# If you need to test the built extension
yarn serve-pkgs

License

Check CAPI UI Apache License details here# capi-ui-extension