https://github.com/outscale/rancher-ui-driver-outscale
https://github.com/outscale/rancher-ui-driver-outscale
maturity-sandbox
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/outscale/rancher-ui-driver-outscale
- Owner: outscale
- License: apache-2.0
- Created: 2021-12-17T13:11:37.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-06-11T22:40:12.000Z (about 3 years ago)
- Last Synced: 2025-03-26T09:05:05.980Z (about 1 year ago)
- Topics: maturity-sandbox
- Language: JavaScript
- Homepage:
- Size: 132 KB
- Stars: 0
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# rancher-ui-driver-outscale
[](https://docs.outscale.com/en/userguide/Open-Source-Projects.html)
Outscale Rancher UI driver for Outscale docker-machine drivers
## TODO
- [ ] Tests
- [ ] Official Icon
## Setup
* `npm install`
## Development
This package contains a small web-server that will serve up the custom driver UI at `http://localhost:3000/component.js`. You can run this while developing and point the Rancher settings there.
* `npm start`
* The driver name can be optionally overridden: `npm start -- --name=DRIVERNAME`
* The compiled files are viewable at http://localhost:3000.
* **Note:** The development server does not currently automatically restart when files are changed.
* Do not use the `model.Confg` signature to access your driver config in the template file, use the `config` alias that is already setup in the component
## Building
For other users to see your driver, you need to build it and host the output on a server accessible from their browsers.
* `npm run build`
* Copy the contents of the `dist` directory onto a webserver.
* If your Rancher is configured to use HA or SSL, the server must also be available via HTTPS.
## Using
* Add a Machine Driver in Rancher 2.0 (Global -> Node Drivers)
* Name: Outscale (see above).
* Download URL: The URL for the driver binary (e.g. `COMING SOON`)
* Custom UI URL: The URL you uploaded the `dist` folder to, e.g. `COMING SOON`)
* Wait for the driver to become "Active"
* Go to Clusters -> Add Cluster, your driver and custom UI should show up.