-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Add prefer-bundled-bin
as an agent flag
#6545
Conversation
Signed-off-by: Derek Nola <[email protected]>
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.
Nit: rather than copy-pasting the flag definition between both files, add it as a var like the DebugFlag
in root.go and just reference that var in the list:
Lines 14 to 18 in 1beecb2
DebugFlag = cli.BoolFlag{ | |
Name: "debug", | |
Usage: "(logging) Turn on debug logs", | |
Destination: &Debug, | |
EnvVar: version.ProgramUpper + "_DEBUG", |
Line 226 in 1beecb2
DebugFlag, |
Line 172 in 1beecb2
DebugFlag, |
Signed-off-by: Derek Nola <[email protected]>
Signed-off-by: Derek Nola <[email protected]>
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.
Thank you very much for adding the test, LGTM
* Add prefer-bundled-bin as an agent flag * Add E2E test for prefer-bundled-bin Signed-off-by: Derek Nola <[email protected]> (cherry picked from commit 614da78) Signed-off-by: Brad Davidson <[email protected]>
* Add prefer-bundled-bin as an agent flag * Add E2E test for prefer-bundled-bin Signed-off-by: Derek Nola <[email protected]> (cherry picked from commit 614da78) Signed-off-by: Brad Davidson <[email protected]>
* Add prefer-bundled-bin as an agent flag * Add E2E test for prefer-bundled-bin Signed-off-by: Derek Nola <[email protected]> (cherry picked from commit 614da78) Signed-off-by: Brad Davidson <[email protected]>
* Add prefer-bundled-bin as an agent flag * Add E2E test for prefer-bundled-bin Signed-off-by: Derek Nola <[email protected]> (cherry picked from commit 614da78) Signed-off-by: Brad Davidson <[email protected]>
* Add prefer-bundled-bin as an agent flag * Add E2E test for prefer-bundled-bin Signed-off-by: Derek Nola <[email protected]> (cherry picked from commit 614da78) Signed-off-by: Brad Davidson <[email protected]>
* Add prefer-bundled-bin as an agent flag * Add E2E test for prefer-bundled-bin Signed-off-by: Derek Nola <[email protected]> (cherry picked from commit 614da78) Signed-off-by: Brad Davidson <[email protected]>
* Add prefer-bundled-bin as an agent flag * Add E2E test for prefer-bundled-bin Signed-off-by: Derek Nola <[email protected]> (cherry picked from commit 614da78) Signed-off-by: Brad Davidson <[email protected]>
* Add prefer-bundled-bin as an agent flag * Add E2E test for prefer-bundled-bin Signed-off-by: Derek Nola <[email protected]> (cherry picked from commit 614da78) Signed-off-by: Brad Davidson <[email protected]>
* Add prefer-bundled-bin as an agent flag * Add E2E test for prefer-bundled-bin Signed-off-by: Derek Nola <[email protected]> (cherry picked from commit 614da78) Signed-off-by: Brad Davidson <[email protected]>
Signed-off-by: Derek Nola [email protected]
Proposed Changes
prefer-bundled-bin
experimental flag #6420, we also want agent to have access to the new flagTypes of Changes
Verification
Deploy a server and agent on nodes with
prefer-bundled-bin
flag for both.Testing
Linked Issues
#3117
User-Facing Change
Further Comments