Error creating: pods "gitlab-runner-1-" is forbidden: unable to validate against any security context constraint on Openshift 3
Issue
- Unable to deploy Gitlab on Openshift
- While trying to deploy gitlab-runner on Openshift, the following error is shown:
[spec.containers[0].securityContext.securityContext.runAsUser: Invalid value: 0: must be in the ranges: [1000140000, 1000149999] spec.containers[0].securityContext.privileged: Invalid value: true: Privileged containers are not allowed]
Environment
- Red Hat Openshift Container Platform 3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
