* Feat: add if in workflow struct Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com> (cherry picked from commite800ed3e98) * Feat: implement the if in workflow Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com> (cherry picked from commite171fa9212) * Feat: support dependency and skip for suspend step Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com> (cherry picked from commit6c045dc593) * Fix: fix the rebase from sub steps Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com> (cherry picked from commitf6746e7d26) * Fix: fix the lint Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com> (cherry picked from commit9cb9887327) * Feat: support if in sub steps Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com> (cherry picked from commitc41ccfabb9) * Feat: add tests in application controller Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com> (cherry picked from commitb308d89912) * Fix: fix the lint Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com> (cherry picked from commit2c784b185a) * Test: add more tests in discover and custom Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com> (cherry picked from commit39f49fd901) * Lint: fix lint Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com> (cherry picked from commitf5149c859a) * Tests: add more tests in application controller Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com> (cherry picked from commit255f4014c2) * Fix: change failed after retries into reason Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com> (cherry picked from commitdfbba699c5) * Fix: fix the terminate cli Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com> (cherry picked from commit14192e1fb3) * fix lint Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com> (cherry picked from commitd1dd602cc8) * remove the terminate workflow to pkg and add feature gates Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com> (cherry picked from commitbf5c8d138a) * resolve comments Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com> (cherry picked from commit8a1b499f24) * nit fix Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com> (cherry picked from commit784e5f5db3) * make finish condition more clear Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com> (cherry picked from commitb4c1ca36b0) Co-authored-by: FogDong <dongtianxin.tx@alibaba-inc.com>
Legacy Support
Now lots of apps are still running on Kubernetes clusters version v1.14 or v1.15, while KubeVela core requires the minimum Kubernetes version to be v1.16+.
Currently, the main blocker is KubeVela uses CRD v1, while those old Kubernetes versions don't support CRD v1. So we generate v1beta1 CRD here for convenience. But we have no guarantee that KubeVela core will support the legacy Kubernetes versions.
Follow the instructions in README to create a namespace like vela-system and add the OAM Kubernetes
Runtime helm repo.
$ kubectl create namespace vela-system
$ helm repo add kubevela https://charts.kubevela.net/core
Run the following command to install a KubeVela core legacy chart.
$ helm install -n vela-system vela-core-legacy kubevela/vela-core-legacy
If you'd like to install an older version of the legacy chart, use helm search to choose a proper chart version. Remember
to add flag --devel if you prefer pre-release versions.
$ helm search repo vela-core-legacy -l
NAME CHART VERSION APP VERSION DESCRIPTION
kubevela/vela-core-legacy 0.2 0.2 A Helm chart for legacy KubeVela core Controlle...
kubevela/vela-core-legacy 0.0.1 0.1 A Helm chart for legacy KubeVela core Controlle...
$ helm install -n vela-system kubevela-legacy kubevela/vela-core-legacy --version 0.0.1
Install the legacy chart as below if you want a nightly version.
$ helm install -n vela-system vela-core-legacy kubevela/vela-core-legacy --set image.tag=master