-
Notifications
You must be signed in to change notification settings - Fork 884
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
The label value of the dependent resoucebinding over 63 characters #1741
Comments
Can you help point out which label we are talking about here? |
generate resourcebinding depended label in dependencies_distributor (https://github.com/karmada-io/karmada/blob/master/pkg/dependenciesdistributor/dependencies_distributor.go)
|
Right, here probably exceed 64 characters. May I know what the |
Hi @mathlsj I see you send a PR for this. |
OK。 |
@RainbowMango What is the progress of this? |
I'm sorry I missed this from my radar. I'll be back on this next week. |
@mathlsj Can you give an example of your |
Split the label could relieve the issue, but I'm afraid it can't solve the problem fundamentally, because the Investigation still on-going. |
I've got two solutions here:
For doing this, we can't use the
I didn't verify any of the two solutions yet, just an idea. |
I tend to use the first one. I was thinking if there was any other solution to it? |
Looking forward to hear more solutions. |
I am sorry. i was so busy before. i will deal it continue. |
@XiShanYongYe-Chang Can you confirm if this issue is fixed? |
/kind bug |
Hi @mathlsj, this issue has been solved, would you like to have a try? |
The dependent resourcebinding label value consists of three components namspace+"_"+name+"-"+kind. it is easy to over 63 characters. we need to split it into three labels:
resourcebinding.karmada.io/depended-by-hash.namespace: namespace
resourcebinding.karmada.io/depended-by-hash.name: name
resourcebinding.karmada.io/depended-by-hash.kind: kind
The text was updated successfully, but these errors were encountered: