-
Notifications
You must be signed in to change notification settings - Fork 81
Adds a new role (openshift-label-by-expression) which allows you to apply a label to all objects (except Pods) which match a given expression #340
base: master
Are you sure you want to change the base?
Conversation
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.
@InfoSec812 Is this the right place for this role? Would this be better suited for something like the openshift-applier
? I don't want to say one way or the other, but would like to see some other folks thoughts. In my opinion, this seems like something you would want to do because of something app specific, which seems a better fit for the applier.
cc/ @oybed @logandonley for some additional thoughts
@tylerauerbeck yeah, this is the correct place (at least for now). We do not want to have roles co-existing with the openshift-applier, for a few reasons:
As we are looking to re-structure some of the |
@etsauer & @sabre1041 can you please weigh in on the functionality of this implementation / role? |
@oybed @InfoSec812 even I don't really see the reason for having this role here (I'm the same opinion as @tylerauerbeck that this should be in another place, not openshift-applier either) does not make more sense to extend the existing |
@tylerauerbeck @InfoSec812 @oybed A couple thoughts: #. Agree that it should not be targeted specifically for the I have serious issues with the logic employed by this role. Specifically:
|
Yeah, so let's not discuss the move of the role as part of this PR. Fact is that we already have roles in here that serves a similar purpose as this one and it's a logical home for now. Let's discuss the repo structure outside of this, and preferably in one of the chat rooms. For now, this is where the PR will be accepted and let's not hold up progress for Deven based on that topic. Re: functionality of the role - yes, I agree with @sabre1041. Also, the point @makentenza brings up extending the functionality of the existing labels role was brought up in chat a few days ago. (see the discussion in the day-in-the-life-of-dev chat room around much of the functionality of this role). Maybe it's easier/better to continue the convo in the chat room. |
Dismissing my review since we'll be discussing the location separately from this PR.
@oybed ; was anything decided on this PR? |
What does this PR do?
Adds a new role (openshift-label-by-expression) which allows you to apply a label to all objects (except Pods) which match a given expression.
How should this be manually tested?
Apply the following example playbook:
Is there a relevant Issue open for this?
#339
Other Relevant info, PRs, etc.
N/A
Who would you like to review this?
cc: @oybed @logandonley @tylerauerbeck