-
Notifications
You must be signed in to change notification settings - Fork 1.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
Decision Record (ADR) for profiles.yml
directory search order
#5425
Conversation
Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide. |
- property definitions for the desired target database | ||
- secrets to plug into the definition slots | ||
|
||
There are two main design requirements in terms of discoverability and accessibility: |
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.
Discoverable/Accessible in what sense? Like inside your project?
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.
Yep, "discoverable/accessible" was intended to correlate with being "safe to store in GitHub".
|
||
#### Approach 1 | ||
|
||
A reason given for the current order of precedence (emphasis mine): |
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 you're right here so feel free to remove "(emphasis mine)"
1. property definitions are easily discoverable (since they are not sensitive) | ||
1. secrets are non-discoverable and access is restricted per security policies | ||
|
||
#### Approach 1 |
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.
#### Approach 1 | |
#### Approach 1 (current approach) |
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 intended to describe that both approach 1 and 2 are possible currently, and each are probably used frequently.
1 would be more likely to occur in a local environment.
2 is probably used most often in continuous integration (CI) environments.
I will re-work this section for clarity.
What I probably should have used as a guiding light instead:
- Categorizing as Approach A or Approach B entirely depends on if any secrets are in the
profiles.yml
file or not.
Whether there are any secrets depends whether it can be stored in VCS or not. Presence in VCS (or not) will then affect where the file is located within the file system.
@dbeatty10 thanks so much for making this! I get a little lost going through this so let me list what I followed and then where it got blurry for me.
If you want, we can meet and chat about this if that's easier and this feedback isn't very clear. |
@leahwicz Your feedback is great! Thank you for outlining where it was clear and where it was unclear. In my mind, there's five main topics to cover:
In my attempt to cover all of those, I think it got a bit confusing. Thanks to your feedback, I will try to reorganize for readability. Probably the most confusing part was that while explaining the pros and cons of the two ways that *I wonder if it would be worth creating a stand-alone post-hoc ADR for the two ways that |
@dbeatty10 Is there any outstanding work here, or is it ready to be merged in? I'd love to have it in the repo, given the questions we've got from folks since the v1.3 release, which have largely been answered by the level of care and consideration you put into writing this up. |
This PR has been marked as Stale because it has been open with no activity as of late. If you would like the PR to remain open, please comment on the PR or else it will be closed in 7 days. |
Although we are closing this PR as stale, it can still be reopened to continue development. Just add a comment to notify the maintainers. |
Description
This PR is for an ADR. See #5411 and the ADR itself for a full description.
Checklist
I have run this code in development and it appears to resolve the stated issueI have runchangie new
to create a changelog entry