-
- Notifications
You must be signed in to change notification settings - Fork 13
adr(031): Resource Labels and Namespacing #443
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
Conversation
❌ Deploy Preview for stackable-docs failed.
|
Very nice. I think this fine for the problem that it is supposed to solve, but IMO it also a good opportunity to also clean up existing labels and better define their purpose and what their contents should be. For example, what is the purpose of the "component" label ? In addition, maybe we should offer a simple way for users to add their own labels. It's possible with pod overrides today but it's verbose when you just want to add the same labels to all objects of a cluster/stacklet. And code-wise, the existing label management code needs to die :) |
I like your idea, I've put it on the arch agenda. If you think it shouldn't be there, feel free to remove it again. |
I very much agree!
This would indeed be nice. Do you have any suggestion how we can achieve that?
Yes. Let's improve that! |
I added a section about custom user-provided labels. Have a look @razvan! |
Thanks. Very nice. I definitely think we want cluster wide labels (IMO the most widespread use-case). And then I think we should offer down to group level labels just because we can :) |
For cluster wide labels how about just using the labels of the cluster CR like this:
|
You are right. Do we want to list this as a separate option, or do we adjust option 2? |
I would update option 2 |
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.
Looks good, change the status to "accepted" and add a number, and then we can merge it I think
Now marked as accepted @fhennig |
For me the discussion regarding the suffix in stack and demo namespaces is not resolved yet
I'm totally happy to make the decision once we implement it |
I added some more context to the decision. For example, the result for "Labeling Resources deployed within a Demo or Stack" states:
This, in my opinion, clearly indicates that the suffix is optional and that the content of said suffix is, if added, not yet decided. This would need further discussion. Let me know, if the ADR should further clarify this. |
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.
Sorry, missed that
No description provided.