Skip to content

Instantly share code, notes, and snippets.

@jkeam
Last active August 6, 2026 00:39
Show Gist options
  • Select an option

  • Save jkeam/4f5a8cc41ceb3150df4945dbe89ca774 to your computer and use it in GitHub Desktop.

Select an option

Save jkeam/4f5a8cc41ceb3150df4945dbe89ca774 to your computer and use it in GitHub Desktop.
DC Metro Map OpenShift App
#!/bin/bash
# https://redhatgov.io/workshops/openshift_4_101/
# https://github.com/RedHatGov/openshift-workshops/tree/master/dc-metro-map
oc new-project metro
echo "Created namespace"
oc new-app --name=dc-metro-map https://github.com/RedHatGov/openshift-workshops.git --context-dir=dc-metro-map --as-deployment-config=true
echo "Started build"
# oc expose service/dc-metro-map
oc create route edge dc-metro-map --service=dc-metro-map --port=8080
echo "Exposing service"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment