Skip to content

Instantly share code, notes, and snippets.

@rajdavies
Created February 20, 2017 17:18
Show Gist options
  • Select an option

  • Save rajdavies/b73864f9b0b4eb242516036be910f39d to your computer and use it in GitHub Desktop.

Select an option

Save rajdavies/b73864f9b0b4eb242516036be910f39d to your computer and use it in GitHub Desktop.
--> FailedCreate: che-1 Error creating: pods "che-1-" is forbidden: unable to validate against any security context constraint: [spec.initContainers[0].securityContext.volumes[0]: Invalid value: "hostPath": hostPath volumes are not allowed to be used spec.containers[0].securityContext.privileged: Invalid value: true: Privileged containers are not allowed spec.containers[0].securityContext.volumes[0]: Invalid value: "hostPath": hostPath volumes are not allowed to be used spec.initContainers[0].securityContext.volumes[0]: Invalid value: "hostPath": hostPath volumes are not allowed to be used spec.initContainers[0].securityContext.volumes[1]: Invalid value: "persistentVolumeClaim": persistentVolumeClaim volumes are not allowed to be used spec.initContainers[0].securityContext.volumes[2]: Invalid value: "persistentVolumeClaim": persistentVolumeClaim volumes are not allowed to be used spec.containers[0].securityContext.privileged: Invalid value: true: Privileged containers are not allowed spec.containers[0].securityContext.volumes[0]: Invalid value: "hostPath": hostPath volumes are not allowed to be used spec.containers[0].securityContext.volumes[1]: Invalid value: "persistentVolumeClaim": persistentVolumeClaim volumes are not allowed to be used spec.containers[0].securityContext.volumes[2]: Invalid value: "persistentVolumeClaim": persistentVolumeClaim volumes are not allowed to be used
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment