-
Bug
-
Resolution: Done
-
Major
-
DO188 - RHOSCP4.12-en-2-20230607
-
None
-
False
-
-
False
-
-
-
en-US (English)
Description: The proposed solution for this lab (text) fails. - The pod never comes up to Running. [student@workstation openshift-lab]$ oc create -f deployment.yaml Warning: would violate PodSecurity "restricted:v1.24": allowPrivilegeEscalation != false (container "podman-quotes-api" must set securityContext.allowPrivilegeEscalation=false), unrestricted capabilities (container "podman-quotes-api" must set securityContext.capabilities.drop=["ALL"]), runAsNonRoot != true (pod or container "podman-quotes-api" must set securityContext.runAsNonRoot=true), seccompProfile (pod or container "podman-quotes-api" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost") deployment.apps/quotes-api created [student@workstation openshift-lab]$ oc get po NAME READY STATUS RESTARTS AGE quotes-api-6446fd8f5d-lwt4s 0/1 CrashLoopBackOff 1 (2s ago) 5s <<<<<<<<< If I delete the pod, it gets recreated and goes to Error instead. quotes-ui-564f958b6d-kmnlj 0/1 CrashLoopBackOff 4 (47s ago) 2m13s