Files
kubevela/pkg/workflow
Jerrin Francis 69d046f7b3 Fix: Align legacy config provider keys with workflow repo to resolve CUE conflict and key collision (#7078)
* Fix: Align legacy config provider keys with workflow repo to resolve CUE conflict and kube key collision

  Rename legacy config #do keys and Go provider map keys from short form
  (create, read, list, delete) to hyphenated form (create-config,
  read-config, list-config, delete-config) to match workflow PR #225.

  This resolves three issues:
  - CUE unification failure when kubevela and workflow legacy config
    templates are concatenated into the same op package
  - Go provider key collision where kube's read/list/delete silently
    overwrote config's identically-named functions
  - Silent misdispatch of op.#ReadConfig/ListConfig/DeleteConfig to
    kube handlers instead of config handlers

Signed-off-by: Jerrin Francis <jerrinfrancis7@gmail.com>

* Adding testcase to test future key drifts

Signed-off-by: Jerrin Francis <jerrinfrancis7@gmail.com>

---------

Signed-off-by: Jerrin Francis <jerrinfrancis7@gmail.com>
2026-03-24 18:37:09 -07:00
..