Skip to content

OpenShift scc error with Invalid value: 1337 #21

@GavinLin168

Description

@GavinLin168

After successfully install istio and istio-pod-network-controller . Enable auto-inject in ns-1 and add "istio-pod-network-controller/initialize: true" annotation in ns-1 , when I apply a Deployment it occur error like below, any suggestion for this? thanks!
By the way "oc adm policy add-scc-to-user anyuid -z default -n ns-1" had alreday been executed.

OpenShift version : 3.11
istio version: 1.0.3

16s 16s 1 two-v1-5c9cd6c4cb.157858270bc4fa1b ReplicaSet Warning FailedCreate replicaset-controller Error creating: pods "two-v1-5c9cd6c4cb-lpfpl" is forbidden: unable to validate against any pod security policy: [spec.containers[1].securityContext.securityContext.runAsUser: Invalid value: 1337: must be in the ranges: [1000240000, 1000249999]]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions