-
Notifications
You must be signed in to change notification settings - Fork 361
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
fix: shutdown-manager not respecting security context of container spec #4938
base: main
Are you sure you want to change the base?
fix: shutdown-manager not respecting security context of container spec #4938
Conversation
Signed-off-by: Dean Coakley <[email protected]>
5b13980
to
34a52bf
Compare
@Dean-Coakley
And run |
@zhaohuabing Are there some prerequisites, or do you have suggestions on how to resolve?: $ golangci-lint version
golangci-lint has version 1.59.1 built with go1.22.3 from 1a55854a on 2024-06-09T18:08:33Z
$ go version
go version go1.23.3 linux/amd64 $ make gen-check
make[1]: Entering directory '/home/dean/go/src/github.com/dean-coakley/envoy-gateway'
===========> Running go.mod.tidy ...
go mod tidy -compat=1.23
go: github.com/envoyproxy/gateway/internal/troubleshoot imports
github.com/replicatedhq/troubleshoot/pkg/collect imports
github.com/replicatedhq/troubleshoot/pkg/debug imports
github.com/spf13/viper imports
github.com/spf13/viper/internal/encoding/toml imports
github.com/pelletier/go-toml/v2: mkdir /home/dean/go/pkg/mod/github.com/pelletier/go-toml: permission denied
make[1]: *** [tools/make/golang.mk:81: go.mod.tidy] Error 1
make[1]: Leaving directory '/home/dean/go/src/github.com/dean-coakley/envoy-gateway'
make: *** [Makefile:18: _run] Error 2 $ sudo make gen-check
make[1]: Entering directory '/home/dean/go/src/github.com/dean-coakley/envoy-gateway'
/bin/bash: line 1: go: command not found
/bin/bash: line 1: go: command not found
/bin/bash: line 1: go: command not found
===========> Running go.mod.tidy ...
go mod tidy -compat=1.23
/bin/bash: line 1: go: command not found
make[1]: *** [tools/make/golang.mk:81: go.mod.tidy] Error 127
make[1]: Leaving directory '/home/dean/go/src/github.com/dean-coakley/envoy-gateway'
make: *** [Makefile:18: _run] Error 2 |
Can you try |
My
|
trfs lib is missing try |
Signed-off-by: Dean Coakley <[email protected]>
Signed-off-by: Dean Coakley <[email protected]>
269ec5d
to
10f2e31
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4938 +/- ##
==========================================
- Coverage 66.34% 66.31% -0.04%
==========================================
Files 209 209
Lines 32035 32038 +3
==========================================
- Hits 21254 21246 -8
- Misses 9524 9533 +9
- Partials 1257 1259 +2 ☔ View full report in Codecov by Sentry. |
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 thanks!
What type of PR is this?
Fixes setting custom security context in container spec
Which issue(s) this PR fixes:
Fixes #4881
Release Notes: Yes