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

OCP 4.11 warning #12

Open
pwright opened this issue Jun 22, 2023 · 0 comments
Open

OCP 4.11 warning #12

pwright opened this issue Jun 22, 2023 · 0 comments

Comments

@pwright
Copy link
Member

pwright commented Jun 22, 2023

kubectl create deployment frontend --image quay.io/skupper/hello-world-frontend

Warning: would violate PodSecurity "restricted:v1.24": allowPrivilegeEscalation != false (container "hello-world-frontend" must set securityContext.allowPrivilegeEscalation=false), unrestricted capabilities (container "hello-world-frontend" must set securityContext.capabilities.drop=["ALL"]), runAsNonRoot != true (pod or container "hello-world-frontend" must set securityContext.runAsNonRoot=true), seccompProfile (pod or container "hello-world-frontend" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost")
@pwright pwright changed the title OCP warning OCP 4.11 warning Jun 22, 2023
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