Error creating: pods "gitlab-runner-1-" is forbidden: unable to validate against any security context constraint on Openshift 3

Solution Verified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content