Skip to content

selkies-project/selkies-app-launcher-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pod broker web interface

This repo lets you build and create a custom app launcher portal for Selkies.

Deployment

  1. 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
  1. 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
  1. From the Selkies core repo, run Cloud Build from the setup/manifests directory to deploy the updated web interface.

Local development

Requirements:

  • kubectl
  • nodejs
  1. Install node modules:
npm install
  1. Start dev server with port-forward to pod-broker-0 in current Kubernetes namespace:
./dev_server.sh
  1. Open URL displayed in dev server output.