-
Notifications
You must be signed in to change notification settings - Fork 24
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
fixes: rename default config group label, support/fall back to deprecated labels. #231
Conversation
To avoid inconveniences with some existing tooling, change the default configuration group label to 'prefix.domain/key' format. Signed-off-by: Krisztian Litkey <[email protected]>
Fall back to looking for deprecated group labels if the default or configured one is not found. Signed-off-by: Krisztian Litkey <[email protected]>
91b8875
to
77aec84
Compare
Signed-off-by: Krisztian Litkey <[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.
I think this is ok in the project in this early stage. But generally I think deprecating things in a patch release are questionable (or other functional changes)
IMO as long as we keep the deprecated things intact/supported throughout the whole main release cycle where the patch release belongs to (IOW in this case 0.3.x) and if timing requires (IOW deprecation is too close to the end of the main release lifecycle) also during the next one (IOW in our case that would be 0.4.x), then it should be perfectly fine to deprecate things in any patch release. This patch set should not introduce any functional changes, unless we consider an additional log message a functional change. If things worked for you without this patch set, they should work the same with this patch set in place, too. |
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 great! Thank you @klihub!
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.
LGTM
This patch set
config.nri/group
group.config.nri
,resource-policy.nri.io/group
) if the configured label is absent