Skip to content

security_context_test.go(TestVerifyRunAsNonRoot): add more test cases#57464

Merged
k8s-github-robot merged 1 commit intokubernetes:masterfrom
php-coder:verify_run_as_non_root_test
Jan 2, 2018
Merged

security_context_test.go(TestVerifyRunAsNonRoot): add more test cases#57464
k8s-github-robot merged 1 commit intokubernetes:masterfrom
php-coder:verify_run_as_non_root_test

Conversation

@php-coder
Copy link
Copy Markdown
Contributor

What this PR does / why we need it:
In #56503 we modified VerifyRunAsNonRoot function add add one more argument. As was requested by @simo5, this change should have a unit test.

This PR adds this test and also some more to cover more execution paths.

Release note:

NONE

PTAL @pweil- @liggitt
CC @simo5

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Dec 20, 2017
@php-coder
Copy link
Copy Markdown
Contributor Author

/assign @tallclair

@dims
Copy link
Copy Markdown
Member

dims commented Dec 27, 2017

/unassign @dims

@php-coder
Copy link
Copy Markdown
Contributor Author

@tallclair @liggitt PTAL

@tallclair
Copy link
Copy Markdown
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 2, 2018
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: php-coder, tallclair

Associated issue: #56503

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 2, 2018
@k8s-github-robot
Copy link
Copy Markdown

/test all

Tests are more than 96 hours old. Re-running tests.

@k8s-github-robot
Copy link
Copy Markdown

Automatic merge from submit-queue (batch tested with PRs 57746, 57621, 56839, 57464). If you want to cherry-pick this change to another branch, please follow the instructions here.

@k8s-github-robot k8s-github-robot merged commit b20c837 into kubernetes:master Jan 2, 2018
@php-coder php-coder deleted the verify_run_as_non_root_test branch January 2, 2018 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants