This repo lets you build and create a custom app launcher portal for Selkies.
- Build the custom web image with Cloud Build:
PROJECT_ID=$(gcloud config get-value project)gcloud builds submit --project ${PROJECT_ID} -t gcr.io/${PROJECT_ID}/kube-pod-broker-custom-web:latest- Create a Secret Manager Secret to tell the core selkies repo not to use the image from the core selkies repo:
gcloud secrets create broker-web-image --replication-policy=automatic --data-file - <<EOF
gcr.io/${PROJECT_ID}/kube-pod-broker-custom-web:latest
EOF- From the Selkies core repo, run Cloud Build from the
setup/manifestsdirectory to deploy the updated web interface.
Requirements:
- kubectl
- nodejs
- Install node modules:
npm install- Start dev server with port-forward to
pod-broker-0in current Kubernetes namespace:
./dev_server.sh- Open URL displayed in dev server output.