-
Notifications
You must be signed in to change notification settings - Fork 61
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
make kubernetes_ca_cert optional #238
Merged
Merged
Changes from 11 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
ee49a2e
make kubernetes-ca-cert optional and default to local CA cert
thyton 875494f
update CHANGELOG
thyton cac8247
do nothing to TSL config when true disable_local_ca_jwt & unset kuber…
thyton a3f2e86
skip updating root CAs
thyton ef0454e
set transport.TLSClientConfig to getDefaultTLSConfig() when falling b…
thyton e77f4e6
forgot to stage transport.TLSClientConfig = getDefaultTLSConfig() change
thyton 27b3933
only update transport.TLSClientConfig when transport.TLSClientConfig.…
thyton 0af6e94
Use the SystemCertPool() when no CACert chain is provided
benashz f033819
Minor fix ups
benashz 2a8f1d3
Guard against nil RootCAs
benashz e6e5bd8
add test for invalid CA cert
thyton 82ec9fb
Update path_config_test.go
thyton 698a21b
Update path_config.go
thyton 6b84d97
Update path_config.go
thyton 3a5f5d7
update CHANGELOG entry
thyton 5025f03
use truncated CA cert for invalid kubernetes_ca_cert test
thyton f1c5acf
add new line
thyton f916f7e
fold long lines
thyton 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
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
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.
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.
I think this is really about having "TLS uses the host's root CA set" if no CA chain is provided - which is a behavioural change.
We should also document the extra validation being done on the provided CA PEM bundle.