Files
kubevela/legacy
Zheng Xi Zhou c2b6e6efdd Store capability OpenAPI V3 JSON schema in ConfigMap (#1106)
* Store capability OpenAPI V3 JSON schema in ConfigMap

Store the OpenAPI v3 JSON Schema generated from the parameters of
a capability which could be used by api server

To fix #899

address comments
try to fix data race issue

Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com>

* address comments: generate cue instance from cue json instead of local file

* update ConfigMap data at any time

* add more unit-test

* fix conflicts

* adapt to new spec.schematic.cue.template

* adapt to new spec.schematic.cue.template for controller unittest cases

* fix ci issues

* adapt to namespaced scope definition

* add more testcases on namespaced definitions with and without namespaces

Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com>
2021-03-10 10:44:58 +08:00
..
2020-11-27 11:07:50 +08:00

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://kubevelacharts.oss-cn-hangzhou.aliyuncs.com/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