-
Notifications
You must be signed in to change notification settings - Fork 11
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
chore: adr for store enhancement #933
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Case Wylie <[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.
Overall, not a bad start -- and I've added some suggested refinements -- but... it reads more like a plan of action than an ADR, honestly -- it describes an issue and then just hops straight into a list of TODOs supporting a specific, apparently pre-decided implementation.
Where's the reasoning / alternatives? Will a future reader (or a soon-to-be reviewer) understand why we decided to solve the issue in the specific way we did?
For example:
- Why did we decided to code this up instead of just dumping something into the docs saying "Here's the rules!"?
- Why Base64 encode? Why not really sanitize the input by stripping out "bad" characters?
- Why did you decide to put a "v2" in every key instead of having a v2 "container" injected in to keep the new / old keys separate (or whatever else)?
- Why is it worth it to us to add a new Pepr command to the CLI when we could just tell user's it's base64'd and leave it up to them to decide how to read it?
...and so on. Happy to chat through any of that if you wanna, whenever.
Co-authored-by: Barrett <[email protected]>
Co-authored-by: Barrett <[email protected]>
Co-authored-by: Barrett <[email protected]>
Co-authored-by: Barrett <[email protected]>
Co-authored-by: Barrett <[email protected]>
Sure, will add these fields. It does feel a little more like a KEP than an ADR |
Description
Extends existing Store functionality to v2 to enable storing keys like URLs, and provides a seamless hand-off migration path for users while introducing additional tooling to view the store resource.
UDSExcemptions
on startup so we want to leave that process unbothered (We think this should probably be fine but need to test. Other solutions pre-starup would involveinitContainer
). If this were a problem i think it could be solved by movingstartExemptionWatch
to theStore.onReady
callback. IMO this checkbox is part of stakeholder feedback.Also, i don't think this Store change will affect the startExemptionWatch function bc they are not using the actual Pepr Store in that instance but populating a map[string]interface{} type of store object.
Related Issue
Fixes #924
Relates to #918
Type of change
Checklist before merging