-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Enroll proxy settings #26514
Merged
Merged
Enroll proxy settings #26514
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
d955f54
Introducde httpcommon package in libbeat
9a5cf78
Update heartbeat
a768d97
Update metricbeat
3902e66
Update cloudfoundry
6d44309
No more nil errors
dbb6088
update esleg
ba2cbe7
update kibana
48c4692
update metricbeat http helper
e87950d
Update httpjson
a1c1ebd
Update httpjson/v2
d5af1e3
Add json encoding to httpcommon
9eb720e
Update agent
511a656
Add proxy_headers setting
041e725
init proxy headers
d5cec18
Add missing license headers
b3d9855
fix CM
090e8ec
fix unit test
f7e5dfd
fix fileset test setup
feecc41
Merge branch 'master' into http_common
f4aeca2
fix heartbeat after cleanups
f445fe5
import order
1893c01
import order... thanks goimports :/
3ec53dd
udpate dev-tools
2344081
FB integration test
2cd6abc
Fix libbeat licenser integration test
1a9c368
fix typo
197a5f7
more updates
87e45aa
Load tls config more lazily... agent does not like preloading
7d194b7
Merge branch 'master' into http_common
796489b
fix metricbeat integration test after merge master
7af762d
Merge branch 'master' into http_common
85e367f
remove obsolete todo commen
c47a3df
remove unused test code
43138fa
Merge branch 'master' into http_common
5d2be4c
Merge branch 'master' into http_common
1bb2121
Merge branch 'master' into http_common
7675353
fix lint
1d4de2a
Update hearbeat docs
5417800
Merge branch 'master' into http_common
c62be8b
Add changelog entry
c8bae54
Add elastic agent changelog entries
55550a3
fix PR number
4d01864
Add proxy support to enrollment command
ee83fa0
add changelog entry
5648f77
Merge branch 'master' into enroll-proxy-settings
09c34e2
fix merge error
7f8d666
Disable proxy in agent enroll when fleet server is bootstrapped
2bc9dae
disable proxy in serialized fleet.yml config if fleet server is local
77c3981
update
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
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.
How does this persist after enrollment? This looks like it will work for enrollment, but how does the restarted Elastic Agent after enrollment ensure that it talks to its local Fleet Server not over the proxy? Does this
Disable = true
get persisted into thefleet.yml
so that Elastic Agent knows not to use the proxy?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.
Updated PR. The config for agent is serialized in
fleetServerBootstrap
.