-
Notifications
You must be signed in to change notification settings - Fork 94
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
support adding a CA cert to http collector #1624
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
7f595de
add a TLS parameter for cacert
adamancini 7ca3483
pass a ca cert into http request
adamancini 941bfc6
test preflight
adamancini 8a3af4d
make schemas
adamancini 943c78c
log extra information from http request
adamancini 90814fb
pass a proxy into the collector spec
adamancini 0000684
hitting a segfault; breakpoint
adamancini e8148da
accept a dir, file, or a string-literal as CA
adamancini 5258c72
move tls params into get, put, post methods
adamancini 75c5263
test for cert untrusted response
adamancini 3f05d5e
make generate
adamancini b1395e0
make schemas
adamancini 754a731
more test cases
adamancini 48ee1f6
Merge branch 'main' into mitm-proxy
adamancini 24b5ccc
make schemas
adamancini 51cd3a2
dont include system certs
adamancini 5a6a831
Merge branch 'main' into mitm-proxy
adamancini bdb32cc
make generate && make schemas
adamancini e545bc2
resolve gosec G402 warning
adamancini a8b44c8
remove old check for system certs
adamancini f6abfc6
ignore errcheck "return value not checked" linter errors
adamancini 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 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 |
---|---|---|
|
@@ -11,3 +11,5 @@ linters: | |
- gofmt | ||
- gosec | ||
- govet | ||
disable: | ||
- errcheck | ||
This file contains 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 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.
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.
We intending to disable this?
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.
I added it intentionally because tests are failing on "you didn't check for a return error value" in the tests themselves
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.
https://github.com/replicatedhq/troubleshoot/actions/runs/11486710569/job/31969600112?pr=1624#step:5:403
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.
looks like because of this most recent change 402d111