* Add service-binding trait to chart
Also add docs for the trait.
* Update charts/vela-core/templates/defwithtemplate/service-binding.yaml
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com>
* address comments
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com>
* Update samples for "vela show xxx --web"
Also stop generating components/traits docs under
docs/en/end-user and remove the command from Makefile
Fix#1602
* fix doc build issue
* Update references/plugins/references.go
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com>
* Enhance --web feature for "vela show"
- Find the capability in "vela-system" if notfound in the current ns
- Don't depend on local capabilities
* add ut for GetCapabilityByName in references/plugins/cluster.go
* add ut for GetNamespacedCapabilitiesFromCluster in references/plugins/cluster.go
* add ut for GenerateTerraformCapabilityProperties in references/plugins/references.go
* fix import issue
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com>
As the file name (.cue/.yaml) of trait "cpusclaer" and "scaler"
are "cpuhpa" and "manaualscale" respectively, renmae them in
order to avoid confustions
* 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 parameters commetns for crossplane definitions
Added parameter comments for ComponentDefinition alibaba-oss
alibaba-rds and TraitDefinition service-binding
* add the result of vela show
* Add cloud service docs for end-users
Split cloud service into two section, one for platform engineers,
and the other for end-users
* correct titles
* adjust componentdefinition and traitdefinition order
* address comments
* add an overview for end user guide
end user guide
* add explore section
* finish scale section
* add expose section
* remove trait already contains as built-in feature
* try fix flaky test
move dry-run and live-diff into an independent pkg
WIP add sample and doc
WIP unit test for live-diff
add unit test
Signed-off-by: roy wang <seiwy2010@gmail.com>
* 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
* Support cloud resource provisioning and consuming (Crossplane)
Provided a way to store secret for cloud resource generated by
Crossplane and to consume the secret
Refer to #1128
* Separate cloud resource producer and consumer in two applications
* add unit test to check whether application can consume cloud resource secret
* update Cloud Resource doc
* Provisioning and consuming cloud resource in different applications v1 (one cloud resource)
* one component consumes two cloud resources
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com>
[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>
* get JSON schema for Helm schematic ComponentDefinition
Signed-off-by: roy wang <seiwy2010@gmail.com>
* add e2e test
update doc
add unit tests
Signed-off-by: roywang <seiwy2010@gmail.com>
* update doc about Helm schemantic
Signed-off-by: roy wang <seiwy2010@gmail.com>
* update doc
Signed-off-by: roy wang <seiwy2010@gmail.com>
* Update docs/en/helm/known-issues.md
* Update docs/en/helm/known-issues.md
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.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>
* Removed prometheus and certmanager crd's, use cert-manager helm chart dependency instead
* Fixed unit and 2e2 tests. Added servicemonitors and certmanager crd dependencies for tests as testdata.
* Run `helm dependency update`
* Delete kubevela helm release and namespace if existing
* WIP - Bad hack to add the certmanager crds before installing kubevela with cert-manager as dependency. The cert-manager crds are not available, when kubevela Issuer are installed otherwise.
* WIP Added admission patch for webhook
* WIP Refactored secrets config
* WIP Fixed helm chart
* WIP Disabled metrics cap, due missing prometheus dependency by default
* WIP Added certmanager for e2e tests
* WIP Added certmanager for e2e tests
* WIP cleanup
* Updated docs
* Re-added certificate mount path
* [#929] Modification to comand vela show WORKLOAD_TYPE or TRAIT
* update the describetion of --web
* [#929] update --web describtion
* update the doc of check-ref-doc.md
* remove --sync parameter
* Add latest release tag to be the prefix of latest version of Chart
Currently the latest chart is vela-core:latest, which could
not be supported by Artifacthub, add latest tag and make the
latest chart version as `vx.y.z-latest`
* calculate the next tag to be the latest master chart version
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com>
* 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>
* [#929] Modification to comand vela show WORKLOAD_TYPE or TRAIT
* update the describetion of --web
* [#929] update --web describtion
* update the doc of check-ref-doc.md
* OpenAPI: Application creation based on Application object
Implemented Application creation OpenAPI based on new Application object
To #913
* fix e2e problems
* fix import issue
Expended column width for `vela workloads/traits` and also
shortened the description for all workloads and traits.
Fixed a tiny issue in hack/reference/generate.go
To fix issue #827
* Generate restful api based on Swagger
As OpenAPI has to be quickly developped to support front-end developement, so
did the restufl api docs. Based on swagger, generate the docs automatically
* fix conflicts and add application list annotation