React client for Hive Claim Manager
UI for managing Openshift HIVE clusters pools. Support:
- List all pools
- Claim cluster from pools
- Delete claims from pools
- Get cluster info (console URL, user/password and kubeconfig) from claimed cluster.
Required docker compose version >= 2.22.0
Edit docker-compose.example.yaml
Create docker network, if it does not exist:
docker network ls
docker network create hive-claim-manager
Run docker compose -f .local/docker-compose.yaml up --watch --build
Open localhost in browser
The following users configured:
- User:
admin
Password:admin
# Superuser, can delete other users claims - User:
dev
Password:dev
- User:
user
Password:user
Node server and Flask server will be automatically reloaded on file changes.
By default, the application uses sqlite database, saved under /tmp/db.sqlite
.
To change the path or location, set HIVE_CLAIM_FLASK_APP_DB_PATH
For external storage, set to sqlite://<username>:<password>@<host>:<port>/<database>
For different path, set to sqlite:////<dir>/<filename>