-
Notifications
You must be signed in to change notification settings - Fork 0
feat: account hierarchy #10
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
base: main
Are you sure you want to change the base?
Conversation
nexus49
left a comment
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 in the context you could elaborate briefly on what an account is and what purpose it has. I think you should also briefly explain the concept of "extensions" and what they do on a high level.
| @@ -0,0 +1,37 @@ | |||
| # RFC for openMFP Account Hierarchy | |||
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.
| # RFC for openMFP Account Hierarchy | |
| # RFC for OpenMFP Account Hierarchy |
|
|
||
| ## Context and Problem Statement | ||
|
|
||
| This document provides an outline of how and what should be achieved with an account hierarchy model within openMFP. An account will have the ability to benefit from other accounts that it is a child of, e.g., by inheriting extensions provided by its parents. This will allow for easier distribution of central extensions and give more structure to the entire account setup. |
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 document provides an outline of how and what should be achieved with an account hierarchy model within openMFP. An account will have the ability to benefit from other accounts that it is a child of, e.g., by inheriting extensions provided by its parents. This will allow for easier distribution of central extensions and give more structure to the entire account setup. | |
| This document provides an outline of how and what should be achieved with an account hierarchy model within OpenMFP. An account will have the ability to benefit from other accounts that it is a child of, e.g., by inheriting extensions provided by its parents. This will allow for easier distribution of central extensions and give more structure to the entire account setup. |
| - Accounts within the same hierarchy must be able to inherit extensions from their parents until the root is reached. | ||
| - There is (theoretically) no limit on the depth of the hierarchy. | ||
| - There will be a root account (root of the hierarchy tree) that provides the necessary foundation for all other accounts. | ||
| - "First-Level Accounts" have a special role and act as a top-level separator for configurations. |
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.
In what way are first level accounts special? If they are we should elaborate on this more
| - There will be a root account (root of the hierarchy tree) that provides the necessary foundation for all other accounts. | ||
| - "First-Level Accounts" have a special role and act as a top-level separator for configurations. | ||
|
|
||
| ## Options Considered |
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.
In an RFC - given that you only outline one Option, I'd skip this part as its not a ADR. Rather outline the proposal
|
|
||
|  | ||
|
|
||
| The above diagram visualizes how such a tree could look. Every account currently generates a namespace. When another account resource is being placed within that namespace, the new account will be considered a child of the account that generated the namespace. |
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.
| The above diagram visualizes how such a tree could look. Every account currently generates a namespace. When another account resource is being placed within that namespace, the new account will be considered a child of the account that generated the namespace. | |
| The above diagram visualizes how such a tree could look. Every account generates a namespace. When another account resource is being placed within that namespace, the new account will be considered a child of the account that generated the namespace. |
| - **Pros:** | ||
| - Easy way of central distribution of extensions to all accounts in the system. | ||
| - **Cons:** | ||
| - It might be intransparent and a bit of effort to figure out the hierarchy chain up to the root account and therefore get a list of all the extensions. No newline at end of file |
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.
Well its only an effort if you consider kubectl looking at namespaces, it'd be rather easy to have a kubectl plugin for example that shows and visualizes the hierarchy
First draft of a RFC that describes a possible account-hierarchy implemention within openMFP