* Support server-side Terraform as cloud resource provider
Provide another schematic `Terraform` to provision cloud
resource.
Fix#698
* make namespace optional
add unit-tests
* support vela show to generate componentdefinition usage
* add unit-tests
* tidy go mod
* clean go mod and updated go sum
* Remove `variable` from `properties` of Terraform compoent
* don't literally set component catagory
* refine error message when a capability could not be found
* fix ut
* Code refactor and add unittests
* fix ci issues
* Update references/plugins/references.go
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com>
* add test cases
* fix ci issue
* revert lowercase of "Properties"
* fix ci issue
* add ut for appfile
* fix e2e issue
* add docs
* fix official site build
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com>
* WIP refactor rollout reconcile
add construct func for reconcile
refactor application event
WIP fix failed test
fix event reason
delete useless yaml
fix samll issue
add more test
fix more test
add e2e test and extract rollout plan from appRevision
extract inline appRollout status from appStatus
* fix-plugin-test
* debug e2e
* fix comments and rename app-embed-test
* delete empty line
* fix docs
* update rollout docs
fix appRollout docs
* update docs and delete useless debug info
* fix deployment plugin bug and algin with rollout related workload to deployment
* fix docs comment
* rename package crossplane-runtime v1alpha2
* copy from https://github.com/wangyikewxgm/kubevela/pull/1
* fix some comments issue and add todo
* fix error test
* add podDisruptive to traitdefinition
* fix docs & example
* fix diff and add docs
* use bool type for podDisruptive
Co-authored-by: 天元 <jianbo.sjb@alibaba-inc.com>
* add scale implementation
* fine tune the logic and adjust e2e test
* fix tests and fine tune logic
* try to fix flaky verification
* allow zero size step
* fix scale down check
* add logic for gc cross ns resources
WIP regenerate api and charts
rewrite handle resourceTracker logic
WIP add e2e test logic
add more e2e test
* WIP refactor sevral funs name and add comments for code
* WIP add more corener case e2e test
* add unit test and fix bug
* WIP refactor handleResouceTracker logic
* refactor func name aglin with others and add comments
* make generate to fix check-diff ci error
* change resourceTracker status as a subresource
[WIP]create tracker if needed and update components
[WIP] add finalizer code and add logic for ac controller
[WIP] refactor handle func to app handler
[WIP] support helm cross namespace
[WIP] rewrite application controller logic
rebase master and solve conflict
WIP add base cross namespace workload and fix some bugs
add more e2e-test and fix some bugs
rebase master and resolve confilict
move resourceTracker to v1beta1
add v1beta1 to test scheme to fix test
modify e2e test, change v1alpha2 application to v1beta1
delete resourceTracker crossplane catagory
add controller logic test
add unittest for finalizer related func
add more unit test
neet order import
walk around check-diff error
add docs
add some comments in AC controller
as review said modify some issues
* implemente kube schematic
generate schema for kube schematic parameters
add e2e test
Signed-off-by: roywang <seiwy2010@gmail.com>
* add unit test
Signed-off-by: roy wang <seiwy2010@gmail.com>
* add doc
Signed-off-by: roy wang <seiwy2010@gmail.com>
fix diff
update example and test data version
fix convert function
fix e2e for helm
clean up creationTimestamp in a hack way
fix ci
pending package suit test
fix group version
fix ci
fix ut
rename type to kind
fix example
fix conflicts
Co-authored-by: yangsoon <yangsoonlx@gmail.com>
* generate appRevision and create AC with the same name
* Update pkg/controller/core.oam.dev/v1alpha2/application/application_controller_test.go
* fix ci
Co-authored-by: Ryan Zhang <yangzhangrice@hotmail.com>
* refactor ac reconcile so that it returns the status
* add appContext to reuse appconfig reconcile logic
* fix lint
* update makefile for verbose info
* fix appcontext register error
* fix application configuration finalizer bug
Co-authored-by: Ryan Zhang <yangzhangrice@hotmail.com>
use settings from App to override Values
add discovery util to get workload created by helm module
add helm typed structs into workloadDef and traitDef
update doc & refine code
add e2e test for helm module application
use oam.dev/catalog as helm repo
Signed-off-by: roywang <seiwy2010@gmail.com>
* store componentdefinition capability schema in configMap
* fix componenetdef & traitdef controller test.
* change some componentdefinition field
* fix unit test error
* fix some code bug
* fix some yaml file error.
* fix copyright error
* delete 4 standard controllers related code
delete related yaml
delete setup controller
add back podspecworkload controller
try to fix e2e
update related docs
fix failed test
fix docs problem
remove useless scheme
up timeout for e2e-test
change doc structure
* fix go mod
* 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>
solve failed test
add compatibility test for old crd
add app ns for cli
modify compatibility test
solve compatibility problem
add testing for GetDefinition func with cluster scope CRD
generate code for compatibility-test
move testdata generate to makefile
optimize ci pipeline for compatibility-test
* when annotation/labels passthrough from parent to child conflicts, the parent will override the child.
e.g. 1) AC will override its component/workload; 2) workload will override child-resource; 3) AC will override its trait
* apply once only force will block workload apply when revision not changed even ac generation updated
* add webhooks
* app controller change
* add component revision and appconfig revision and test
* solidify the component revision logic and fix component revisoin bugs
* fix command cli e2e failure
* fix the bug caused by rawExtention
* fix UT test
* retry on component not found
* lint
* revert component revision create order
* Added ingressClass to route trait
* typo
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com>
* run make reviewable
* fixed ingress test
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com>
* Integrate Terraform into KubeVela
Integrated Terrafrom into KubeVela to enable it to deploy
infrastruce resouces by `vela up`
* extend Terraform modules/files as WorkloadDefinition
stop printing terraform log to console
Support one workload consumes two cloud services
Refactor Terraform plugin based on Application Object
add testcase
* refactor code per reviewer's comments
fix rebase issue
* find lost code back
* refactor code to make the modification as little as to that of branch master
* remove blank lines from imports
Init: Using CUE to implement OAM model on Kubernetes server side
* vela server
* fix refator
* lint code
* vela server
* fix refator
* lint code
* rebase upstream
* remove lister
* add vela-server sample
* fix lint error
* fix lint error
* fix check-diff error
* add test case
* add test case for application controller
* add reconciler test with ginkgo
* remove make server
* remove the kustomize scripts
* fix units test bug
* config direct
* suite test
* add application validater
Co-authored-by: lj176172 <lj176172@alibaba-inc.com>