In the Che Cluster CR, there's a field for setting annotations to be applied to the ingresses and routes created for workspaces:
// Defines annotations which will be set for an Ingress (a route for OpenShift platform).
// The defaults for kubernetes platforms are:
// kubernetes.io/ingress.class: "nginx"
// nginx.ingress.kubernetes.io/proxy-read-timeout: "3600",
// nginx.ingress.kubernetes.io/proxy-connect-timeout: "3600",
// nginx.ingress.kubernetes.io/ssl-redirect: "true"
// +optional
Annotations map[string]string `json:"annotations,omitempty"`
However, in the Che router implementation, these annotations are only applied to ingresses, not routes.
Che version
7.90@latest
Steps to reproduce
Configure networking.annotations in the Che Cluster CR to have a custom annotation, e.g. my-test-annotation: test-annotation-value
Create a workspace (e.g. the empty workspace sample)
Check the routes created for your workspace and see the custom annotations set in the Che Cluster CR is missing.
Expected behavior
The annotations from networking.annotations in the Che Cluster CR are applied to the routes created for a workspace.
It might be that this is simply an error in the Che Cluster CR's documentation. Maybe it is intended for the networking annotations to only get applied to Ingresses and not Routes.
Describe the bug
In the Che Cluster CR, there's a field for setting annotations to be applied to the ingresses and routes created for workspaces:
However, in the Che router implementation, these annotations are only applied to ingresses, not routes.
Che version
7.90@latest
Steps to reproduce
networking.annotations
in the Che Cluster CR to have a custom annotation, e.g.my-test-annotation: test-annotation-value
Expected behavior
The annotations from
networking.annotations
in the Che Cluster CR are applied to the routes created for a workspace.Runtime
OpenShift
Screenshots
No response
Installation method
OperatorHub
Environment
Linux
Eclipse Che Logs
No response
Additional context
No response