-
Notifications
You must be signed in to change notification settings - Fork 375
Eopa decision_log plugin with open policy agent #3739
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
Draft
wisinghe
wants to merge
19
commits into
zalando:master
Choose a base branch
from
wisinghe:eopa
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.
Draft
Changes from 10 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
69c2e41
Gh action/labeler (#3737)
szuecs 316b509
eopa dependencies
e6381e1
provide eopa package comment
9b374e4
remove eopa data plugin
5c70089
remove eopa data plugin
762edc4
actions: add workflow to enable labeler (#3740)
MustafaSaber f4f151e
running current tests while eopa flag is on
b21d6b8
test opaauthorizerequest filter with S3 decsion log update
6d3358d
Merge branch 'master' into eopa
310d2d5
remove flag for only enabling decision log plugin
4163301
remove leftover config
452dd1b
Merge branch 'master' into eopa
e28fe30
update deps
b89cf37
use dl plugins from the branch
851d433
use dl plugins from the branch
4f7856f
Update EOPA to latest decision_logs branch
351e54e
update dl plugin version from branch
ae4f3d6
remove role from test
53ee1ab
temp remove flaky tests
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
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.
This part is not exactly related to enabling the eopa_dl plugin.
It seems unless we add
discovery.BootConfigfunction during the discovery initialization, thedecision_logorpluginsconfiguration provided in the opaconfig.yaml is not effective.As we are planning to work with both bootstrapped and discovered configuration (Possible from opa v0.64.0 onwards) we will need this.
If I did not miss anything, This configuration we have for the clusters is not currently doing anything and will start to make an impact once this change is merged.
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.
so regardless the decision log config will be overwritten by Styra DAS correct?
So to test it in integration we would need to change the discovery config?
Uh oh!
There was an error while loading. Please reload this page.
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.
With the current filter implementation, yes.
This code change takes away the requirement to change the discovery config, by passing the bootstrap config into the discovery initialization (at line 703)