[Backport release-0.8] Fix: two fixes for v0.8.0-alpha.3

Merged
BR
18h ago
+153-3

These two fixes went to main after v0.8.0-alpha.2 was cut from release-0.8, so KubeVela 1.12 doesn't have them yet. (#278 is already on release-0.8 through #289, so it's not in this one.)

PRWhat
#251Inject the multicluster client into the workflow context, so kube steps reach member clusters.
#330Set the WorkflowRun identity labels on resources applied by ApplyInParallel.

Both cherry-picked clean; go build ./..., go vet and go test on ./pkg/providers/... and ./controllers/... pass, bar the email tests' gomonkey patching, which fails on macOS arm64 locally whatever the branch.

Once this merges, could a maintainer tag v0.8.0-alpha.3 from release-0.8? KubeVela's release-1.12 and master will bump to it after.


Summary by cubic

Backports two fixes from main that landed after the v0.8.0-alpha.2 cut, so KubeVela 1.12 can pick them up in v0.8.0-alpha.3.

  • Injects the multicluster client into the workflow context so kube steps reach member clusters.
  • Sets the WorkflowRun identity labels on resources applied by ApplyInParallel.

Also bumps github.com/kubevela/pkg to pick up kubevela/pkg#164. After merge, tag v0.8.0-alpha.3 from release-0.8 so KubeVela release-1.12 and master can bump to it.