Skip to content

Instantly share code, notes, and snippets.

@mandibuswell
Last active August 26, 2021 22:20
Show Gist options
  • Save mandibuswell/38609985747fb68272dca4f24853e727 to your computer and use it in GitHub Desktop.
Save mandibuswell/38609985747fb68272dca4f24853e727 to your computer and use it in GitHub Desktop.
startlab-pipelinefix.sh
# Add privileges to namespace for OCP4.7 fix for buildah permissions between 4.6 and 4.7
# Note: install OpenShift Pipelines onto the cluster before applying this script
numberOfUsers=30
startingUser=1
for ((i=$startingUser;i<=$numberOfUsers;i++)); do oc adm policy add-scc-to-user privileged -z pipeline -n user$i; echo user$i ;done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment