You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created a component that can have a user submitted name input. Sometimes it can be longer than 63 characters and I cannot block it because it is a requirement by the user.
K8s labels must not be more than 63 characters, so here is my problem:
cannot create object: custom.component "rxpy29mfqh20vblfweylcw-assume-there-is-a-super-long-name-with-over-63-characters-long-0" invalid:
metadata.labels: Invalid value: "assume-there-is-a-super-long-name-with-over-63-characters-long-0": must not be more than 63 characters
When I examined a successfully created component, I saw that the following values were created:
I noticed that the name of the custom component is written as app.oam.dev/component. It fails with the above error message because it is more than the allowed length.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have created a component that can have a user submitted name input. Sometimes it can be longer than 63 characters and I cannot block it because it is a requirement by the user.
K8s labels must not be more than 63 characters, so here is my problem:
When I examined a successfully created component, I saw that the following values were created:
I noticed that the name of the custom component is written as
app.oam.dev/component
. It fails with the above error message because it is more than the allowed length.cue:
input:
Can you please direct me to what might be possible to resolve this issue?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions