Last active
August 6, 2026 00:39
-
-
Save jkeam/4f5a8cc41ceb3150df4945dbe89ca774 to your computer and use it in GitHub Desktop.
DC Metro Map OpenShift App
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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