Skip to content

Instantly share code, notes, and snippets.

@kadel
Last active March 14, 2017 11:41
Show Gist options
  • Select an option

  • Save kadel/51c5d35a531f024ed602e9ecb9e49ae3 to your computer and use it in GitHub Desktop.

Select an option

Save kadel/51c5d35a531f024ed602e9ecb9e49ae3 to your computer and use it in GitHub Desktop.
minishift - allow anyuid
sudo sh -c "KUBECONFIG=/var/lib/minishift/openshift.local.config/master/admin.kubeconfig openshift admin policy add-scc-to-group anyuid system:authenticated"
# >=v1
docker exec -it origin openshift admin policy add-scc-to-group anyuid system:authenticated
# for minishfit before `oc cluster up`
minishift ssh
sudo KUBECONFIG=/mnt/sda1/var/lib/minishift/openshift.local.config/master/admin.kubeconfig /usr/local/bin/openshift admin policy add-scc-to-group anyuid system:authenticated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment