-
Notifications
You must be signed in to change notification settings - Fork 765
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
Add recommended labels #1705
Add recommended labels #1705
Conversation
Signed-off-by: Joan Miquel Luque Oliver <[email protected]>
This is also related to #1471 |
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.
Did you try and verify the upgrade backwards compatibility?
…abels` Signed-off-by: Joan Miquel Luque Oliver <[email protected]>
Signed-off-by: Joan Miquel Luque Oliver <[email protected]>
Signed-off-by: Joan Miquel Luque Oliver <[email protected]>
Good catch! I've removed the new labels from the Install latest ➜ helm install harbor harbor/harbor \
--set externalURL=http://core.harbor.domain \
--set expose.ingress.hosts.core=core.harbor.domain \
--set persistence.enabled=false
NAME: harbor
LAST DEPLOYED: Wed Feb 14 12:45:49 2024
NAMESPACE: harbor
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Please wait for several minutes for Harbor deployment to complete.
Then you should be able to visit the Harbor portal at http://core.harbor.domain
For more details, please visit https://github.com/goharbor/harbor Upgrade from release ➜ helm upgrade harbor . \
--set externalURL=http://core.harbor.domain \
--set expose.ingress.hosts.core=core.harbor.domain \
--set persistence.enabled=false
Release "harbor" has been upgraded. Happy Helming!
NAME: harbor
LAST DEPLOYED: Wed Feb 14 12:55:45 2024
NAMESPACE: harbor
STATUS: deployed
REVISION: 4
TEST SUITE: None
NOTES:
Please wait for several minutes for Harbor deployment to complete.
Then you should be able to visit the Harbor portal at http://core.harbor.domain
For more details, please visit https://github.com/goharbor/harbor |
@Vad1mo could you please review this PR? I think it's a very innocuous change and could be merged without further discussion, isn't it? |
I am all in here, need to test it thou first to see the backward compatibility. |
Do we have a strong reason why we need to add the |
In general, all projects use the standard labels. I didn't delete the custom ones to not break retro compatibility. I see it the other way around: Is there any compelling reason not to use the recommended labels? Labels are for free and there is no risk to break anything so why don't do it? |
In addition, we have in place some processes that require the presence of those standard labels in all the deployments. That's our main reason to request adding them here :) |
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.
Thank you for contributing to harbor-helm project!
@zyyw could we merge this PR? |
Hi @zyyw , do you know when this change will be added to a new release? |
If everything goes well, it should be available in the 2nd half of May or early of June. |
FYI, if we set Created a PR to resolve this upgrading issue: |
Adding recommended labels based on: https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/
Close #1704