Need more defensive creation of ComponentDescriptor names #307
Labels
area/ipcei
Important Project of Common European Interest
kind/bugfix
Bug
kind/task
small task, normally part of feature or epic
What happened:
I reviewed the code for component:ConstructUniqueName and found it wanting as it doesn't defend
What you expected to happen:
component:ConstructUniqueName should defend against both of the conditions above
How to reproduce it (as minimally and precisely as possible):
Produce a componetversion where the component name is near the limit allowed for kubernetes object names and/or try to use a version that uses characters that are allowed in semantic versioning but not in kubernetes object names
Anything else we need to know:
Nope
Environment:
Current version of OCM-Controller running in a Gardener cluster
The text was updated successfully, but these errors were encountered: