Last active
August 26, 2021 22:20
-
-
Save mandibuswell/38609985747fb68272dca4f24853e727 to your computer and use it in GitHub Desktop.
startlab-pipelinefix.sh
This file contains 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
# 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