-
Notifications
You must be signed in to change notification settings - Fork 64
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: refactor certStore and KMP to support multi-tenancy [multi-tenancy PR 10] #1423
Merged
akashsinghal
merged 24 commits into
ratify-project:dev
from
binbin-li:multi-tenancy-pr-10
May 3, 2024
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
ede25b9
feat: add Stores interface to wrap operations on namespaced stores
binbin-li d76e2a9
feat: add Policies interface to wrap operations on namespaced policies
binbin-li 0eb8df5
feat: add KMPManager interface to wrap operations on namespaced kmp
binbin-li c0b5769
feat: revert extra namespace mapping
binbin-li 05e34fa
Merge branch 'dev' into multi-tenancy-pr-6
binbin-li 6e69159
Merge remote-tracking branch 'upstream/dev' into multi-tenancy-pr-6
binbin-li 5dc63d0
feat: add context to GetKeys
binbin-li 7d93b96
feat: add ClusterPolicy CRD
binbin-li cf7c563
chore: address comments
binbin-li 7521fb2
feat: add NamespacedStore CRD
binbin-li db364e6
Merge remote-tracking branch 'upstream/dev' into multi-tenancy-pr-8
binbin-li 80a229e
Merge branch 'dev' into multi-tenancy-pr-8
binbin-li d59067a
Merge remote-tracking branch 'upstream/dev' into multi-tenancy-pr-8
binbin-li 13131f7
chore: remove deprecated tests
binbin-li d06b1a0
feat: add NamespacedKMP and switch KMP scope to cluster
binbin-li e856f53
Merge remote-tracking branch 'upstream/dev' into multi-tenancy-pr-9
binbin-li 96f8ad3
Merge branch 'dev' into multi-tenancy-pr-9
binbin-li 4d68169
Merge remote-tracking branch 'upstream/dev' into multi-tenancy-pr-9
binbin-li 7321d5c
Merge branch 'dev' into multi-tenancy-pr-9
binbin-li a95d858
feat: refactor certStore to support multi-tenancy
binbin-li f573a21
Merge remote-tracking branch 'upstream/dev' into multi-tenancy-pr-10
binbin-li bc16d4c
feat: remove default namespace setting
binbin-li f236803
feat: return errors when failing to access kmp/certStore
binbin-li 2474502
Merge remote-tracking branch 'upstream/dev' into multi-tenancy-pr-10
binbin-li 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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.
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 still need the namespace var, ? are we moving local from verifier to certStore?
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.
We won't need the namespace var since now. In the future, verifier will just keep the original configurations from users, like the ref to certStore/KMP. For the logics matching reference to certStore/KMP, it's moved to certStore/KMP implementation so that we could have different behavior on them. And it would be easier to manage it than splitting namespace fetching, namespace prefix and matching into different places.