generated from ibm-developer-skills-network/coding-project-template
-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
When trying to execute the pipeline on OpenShift, the following tasks fail:
- cleanup
- gitclone
- flake8
With the following error
"output-q1p632-flake8-pod" is forbidden: violates PodSecurity "restricted:latest": unrestricted capabilities (containers "prepare", "place-scripts", "working-dir-initializer", "step-flake8" must set securityContext.capabilities.drop=["ALL"]), runAsNonRoot != true (pod or containers "prepare", "place-scripts", "working-dir-initializer", "step-flake8" must set securityContext.runAsNonRoot=true), seccompProfile (pod or containers "prepare", "place-scripts", "working-dir-initializer", "step-flake8" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost")
Metadata
Metadata
Assignees
Labels
No labels