Expose property annotations not applied
When I configuring a region configuration with the following expose property:
"expose": {
"domain": "mydomain.fr",
"route": false,
"ingress": true,
"annotations": {
"route.openshift.io/insecureEdgeTerminationPolicy": "Redirect",
"route.openshift.io/termination": "edge"
}
}
The ingress created by the service does not include the provided annotations.
Region configuration reference: docs/region-configuration.md
onyxia-api: v4.7.0
I think we don't want to provide a fix for that, as those parameters are read by the frontend to inject data. Schema overwrite is a more clean feature.
Okay, but if we want to configure all ingresses for all catalog, we need to add this schema for each services (this generate a large values.yaml). Do you have a suggestion for that?
You can use the schema override at instance level feature to define that once and for all : https://docs.onyxia.sh/admin-doc/catalog-of-services/override-schema-for-a-specific-instance. That should be clean and simple for your use-case.
Note that, if you are creating a catalog specifically a single instance, you can also hardcode the annotations into the values.yaml (and/or directly in the templates). That's the easiest solution albeit less flexible