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
Originally posted by spootrick March 8, 2024
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.
Discussed in #6471
Originally posted by spootrick March 8, 2024
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!
The text was updated successfully, but these errors were encountered: