-
Notifications
You must be signed in to change notification settings - Fork 70
chore: fix vulnerabilities and CI failures #1179
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
Merged
Merged
Changes from 30 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
55fa917
fix: Update golangci-lint config to v2 format and Go version to 1.23
ashnamehrotra 3bf4801
update manager vulns and handle api migrations
ashnamehrotra 115c155
remover image vulns
ashnamehrotra bd92d2f
update k8s
ashnamehrotra 53c6cc5
update trivy binary
ashnamehrotra eac2ac4
change base img
ashnamehrotra 7b47784
Merge branch 'main' of github.com:Azure/eraser into fix-vulns
ashnamehrotra 114fd1a
final cve changes
ashnamehrotra 81fb459
more lint
ashnamehrotra 3e59077
unit test fix
ashnamehrotra aa34ec4
ignore revive
ashnamehrotra 12e2be3
trivy binary update
ashnamehrotra b2e73a5
try increase timeout
ashnamehrotra d374da9
test fix
ashnamehrotra 46fd36e
use grcp new client
ashnamehrotra 1f9b180
grpc fix
ashnamehrotra 4977f2b
grpc fix
ashnamehrotra 67c84e8
getConn test
ashnamehrotra 7507e05
update go version in CI
ashnamehrotra 946f21c
revert grpc
ashnamehrotra 8da8978
revert Dockerfile
ashnamehrotra e929a4c
Merge branch 'main' of github.com:Azure/eraser into fix-vulns
ashnamehrotra bb54194
trivy fs vulns upgrade
ashnamehrotra e6549b0
govulncheck fixes
ashnamehrotra b0dcdc6
docs changes
ashnamehrotra 6cb2b32
update to go 1.25 and trivy binary to 0.67.2
ashnamehrotra 7739e3d
change golang:1.25.3-bookworm to golang:1.25-bookworm
ashnamehrotra 0ee866c
go version to 1.25 in workflows
ashnamehrotra 70ddf0d
remove checkNodeFitness
ashnamehrotra b859a49
Merge branch 'main' of github.com:Azure/eraser into fix-vulns
ashnamehrotra f352eaf
Update .golangci.yaml
ashnamehrotra File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,40 +1,42 @@ | ||
| run: | ||
| timeout: 5m | ||
|
|
||
| linters-settings: | ||
| gocritic: | ||
| enabled-tags: | ||
| - performance | ||
| gosec: | ||
| excludes: | ||
| - G108 | ||
| lll: | ||
| line-length: 200 | ||
| version: "2" | ||
|
|
||
| misspell: | ||
| locale: US | ||
| staticcheck: | ||
| go: "1.21" | ||
| run: | ||
| go: "1.23" | ||
|
|
||
| linters: | ||
| disable-all: true | ||
| default: none | ||
| enable: | ||
| - errcheck | ||
| - exportloopref | ||
| - copyloopvar # replacement for exportloopref | ||
| - forcetypeassert | ||
| - gocritic | ||
| - goconst | ||
| - godot | ||
| - gofmt | ||
| - gofumpt | ||
| - goimports | ||
| - gosec | ||
| - gosimple | ||
| - govet | ||
| - ineffassign | ||
| - misspell | ||
| - revive # replacement for golint | ||
| - staticcheck | ||
| - typecheck | ||
| # - revive # replacement for golint | ||
| - staticcheck # includes gosimple and staticcheck | ||
| - unused | ||
| - whitespace | ||
| settings: | ||
| gocritic: | ||
| enabled-tags: | ||
| - performance | ||
| gosec: | ||
| excludes: | ||
| - G108 | ||
| lll: | ||
| line-length: 200 | ||
| misspell: | ||
| locale: US | ||
| exclusions: | ||
| paths: | ||
| - "docs/build/assets/files/.*\\.go" | ||
|
|
||
| formatters: | ||
| enable: | ||
| - gofmt | ||
| - gofumpt | ||
| - goimports | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| // Package v1alpha1 contains API Schema definitions for the eraser v1alpha1 API version. | ||
| // +k8s:conversion-gen=github.com/eraser-dev/eraser/api/unversioned | ||
| package v1alpha1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| // Package v1alpha2 contains API Schema definitions for the eraser v1alpha2 API version. | ||
| // +k8s:conversion-gen=github.com/eraser-dev/eraser/api/unversioned | ||
| package v1alpha2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,4 @@ | ||
| // Package controllers implements Kubernetes controllers for eraser resources. | ||
| package controllers | ||
|
|
||
| import ( | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.