/ui-driver-scaleway

Rancher Add Host UI driver for the scaleway docker-machine drivers

Primary LanguageJavaScript

Rancher UI for Scaleway Docker-Machine Driver

This is a Rancher UI for the scaleway docker-machine driver. This is unofficial and by no means implies any affiliation with Scaleway, I just wanted my Rancher UI to be a little prettier.

Rancher Scaleway Add Host UI

Setup, Development, Build

Follow the guide in the Rancher repository ui-driver-skel to prepare a build environment.

The package.json has been customised with the following additional script functions:

  • deploy: Pushes a release from the dist subdirectory.

In practice after making changes the following steps will generate a release:

  1. npm run build
  2. npm run deploy

Usage

A release is published to the GitHub Project Page for this repository:

  1. Add a Machine Driver in Rancher (Admin tab -> Settings -> Machine Drivers)
  1. Wait for the driver to become "Active"
  2. In Rancher go to (Infrastructure -> Hosts -> Add Host) and the Scaleway driver and custom UI should show up.

Alternative UI URLs

These are just for reference as an alternative if there is a problem with GH Pages. Rancher seems to require a correct Content-Type for the .svg logo so directly accessing the raw files on github will not work as intended.

Credits