Skip to content
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

Initial ramen label changes #1741

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

abhijeet219
Copy link
Member

@abhijeet219 abhijeet219 commented Jan 8, 2025

Work in progress...

Adding label to all resources deployed by ramen.

Addressing issue

Signed-off-by: Abhijeet Shakya <abhijeetshakya21@gmail.com>
@nirs
Copy link
Member

nirs commented Jan 13, 2025

Please add content to the commit message/pr message explaining the purpose of the change and linking to the relevant issues.

@@ -28,6 +28,8 @@ const (
path = "velero/"
protectsPath = path + "backups/"
recoversPath = path + "restores/"

drCConfigCreatedByLabel = "ramendr.openshift.io/resource-created-by-ramen"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This label is duplicated, there should be exactly one variable shared by all code using it and maybe the test expecting this value.

This should also be a constant since it should never change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants