-
Notifications
You must be signed in to change notification settings - Fork 39.6k
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 e2e test for kubectl default container annotation #115046
Conversation
Skipping CI for Draft Pull Request. |
f := framework.NewDefaultFramework("default-container") | ||
f.NamespacePodSecurityEnforceLevel = admissionapi.LevelBaseline | ||
|
||
ginkgo.Describe("logs", func() { |
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.
While you're at it, can you move all the kubectl logs
related tests over to this file, and rename it to logs.go
this way we'll start splitting that gigantic https://github.com/kubernetes/kubernetes/blob/master/test/e2e/kubectl/kubectl.go into smaller pieces.
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.
Can be done in a followup.
302123e
to
01f3dc0
Compare
/test pull-kubernetes-node-e2e-containerd |
01f3dc0
to
5aa7179
Compare
/priority important-soon |
c18bf17
to
37516d3
Compare
…ontainer annotation Signed-off-by: Paco Xu <paco.xu@daocloud.io>
37516d3
to
b45f0a8
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.
/lgtm
/approve
It would be nice to split this into 2 commits:
- move existing test to new file
- add the new e2e
} | ||
} | ||
|
||
// TODO promote to conformance test |
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: drop this, not needed.
LGTM label has been added. Git tree hash: 9474a0b9028f163bd6136237c2706d0ef92c12ee
|
/assign @dims |
/approve thanks for the context @soltysh |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dims, pacoxu, soltysh 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 |
What type of PR is this?
/kind cleanup
/kind feature
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes kubernetes/enhancements#3457
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: