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
Add support for target namespaces #5440
Conversation
6039474
to
f2b4676
Compare
I did a review pass... just Sascha's comment needs a fix |
1ec598c
to
e59838a
Compare
4f5cb88
to
4183a49
Compare
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.
/retest-required
/hold |
2e45fa2
to
5279f25
Compare
Codecov Report
@@ Coverage Diff @@
## main #5440 +/- ##
==========================================
+ Coverage 43.25% 43.43% +0.17%
==========================================
Files 120 121 +1
Lines 12001 12037 +36
==========================================
+ Hits 5191 5228 +37
+ Misses 6315 6306 -9
- Partials 495 503 +8 |
01b0135
to
b699abe
Compare
/retest |
pkg/config/config_test.go
Outdated
@@ -14,6 +14,8 @@ import ( | |||
. "github.com/onsi/gomega" | |||
) | |||
|
|||
const tmpDir = "/tmp" |
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.
Nit: use os.TempDir()
instead?
It seems like a few last commits are fixups to earlier ones. Instead, they should be part of those earlier commits. |
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
5452d2c
to
c4eeb52
Compare
Signed-off-by: Peter Hunt <pehunt@redhat.com>
Signed-off-by: Peter Hunt <pehunt@redhat.com>
Signed-off-by: Peter Hunt <pehunt@redhat.com>
Signed-off-by: Peter Hunt <pehunt@redhat.com>
Signed-off-by: Peter Hunt <pehunt@redhat.com>
Signed-off-by: Peter Hunt <pehunt@redhat.com>
Otherwise, "Container:SpecAddNamespaces should use target PID namespace" fails Signed-off-by: Peter Hunt <pehunt@redhat.com>
Signed-off-by: Peter Hunt <pehunt@redhat.com>
Signed-off-by: Peter Hunt <pehunt@redhat.com>
c4eeb52
to
4985aba
Compare
Signed-off-by: Peter Hunt <pehunt@redhat.com>
Signed-off-by: Peter Hunt <pehunt@redhat.com>
Signed-off-by: Peter Hunt <pehunt@redhat.com>
4985aba
to
e7aa30f
Compare
/retest-required |
/test integration_crun |
@haircommander: The following tests failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: haircommander, mrunalp, saschagrunert The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
/retest-required Please review the full test history for this PR and help us cut down flakes. |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Adds support for TARGET namespaces, which is needed by ephemeral containers (set to go beta in 1.23)
Which issue(s) this PR fixes:
fixes #4790
Special notes for your reviewer:
Does this PR introduce a user-facing change?