Skip to content

Instantly share code, notes, and snippets.

@mandibuswell
mandibuswell / workshop_debug.sh
Last active February 13, 2022 21:42 — forked from blues-man/workshop_debug_4.6.sh
This is a script to apply the Developer Start lab to a user namespace
#!/bin/bash
# Variables
NAMESPACE=workshop
PIPELINEFILE1=https://raw.githubusercontent.com/openshift-roadshow/nationalparks/master/pipeline/nationalparks-pipeline-all-vfs-new.yaml
PIPELINEFILE2=https://raw.githubusercontent.com/openshift-roadshow/nationalparks/master/pipeline/nationalparks-pipeline-all-new.yaml
# Add privileges to namespace for OCP4.7 fix for buildah permissions between 4.6 and 4.7
#oc adm policy add-scc-to-user privileged -z pipeline -n $NAMESPACE
# Project
oc new-project $NAMESPACE
# Parksmap