The name calculation in NamingUtil#createName(String prefix, String identifier, String user, String appDefinition, String uid) can be improved to use all available characters dependent on the length of the parameters.
I.e. if a parameter is shorter than the allocated length, the remaining characters can be re-distributed to the other parameters.
Furthermore, we want to use at most 57 characters for session specific objects so Kubernetes can attach 6 characters for the pod created from the deployment.
For workspace related resources, we can use the full 63 characters though
Follow up of #326 .
The name calculation in
NamingUtil#createName(String prefix, String identifier, String user, String appDefinition, String uid)
can be improved to use all available characters dependent on the length of the parameters. I.e. if a parameter is shorter than the allocated length, the remaining characters can be re-distributed to the other parameters. Furthermore, we want to use at most 57 characters for session specific objects so Kubernetes can attach 6 characters for the pod created from the deployment. For workspace related resources, we can use the full 63 characters though