Monorepo containing UIs for flightctl
git,nodejs:18,npm:10,rsync
npm ci
npm run build
Choose one of the two options to run the UI application
npm run dev:kind
- If backend is not running in your Kind cluster, you need to specify the API endpoint
FLIGHTCTL_SERVER=<api_server_url> npm run dev
If the backend, or Auth provider is running self-signed certs, you will need to disable the verification via env 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
Login to OCP cluster and run:
npm run dev:ocp