-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
feat: set default value of ssl_trusted_certificate
to system
#11993
Open
Revolyssup
wants to merge
25
commits into
apache:master
Choose a base branch
from
Revolyssup:revolyssup/system-default-cert
base: master
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.
+19
−61
Open
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
541ebd6
feat: use "system" as default when ssl_trusted_certificate not passed
Revolyssup 3e8ba20
set in schema
Revolyssup 04be7b3
update config example
Revolyssup 58287b9
create combined file path if doesnt exist
Revolyssup b75a794
fix lint
Revolyssup b7c2140
lowercase
Revolyssup 5877450
add ssl_trusted_combined in apisix.home
Revolyssup b4b8919
remove cli test
Revolyssup 1bc7c63
modify test
Revolyssup d67727e
Merge branch 'master' of github.com:apache/apisix into revolyssup/sys…
Revolyssup 0829c9e
set in config.lua
Revolyssup 34c342c
Merge branch 'revolyssup/system-default-cert' of github.com:Revolyssu…
Revolyssup 3f43726
fix
Revolyssup a26d8dc
Merge branch 'revolyssup/system-default-cert' of github.com:Revolyssu…
Revolyssup b760859
revert cli test
Revolyssup c55c860
apply suggestion
Revolyssup 24de38f
Merge branch 'revolyssup/system-default-cert' of github.com:Revolyssu…
Revolyssup c3f3210
fix lint
Revolyssup 9da0380
Merge branch 'master' of github.com:apache/apisix into revolyssup/sys…
Revolyssup 300f399
remove combined_path
Revolyssup 6aca366
fix litn
Revolyssup 58be71b
remove unwanted test
Revolyssup 10d6526
remove system
Revolyssup e9aadc6
remove redundant check
Revolyssup e1a3374
apply suggestions
Revolyssup 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
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.
Do we also need to set
system
to the json schema default?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 if we add it to apisix/cli/config.lua. Its fine to not add this here.
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.
Although we don't need it to fill with default values, as a specification it should fit the status quo.
I still recommend adding it so that we can explore the feasibility of generating documents for it in the future.