Monorepo containing UIs for Flight Control
Git,Node.js v22.x,npm v10.x,rsync,go(>= 1.24)
cd flightctl-ui
npm ci
npm run buildIf backend is running in your Kind cluster, use the following command to start the UI application.
It will automatically detect your Flight Control deployment settings and it will configure the UI accordingly. (Requires kind, kubectl)
npm run dev:kindSee CONFIGURATION.md for complete configuration options.
If backend is not running in your Kind cluster, you need to specify your Flight Control deployment settings.
FLIGHTCTL_SERVER=<api_server_url> npm run devIf the backend, or Auth provider is running self-signed certs, you will need to disable the verification via environment variables:
FLIGHTCTL_SERVER_INSECURE_SKIP_VERIFY='true'- to disable verification of backend certsAUTH_INSECURE_SKIP_VERIFY='true'- to disable verification of auth server certs
or provide the CA certs:
- copy backend
ca.crtto./certs/ca.crt - copy Auth
ca.crtto./certs/ca_auth.crt
See CONFIGURATION.md for complete configuration options.
With this option, the Flight Control UI will run as a Plugin in the OCP console. Note: this setup is only for development, do not use it in Production environments!
Login to OCP cluster and run:
npm run dev:ocpBy default, the latest available OpenShift console image will be used. To specify a different console version, set the CONSOLE_VERSION environment variable.
The following console versions are confirmed to be compatible: 4.16 to 4.20.