Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenShift scc error with Invalid value: 1337 #21

Open
GavinLin168 opened this issue Jan 10, 2019 · 0 comments
Open

OpenShift scc error with Invalid value: 1337 #21

GavinLin168 opened this issue Jan 10, 2019 · 0 comments

Comments

@GavinLin168
Copy link

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]]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant