Pod Security Admission support for odo deploy#6679
Pod Security Admission support for odo deploy#6679openshift-merge-robot merged 5 commits intoredhat-developer:mainfrom
Conversation
✅ Deploy Preview for odo-docusaurus-preview canceled.
|
137d67c to
55e3c86
Compare
|
The changes lgtm and it seems to be working fine, but what I am curious about is, why does it still show warning. ➜ go-deploy odo deploy
__
/ \__ Running the application in Deploy mode using nodejs-prj1-api-abhz Devfile
\__/ \ Namespace: myns
/ \__/ odo version: v3.8.0
\__/
↪ Executing command:
◐ Executing command in container (command: deploy...W0327 16:33:12.911351 69916 warnings.go:70] would violate PodSecurity "restricted:latest": seccompProfile (pod or container "runtime" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost")
✓ Executing command in container (command: deploy-exec) [7s]
↪ Executing command:
◐ Executing command in container (command: deploy-exec-2)W0327 16:36:37.410775 70704 warnings.go:70] would violate PodSecurity "restricted:latest": seccompProfile (pod or container "runtime" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost")
✓ Executing command in container (command: deploy-exec-2) [7s]
Your Devfile has been successfully deployed |
@valaparthvi If you have only the "Warn" label on the namespace, the pod won't be modified (it will be modified only if the "enforce" label is set). |
Co-authored-by: Armel Soro <[email protected]>
|
Kudos, SonarCloud Quality Gate passed!
|
|
/override windows-integration-test/Windows-test Non related failing test due to network error: |
|
@feloy: Overrode contexts on behalf of feloy: windows-integration-test/Windows-test DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |








What type of PR is this:
/kind feature
What does this PR do / why we need it:
Which issue(s) this PR fixes:
Fixes #6339
PR acceptance criteria:
Unit test
Integration test
Documentation
How to test changes / Special notes to the reviewer: