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

Add recommended labels for each components #1051

Closed
wants to merge 2 commits into from

Conversation

JhoLee
Copy link

@JhoLee JhoLee commented Sep 21, 2021

Add recommended labels for each components of Harbor, and common recommended labels by _helpers.tpl

Reference: https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/

Resolves #1471 #1045

@JhoLee
Copy link
Author

JhoLee commented Sep 28, 2021

@ninjadq @ywk253100
Let me know if there is some problems, then I'll fix it. 😀

@JhoLee JhoLee force-pushed the feature-harbor-helm-labels branch 2 times, most recently from 457cc13 to 91ffe27 Compare October 2, 2021 13:28
@JhoLee
Copy link
Author

JhoLee commented Nov 9, 2021

Any updates?

@sidewinder12s
Copy link

FYI, Changing selector labels will require forced redeployment of all components as that field is immutable, so it'll be a semi-breaking change. Might want to look at not doing that.

@zyyw
Copy link
Collaborator

zyyw commented Jan 13, 2022

could you please squash the commits first and then rebase the code as well. @JhoLee

@zyyw
Copy link
Collaborator

zyyw commented Jan 13, 2022

@sidewinder12s why would it be a concern since this PR is backward compatible.

@zyyw zyyw assigned zyyw and unassigned ninjadq Jan 13, 2022
@sidewinder12s
Copy link

@zyyw As far as I'd seen, you cannot change the labels used in selectors after a deployment, it'll error out saying its a immutable field. So if this lands, users cannot deploy it without either force applying it or tearing down their existing deployments.

https://stackoverflow.com/questions/67679922/how-to-remove-a-label-selector-from-a-kubernetes-deployment

Signed-off-by: Jooho Lee <jhlee@si-analytics.ai>
Signed-off-by: Jooho Lee <jhlee@si-analytics.ai>

Add recommended labels for chartmuseum

Signed-off-by: Jooho Lee <jhlee@si-analytics.ai>

Add recommended labels for core

Signed-off-by: Jooho Lee <jhlee@si-analytics.ai>

Add recommended labels for databasae

Signed-off-by: Jooho Lee <jhlee@si-analytics.ai>

Add recommended labels for exporter

Signed-off-by: Jooho Lee <jhlee@si-analytics.ai>

Add recommended labels for jobservice

Signed-off-by: Jooho Lee <jhlee@si-analytics.ai>

Add recommended labels for nginx

Signed-off-by: Jooho Lee <jhlee@si-analytics.ai>

Add recommended labels for notary

Signed-off-by: Jooho Lee <jhlee@si-analytics.ai>

Add recommended labels for portal

Signed-off-by: Jooho Lee <jhlee@si-analytics.ai>

Add recommended labels for redis

Signed-off-by: Jooho Lee <jhlee@si-analytics.ai>

Add recommended labels for registry

Signed-off-by: Jooho Lee <jhlee@si-analytics.ai>

Add recommended labels for trivy

Signed-off-by: Jooho Lee <jhlee@si-analytics.ai>

Fix typo in templates/core/core-dpl.yaml

Signed-off-by: Joo-Ho Lee(이주호, Jho) <jooho.lee@outlook.kr>
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.

Use Standard and Recommended Labels/Annotations in this Helm Chart
6 participants