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>
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
* 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
* adjust CI scripts
* fix go ci order
* try fix
* use appfile to update trait
* fix vela status
* use assert.ObjectAreEqual to check diff for map case
* remove application controller own AC and Components
* tune place
* fix lint
* update
* remove error check of vela init test
Co-authored-by: Ryan Zhang <yangzhangrice@hotmail.com>
* 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
Automatically generate reference docs for all workloads and traits.
1) moved design part from hack/references/configurations/rollout.yaml to design/vela-core/rollout.md
2) added usages for all workloads/traits, except route (#672)
3) renamed some reference docs
Attention: atuo-generation of specifications for all parameters has NOT been implemented, they are generated
based on files under `hack/references/configurations`
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com>
currently the charts has following issues:
- cert-manager has manifests in multiple places. Should be combined into one.
Prefer pure yaml since its helm chart requires `--set installCRDs=true` flag and uninstalling CRD via helm is inconvient.
- The bootstrap of vela-core will setup metrics controller. This requires Prometheus Operator CRD. Move related CRD to vela-core chart.
- move prometheus to vela-system namespace. Remove monitoring namespace.
- remove grafana. It's already a dependency of prometheus chart.
- change default image pull policy to IfNotPresent. Should not be Always.
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com>
modify e2e setup to wait oam-runtime pod running
add k8sclient in e2e test
refine tracking status of vela init
Signed-off-by: roy wang <seiwy2010@gmail.com>
* implemented trait attach, get application
* implemented API for trait detach and fix trait detach issue
* implemeted API add/sync/list capability center
* implemented API capability add/remove/list
* update test-cases according to new cli style
* merge two ginkgo describe to one as in github environment ginkgo does NOT follow the order of describes
* merge two ginkgo describe to one as in github environment ginkgo does NOT follow the order of describes
* Implement API `api/envs/default/apps/
implement API `api/envs/default/apps/ and refactor code
* address comments from @wonderflow and @ryan
* fix code rebase issue
* Implement env APIs
implemented APIs for env and make api-test
and e2e-setup
* fix ci issues
* address comments