vscode-openshift-tools
vscode-openshift-tools copied to clipboard
Add validation for creating a new project starting with forbidden words - ie. openshift
This is something that cannot be fixed:
- What is forbidden for OpenShift is fine for k8s
- There is not way for user get listed all the projects to validate the new project name because of permissions
If we can detect the type of cluster, OpenShift or K8s, we can apply the error validation. We need to have the forbidden list (for project names) from odo/console/OpenShift team.
@odockal are you aware of the list for forbidden words ?
Again, this is something that cannot be fixed, because users w/o administrative privileges have no access to list of the projects. @mohitsuman approach would require implementation to map cluster type/version to prohibited words and maintenance of this map with every new release of OpenShift/K8s.
this is issue in Won't fix IMO.
Adequate error message is already there.