Closed rhuss closed 7 years ago
Should we allow integration names with spaces and sanitize them when creating OpenShift resources?
Yeah, spaces in integration names need to be allowed for sure, I would think converting these to kebab case should do the trick. Ideally it'd be good to decouple the user input as much as possible to the generated resources and map them internally, don't you think?
The UI will accept spaces in an integration name, but it looks like the back-end doesn't like it.
If spaces are prohibited for integration names then this has to be catched by our validation (which we already have when checking for existing integration names). If spaces are allowed, the openshift resource generation should take care of sanitizing the name for image streams. // @kcbabo