-
Notifications
You must be signed in to change notification settings - Fork 243
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
Pod Security Admission support for odo deploy #6679
Pod Security Admission support for odo deploy #6679
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 <armel@rm3l.org>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes!
/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 In 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: