mirror of
https://github.com/kubevela/kubevela.git
synced 2026-05-19 15:56:54 +00:00
* Feat: extend gateway trait to set class in spec `kubernetes.io/ingress.class` annotation is deprecated in favor of `.spec.ingressClassName`. However, there is no way to set it through the gateway trait for now. This commit extends the gateway trait by adding `classInSpec` to parameter. Forcing the use of `.spec.ingressClassName` makes sense, but some ingress controllers (including old versions) may not recognize this field. Therefore, set default value of `classInSpec` to `false` for backward compatibility. Signed-off-by: Sunghoon Kang <hoon@linecorp.com> (cherry picked from commitad8bd1c1c4) * Chore: update classInSpec usage Signed-off-by: Sunghoon Kang <hoon@linecorp.com> (cherry picked from commit721f879e3d) Co-authored-by: Sunghoon Kang <hoon@linecorp.com>
This is the stole place for hold built-in CUE templates for Vela Core and Registry. definitions/registry and definitions/internal store these templates
To update definitions in charts and registry, run:
./vela-templates/gen_definitions.sh