Skip to content
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

Update the kubelet volume mount of non-root enabler container on the real object not on a copy of it #1450

Merged
merged 2 commits into from
Feb 6, 2023

Conversation

ccojocar
Copy link
Contributor

@ccojocar ccojocar commented Feb 2, 2023

What type of PR is this?

/kind bug

What this PR does / why we need it:

Update the volume mount on the effective object of non-root-enabler container instead of a copy with no effect.

Which issue(s) this PR fixes:

Does this PR have test?

Special notes for your reviewer:

Does this PR introduce a user-facing change?

Update the volume mount on the effective object of non-root-enabler container instead of a copy with no effect.

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/bug Categorizes issue or PR as related to a bug. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Feb 2, 2023
@ccojocar
Copy link
Contributor Author

ccojocar commented Feb 2, 2023

/assign @saschagrunert

@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Feb 2, 2023
@codecov-commenter
Copy link

codecov-commenter commented Feb 2, 2023

Codecov Report

Merging #1450 (3677728) into main (37bf104) will not change coverage.
The diff coverage is 0.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1450   +/-   ##
=======================================
  Coverage   44.02%   44.02%           
=======================================
  Files          50       50           
  Lines        5667     5667           
=======================================
  Hits         2495     2495           
  Misses       3052     3052           
  Partials      120      120           

@ccojocar
Copy link
Contributor Author

ccojocar commented Feb 2, 2023

/retest

1 similar comment
@ccojocar
Copy link
Contributor Author

ccojocar commented Feb 2, 2023

/retest

@ccojocar
Copy link
Contributor Author

ccojocar commented Feb 2, 2023

/test all

@ccojocar
Copy link
Contributor Author

ccojocar commented Feb 2, 2023

/retest

@ccojocar
Copy link
Contributor Author

ccojocar commented Feb 2, 2023

@saschagrunert gocritic seems to hang due to upgrade to Go 1.20:

wrapperFunc yodaStyleExpr]"
level=debug msg="[gocritic] Final used checks (105): [appendAssign appendCombine argOrder assignOp badCall badCond badLock badRegexp badSorting boolExprSimplify builtinShadow builtinShadowDecl captLocal caseOrder codegenComment commentFormatting commentedOutCode commentedOutImport defaultCaseOrder deferInLoop deferUnlambda deprecatedComment docStub dupArg dupBranchBody dupCase dupImport dupSubExpr dynamicFmtString elseif emptyDecl emptyFallthrough emptyStringTest equalFold evalOrder exitAfterDefer exposedSyncMutex externalErrorReassign filepathJoin flagDeref flagName hexLiteral httpNoBody hugeParam ifElseChain importShadow indexAlloc initClause ioutilDeprecated mapKey methodExprCall nestingReduce newDeref nilValReturn octalLiteral offBy1 paramTypeCombine preferDecodeRune preferFilepathJoin preferFprint preferStringWriter preferWriteByte ptrToRefParam rangeExprCopy rangeValCopy redundantSprint regexpMust regexpPattern regexpSimplify returnAfterHttpError ruleguard singleCaseSwitch sliceClear sloppyLen sloppyReassign sloppyTypeAssert sortSlice sprintfQuotedString sqlQuery stringConcatSimplify stringXbytes stringsCompare switchTrue syncMapLoadAndDelete timeCmpSimplify timeExprSimplify todoCommentWithoutDetail tooManyResultsChecker truncateCmp typeAssertChain typeDefFirst typeSwitchVar typeUnparen underef unlabelStmt unlambda unnamedResult unnecessaryBlock unnecessaryDefer unslice valSwap weakCond whyNoLint wrapperFunc yodaStyleExpr]"
level=debug msg="[gocritic] All checks are enabled"
Killed
make: *** [Makefile:359: verify-go-lint] Error 137

It is reproducible locally when running the verify with Go 1.20.

@saschagrunert
Copy link
Member

/retest

@k8s-ci-robot k8s-ci-robot added lgtm "Looks good to me", indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Feb 3, 2023
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 3, 2023
@saschagrunert
Copy link
Member

We have to wait for a new release of golangci-lint, but I expect to happen that sooner than later.

@ccojocar
Copy link
Contributor Author

ccojocar commented Feb 3, 2023

We have to wait for a new release of golangci-lint, but I expect to happen that sooner than later.

ok, this means the pull requests are blocked until a new release of golangci-lint is available?

@saschagrunert
Copy link
Member

No, I think we can
/override pull-security-profiles-operator-verify

@k8s-ci-robot
Copy link
Contributor

@saschagrunert: Overrode contexts on behalf of saschagrunert: pull-security-profiles-operator-verify

In response to this:

No, I think we can
/override pull-security-profiles-operator-verify

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.

@ccojocar
Copy link
Contributor Author

ccojocar commented Feb 3, 2023

@saschagrunert There was a version yesterday released. I updated in this pull request #1453

@ccojocar
Copy link
Contributor Author

ccojocar commented Feb 3, 2023

/retest

@saschagrunert
Copy link
Member

@ccojocar /retest does not work for GitHub actions, we have to manually re-trigger them.

@ccojocar
Copy link
Contributor Author

ccojocar commented Feb 3, 2023

/retest does not work for GitHub actions, we have to manually re-trigger them.

@saschagrunert I think that I do not have permission to restart the Github action.

@ccojocar
Copy link
Contributor Author

ccojocar commented Feb 3, 2023

@saschagrunert Please could you lgtm this one again? Thanks

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 6, 2023
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ccojocar, 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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 4f2af14 into kubernetes-sigs:main Feb 6, 2023
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. kind/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants