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

[BUG]installation is failing due to uid range constraint #1662

Closed
snir911 opened this issue Mar 3, 2021 · 0 comments · Fixed by #1695
Closed

[BUG]installation is failing due to uid range constraint #1662

snir911 opened this issue Mar 3, 2021 · 0 comments · Fixed by #1695
Assignees
Labels
bug Something isn't working

Comments

@snir911
Copy link

snir911 commented Mar 3, 2021

Software version numbers

  • Kubernetes version:
    v1.20.0
  • Kyverno version:
    v1.3.3

Describe the bug
Running on Openshift is failing due to:
Error creating: pods "kyverno-797bc5c758-" is forbidden: unable to validate against any security context constraint: [spec.initContainers[0].securityContext.runAsUser: Invalid value: 1000: must be in the ranges: [1000800000, 1000809999] spec.containers[0].securityContext.runAsUser: Invalid value: 1000: must be in the ranges: [1000800000, 1000809999]]

To Reproduce
Steps to reproduce the behavior:

  1. set an Openshift cluster
  2. run: kubectl create -f https://raw.githubusercontent.com/kyverno/kyverno/main/definitions/release/install.yaml

Expected behavior
kyverno is installed successfully

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants