-
Notifications
You must be signed in to change notification settings - Fork 100
NGINX Configs to Reference Remote External Files #1389
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
Open
Akshay2191
wants to merge
14
commits into
main
Choose a base branch
from
external-file-mgmt-integration
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,594
−42
Open
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
ae7fa14
third party config support
Akshay2191 14f1190
lint fix
Akshay2191 84b2310
Merge branch 'main' into external-file-mgmt-integration
Akshay2191 d31b2df
Added a generic file timeout
Akshay2191 b7a5c70
merging main to resolve conflicts
Akshay2191 501e08f
added generic timeout to create connection
Akshay2191 b7eaef7
added uT
Akshay2191 a83e45b
Added UT
Akshay2191 529c839
fix lint issues
Akshay2191 2a51d22
Added UT for Proxy URL
Akshay2191 f22834f
increasing UT coverage
Akshay2191 4a2b917
updated Mock management to test external file config apply
Akshay2191 b7759e1
PR review comments addressed
Akshay2191 bd60017
worked on PR comments
Akshay2191 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
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -82,6 +82,8 @@ const ( | |||||
| DefBackoffMaxInterval = 20 * time.Second | ||||||
| DefBackoffMaxElapsedTime = 1 * time.Minute | ||||||
|
|
||||||
| DefClientFileDownloadTimeout = 60 * time.Second | ||||||
|
|
||||||
| // Watcher defaults | ||||||
| DefInstanceWatcherMonitoringFrequency = 5 * time.Second | ||||||
| DefInstanceHealthWatcherMonitoringFrequency = 5 * time.Second | ||||||
|
|
@@ -114,6 +116,10 @@ const ( | |||||
|
|
||||||
| // File defaults | ||||||
| DefLibDir = "/var/lib/nginx-agent" | ||||||
|
|
||||||
| DefExternalDataSourceProxyUrl = "" | ||||||
| // Default allow external data sources up to 100 MB | ||||||
| DefExternalDataSourceMaxBytes = 100 * 1024 * 1024 | ||||||
Akshay2191 marked this conversation as resolved.
Show resolved
Hide resolved
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| ) | ||||||
|
|
||||||
| func DefaultFeatures() []string { | ||||||
|
|
||||||
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
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.