In order to resolve https://github.com/devfile/devworkspace-operator/issues/1023 we need to modify the CRD for DevWorkspaceRouting's so that it's endpoints can have annotations that will be applied to the routes/ingresses associated with the endpoints defined in the DevWorkspace.
When creating the DevWorkspaceRouting spec, we can pass the annotations from the DevWorkspace endpoint to the DevWorkspaceRouting endpoint.
Since we're only adding a new field to the DWR CRD that is optional, this should not cause compatibility issues with older instances of the DWR.
In order to resolve https://github.com/devfile/devworkspace-operator/issues/1023 we need to modify the CRD for DevWorkspaceRouting's so that it's endpoints can have annotations that will be applied to the routes/ingresses associated with the endpoints defined in the DevWorkspace.
When creating the DevWorkspaceRouting spec, we can pass the annotations from the DevWorkspace endpoint to the DevWorkspaceRouting endpoint.
Since we're only adding a new field to the DWR CRD that is optional, this should not cause compatibility issues with older instances of the DWR.