Commit Graph

582 Commits

Author SHA1 Message Date
Tianxin Dong 7a139b554f
Feat(workflow): support dingding and slack in webhook notification (#2213) 2021-08-31 20:20:26 +08:00
Zheng Xi Zhou 068e9d97c4
Fix: move Terraform defintions charts/vela-core/templates/definitions (#2176)
Make all Terraform definitions to install when vela-core is installing
2021-08-30 14:49:57 +08:00
yangsoon 73be37b73b
Fix(envbinding): fix the way that envbinding stores resources after configuration (#2175)
* Refactor: replace #op.ApplyEnvBindComponnet with #op.ApplyEnvBindApp

* Fix: fix patch strategy for envbinding
2021-08-27 21:38:57 +08:00
wyike cc8a1d3bde
Feat: modify apply component cue action to support skipWorkload trait (#2167)
fix lint

fix comments
2021-08-27 13:12:00 +08:00
Shaowen Chen 44262f03de
Docs: fix typo about workflow rollout (#2163)
Signed-off-by: shaowenchen <mail@chenshaowen.com>
2021-08-25 19:32:56 +08:00
Tianxin Dong 8fb64fcb19
Fix(dryrun): add default name and namespace in dry run (#2150) 2021-08-24 17:54:55 +08:00
yangsoon 850fc704a1
add new parameter `type` for internal trait expose (#2122)
* expand internal trait expose

* fix(demo) fix resource in workflow-with-ocm

Co-authored-by: yangsoon <songyang.song@alibaba-inc.com>
2021-08-20 15:50:22 +08:00
Hongchao Deng bec6c89389
examples: fix typo (#2128)
* examples: fix typo

* update yaml
2021-08-19 21:19:53 +08:00
wyike 0c0b9d0774
rollout OCM demo and defer rollout pass owner to handleSucceed (#2121)
* finish test

fix demo

finish test

finish docs

fix rollout template

add more test

add comment

* impove test coverage and wrap error

fix checkdiff

add more time
2021-08-19 15:33:40 +08:00
Concurrensee 9b7c4562ca
modified openkruise version to v0.9.0 (#2076)
Co-authored-by: 314785 <wuyida.wuyida@alibaba-inc.com>
2021-08-18 17:37:52 +08:00
yangsoon a599a6a88b
add more test for envbinding (#2100)
* add test

* fix example
2021-08-17 11:30:52 +08:00
wangyuan249 11524bf591
update cert image (#2083) 2021-08-13 08:23:48 +08:00
Concurrensee 63341e8f6e
imagePullJob added with demo (#2069)
Co-authored-by: 314785 <wuyida.wuyida@alibaba-inc.com>
2021-08-12 19:12:53 +08:00
tux d7c179b91d
fix workflow example (#2064) 2021-08-11 16:30:16 +08:00
Tianxin Dong 63cfc2b68a
Fix(example): fix workflow example (#2060) 2021-08-11 14:00:30 +08:00
tux 120e6fcc5c
fix metadata.name to lower case (#2059) 2021-08-10 20:03:04 +08:00
Jian.Li e12a9303eb
Li-Auto-Inc (#2042) 2021-08-09 10:27:18 +08:00
Tianxin Dong c6c03d823b
Fix(volume): seperate volume to trait (#2027) 2021-08-05 11:06:13 +08:00
yangsoon 1a7db89fbd
add ocm demo (#1992) 2021-08-04 20:23:56 +08:00
wyike 13fc4e2b25
rollout controller find sourceRevision (#1989)
* rollout controller use last target as source and add whole process e2e-test

* modify makefile use regex include all rollout related test

* add example

* fix golint

* more wait time

* pending pod may let rollout stock in rollingBatches

* fix docs and tests comments

modify docs example

modify cue and yaml

* less pod in test avoid pod pending
2021-08-03 20:27:11 +08:00
Jian.Li 9d6aaa6044
Workflow Support `op.# ApplyComponent` and `op.#ApplyRemaining` (#1993)
* add cap

* workflow

* add docs

* upgrade op.#ApplyComponent

* lint

* bytes to string
2021-07-31 07:14:00 +08:00
Jian.Li 4481e7637d
Optimize Workflow (#1978)
* open op.#Steps

* export

* fmt code

* fix bug & upgrade workflow doc

* fmt

* upgrade test coverage

* upgrade test coverage
2021-07-29 11:35:22 +08:00
Zheng Xi Zhou e62d5d23e7
Update Terraform typed Componentdefinition (#1938)
As Terraform alicloud provider has upgrade to 1.26.0, some
HCL synatx have to been updated
2021-07-23 14:48:32 +08:00
Jian.Li 9d7d2eb262
docs (#1961) 2021-07-23 11:21:48 +08:00
Hongchao Deng ead859b717
design: update workflow implementation details (#1917) 2021-07-14 18:08:56 +08:00
Jian.Li e972535e49
upgrade workflow design (#1900)
* upgrade workflow design

* Revert "upgrade workflow design"

This reverts commit 95937c94dd.

* revert & upgrade Diagram
2021-07-13 16:55:17 +08:00
wyike 9a3c63a843
override initial replicas of workload in first scale operation (#1891)
* clean up some logic

rebase and reorder phase

add log and modify e2e-test

fix reviwable

fix comment

* fix condition relate comments

finish test func

fix formate error
2021-07-08 19:45:18 +08:00
Hongchao Deng 9e1189c4df
Add back workflow design diagram and update doc (#1894)
* update workflow design

* add back diagram

* separate folder

* rebase
2021-07-08 16:42:01 +08:00
Jianbo Sun 700b1aa951
remove docs and refer to kubevela.io for docs (#1877)
* remove docs and refer to kubevela.io for docs

* update contirbute docs

* remove unneed github action workflow
2021-07-05 23:36:09 +08:00
Hongchao Deng 071476a04f workflow design update: CUE based workflow task 2021-07-05 14:44:16 +08:00
wyike 6d446e13f6
add revision listmit (#1871) 2021-07-02 16:05:00 +08:00
Jianbo Sun bd41d49311
allow component to defer insert secret and config (#1869) 2021-07-02 15:09:45 +08:00
wyike 9c70edeb77
delet rollout (#1856) 2021-06-30 17:45:32 +08:00
Lei Zhang (Harry) e07c95fa26
Update arch pic (#1828) 2021-06-22 17:38:36 +08:00
chival f94cf51543
fix some yaml in registry and link to file (#1823)
* fix some yaml in registry and link to file

* try e2e
2021-06-21 14:53:41 +08:00
wyike d7e1d90585
add specify for rollout and add scale demo (#1813)
fix-formate

fix small issue

small fix

samll fix

small fix
2021-06-17 16:14:44 +08:00
cuiyeshuai 003ab91f51
fix several typos (#1808) 2021-06-16 21:02:37 +08:00
wyike 72bdb04f94
fix deployment example (#1797) 2021-06-15 16:27:39 +08:00
Hongchao Deng e5c8f259f3
app controller: reconcile workflow and create res configmap (#1788) 2021-06-15 13:40:12 +08:00
whichxjy 9972911510
Fix a typo (#1793) 2021-06-15 11:44:47 +08:00
Jianbo Sun 54a828863b
remove restful API docs from website (#1771) 2021-06-07 19:25:26 +08:00
chival d42e0e3162
Add more optional paramters to built-in component (#1748)
* add probe to worker and webservice, add memory limit to webservice

* add interacitve answer

* make generate

* move Probe def outside the parameter.

* make all PodSpec alternative param done

* add doc, gen yaml

* fix docs
2021-06-03 19:13:43 +08:00
Scaat Feng aafd4fdd2f
[IMP]easy for users to copy command (#1661)
Co-authored-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com>
2021-06-03 15:30:50 +08:00
chival f4feb1af9c
Add oss registry support (#1715)
* Add oss registry support

* fix test

* refactor and clean up URL parse logic

* add:design docs

* change default registry to oss
2021-06-02 18:32:54 +08:00
chival 8c864f33b9
organize registry directory (#1733)
* organize registry directory

* fix cue not found

* install cue

* move definitions to and to-be-generated cue&yaml to root directory

* fix publish registry dir

* fix duplication of cue install

* try again

* try again
2021-06-02 13:34:01 +08:00
chival a52367eced
arrange docs for kubectl plugin,fix #1721 (#1729)
* arrange docs for kubectl plugin,fix #1721

* remove redundant install doc
2021-05-29 16:40:28 +08:00
Emanuel Russo fd9e99f19f
Fix Documentation for Terraform Controller (#1724)
* Update terraform.md

Update Documentation. Fix Terraform controller version to avoid mistake.

* Update terraform.md

Change version to the latest one.

* Update terraform.md

Rollback modification on example.
2021-05-29 11:52:39 +08:00
Jianbo Sun abfb2ae6ef
fix roadmap docs (#1710) 2021-05-26 15:07:55 +08:00
chival 0c7706d442
show&install caps in default center (#1621)
* add:show & install caps in default center and docs

other things:
* fix #1601 (.md) error
* adjust clean-md.py
* refactor capability install part to reuse code

* fix typo/bug, make get retrieve single file

* try again

* add:registry interface

* add local registry

* modify e2e test

* add copyright

* add unittest, fix docs

* add copyright

* fix e2e test

* clean up testdata

* clean up usage of fmt, rename

* fix docs, rename func

* fix docs
2021-05-25 17:22:02 +08:00
Jianbo Sun cd93196aef
update roadmap for 2021-6 and 2021-9 (#1707)
* update roadmap for 2021-6 and 2021-9

* update roadmap and minor changes
2021-05-25 10:22:12 +08:00
wyike 76744ad26e
fix cloneset rollout docs (#1660) 2021-05-24 17:23:02 +08:00
Jianbo Sun c93db6494a
use custom domain for vela charts (#1701) 2021-05-24 16:30:09 +08:00
Zheng Xi Zhou 27c1eda2a6
Add service-binding trait to chart (#1692)
* 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>
2021-05-24 00:41:21 +08:00
Jianbo Sun b124873fd7
fix docs link (#1695) 2021-05-20 19:52:31 +08:00
Yue Wang 0556f03f28
fix traitDef appliesToWorkloads (#1667)
update docs

Signed-off-by: roy wang <seiwy2010@gmail.com>
2021-05-20 19:06:38 +08:00
Lei Zhang (Harry) f73236a617
Minor fix on wording (#1687) 2021-05-19 20:06:59 +08:00
wangyuan249 98a31f68ae
Add new label for configmap which store the parameter json schema of the Definition (#1652)
* fix

* add description for newlabel

fix

* fix description
2021-05-18 21:10:47 +08:00
yangsoon 512a87466e
update docker image (#1677) 2021-05-18 17:23:46 +08:00
yangsoon 8f67454396
Explain vela next (#1671)
* Explain vela next

* fix def

Co-authored-by: Lei Zhang <resouer@gmail.com>
2021-05-17 22:42:29 +08:00
yangsoon 2fa02bc1c0
Preview and Build website in docker container (#1668)
* start/build docs in docker

* restore old fashion

* fix release ci
2021-05-17 19:09:37 +08:00
Scaat Feng 37d9adbc6c
[IMP]easy for users to copy (#1655) 2021-05-14 14:51:31 +08:00
Lei Zhang (Harry) 138676315f
Update introduction (#1651) 2021-05-13 21:43:18 +08:00
Lei Zhang (Harry) 9772907d66
update the revision doc (#1650) 2021-05-13 10:25:09 +08:00
Jian.Li 58b3fffa36
Implement retainKeys patchStrategy in CUE based patch trait (#1627)
* strategyPatch retainKeys

* merge rewrite

* rewrite strategyPatch

* Improve test coverage

* upgrade docs

* Update docs/en/platform-engineers/cue/patch-trait.md

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

Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com>
2021-05-12 15:28:36 +08:00
yangsoon c4cb69120e
fix docs (#1636) 2021-05-12 13:43:15 +08:00
chival 2a5573015e
update cap center example (#1630) 2021-05-10 18:51:54 +08:00
Zheng Xi Zhou f137a9adf3
Update samples for "vela show xxx --web" (#1616)
* 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>
2021-05-09 08:50:31 +08:00
yangsoon 1660930ed3
applicaiton supports specifying different versions of Definition (#1597)
* app support specify the version of definition

* add e2e-test

* add docs

* add helm related test

* fix doc

* add more test

* fix docs
2021-05-07 17:52:44 +08:00
Zheng Xi Zhou 5cc92e5420
Rename file name for trait "cpusclaer" and "scaler" (#1617)
As the file name (.cue/.yaml) of trait "cpusclaer" and "scaler"
are "cpuhpa" and "manaualscale" respectively, renmae them in
order to avoid confustions
2021-05-07 17:33:37 +08:00
Lei Zhang 2ca7ce5c8b Fix docs 2021-05-04 11:28:11 -07:00
Zheng Xi Zhou 675b0e24db
Refine Terraform doc (#1590)
Added applying Terraform Provider introduction, and removed `.md`
to make it work in official site
2021-04-30 19:33:55 +08:00
wyike 7ed1c66578
fix appRollout docs small issue (#1592)
* fix docs targetSize

* add comment

* delete comment
2021-04-30 19:33:30 +08:00
Zheng Xi Zhou b3302b318c
Support server-side Terraform as cloud resource provider (#1519)
* 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>
2021-04-30 16:28:00 +08:00
wyike 29744a6f18
[Feature] embed rollout in an application (#1568)
* 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
2021-04-30 15:17:43 +08:00
Jianbo Sun fbd4565115
use accelerate domain for global users (#1585) 2021-04-29 21:10:22 -07:00
guoxudong bba6e056a5
Add krew auto release and docs (#1582)
* add krew auto release and docs

* fix
2021-04-29 11:16:05 +08:00
Lei Zhang (Harry) c40108f413
Update arch (#1561) 2021-04-24 09:15:48 +08:00
SataQiu 4dd00ac536
docs: remove the command prompt to support fast copy/paste (#1558)
Signed-off-by: SataQiu <1527062125@qq.com>
2021-04-23 11:49:38 +08:00
Lei Zhang (Harry) 55b6ef1846
Update concept doc (#1556) 2021-04-23 10:47:36 +08:00
Lei Zhang (Harry) 737b4dc2e4
Revise readme for better structure (#1554)
* Update pictures

* Revisit readme
2021-04-22 12:11:52 +08:00
wyike 60b8ec3ff2
Set scpoe reference in application status.Service (#1540)
* WIP add new type

* add code and test

* WIP finish docs

* add sidbar for docs
2021-04-22 12:11:04 +08:00
Lei Zhang (Harry) 85d6c77fad
Update pictures (#1548) 2021-04-22 10:29:12 +08:00
Lei Zhang (Harry) 00a4e4ca01
Align with doc site (#1545) 2021-04-21 15:49:10 +08:00
Ryan Zhang 467506c498
Finalize deployment rollout (#1539)
* finalize deployment rollout

* refactor workload controllers to base on the same parent
2021-04-21 13:42:49 +08:00
Mason Kwok 7377e17f8f
remove applicationdeployments.core.oam.dev from the advanced-install.md (#1533) 2021-04-20 11:27:56 +08:00
Yue Wang 21c631ac26
add docs for volumes (#1524)
Signed-off-by: roy wang <seiwy2010@gmail.com>
2021-04-19 11:36:32 +08:00
yangsoon b9a56aeb17
fix url (#1517) 2021-04-16 23:23:45 +08:00
Zheng Xi Zhou 3800a700b0
Add parameters comments for crossplane definitions (#1515)
* 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
2021-04-16 22:24:50 +08:00
Jianbo Sun 75f081f248
Add More End User Docs (#1511)
* update docs

* update docs

* refine cloud resource docs

* update install guidegst
2021-04-16 21:46:44 +08:00
yangsoon 1a267bc6d1
add end-user/sidecar (#1513) 2021-04-16 20:42:41 +08:00
Zheng Xi Zhou 8643558f6b
Add cloud service docs for end-users (#1510)
* 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
2021-04-16 18:13:54 +08:00
yangsoon d063cd3b78
rm printcolumn AGE in crd (#1509) 2021-04-16 17:35:08 +08:00
yangsoon c4fa81b703
add kubectl vela show in docs (#1508) 2021-04-16 17:27:05 +08:00
yangsoon 3be63bba91
add end-user/labels.md (#1505) 2021-04-16 13:58:42 +08:00
yangsoon 3a68ec77fd
fix CI: add action to release kubectl-vela binary file (#1503)
* add kubectl-vela release

* add docs
2021-04-15 22:54:31 +08:00
Jianbo Sun c6b65cbd5b
fix flaky test (#1498)
* fix flaky test

* fix flaky check apprevision created more than one

* remove unused annottaion
2021-04-15 18:25:17 +08:00
Lei Zhang (Harry) 1ad6dcc1a7
Modify doc title of keda trait (#1494) 2021-04-15 08:54:27 +08:00
yangsoon 1659528015
fix-resources-url (#1492) 2021-04-14 23:50:07 +08:00
Jianbo Sun ce20f55382
add an overview for end user guide (#1469)
* 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
2021-04-14 21:38:04 +08:00
Gallardot 0c8e22ef4d
fix tiny typo (#1480)
Signed-off-by: Gallardot <tttick@163.com>
2021-04-14 10:56:33 +08:00
Lei Zhang (Harry) e9004d7478
Fix introduction (#1479) 2021-04-14 10:55:31 +08:00
Lei Zhang (Harry) d8eb7d687c
Add user docs (#1472) 2021-04-13 15:20:39 +08:00
Yue Wang 63b348f4d8
implement cli `vela system live-diff` (#1419)
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>
2021-04-13 12:29:25 +08:00
yangsoon 5164efeb4a
add context.appRevisionNum (#1466) 2021-04-12 15:36:19 +08:00
Yue Wang bc6a60dde2
add volumes definition in worker/webservice (#1459)
Signed-off-by: roywang <seiwy2010@gmail.com>
2021-04-11 14:18:48 +08:00
Ryan Zhang 6d65169449
fix webhooks and try to fix e2e (#1441)
* fix webhooks and try to fix e2e

* address comments
2021-04-09 13:27:16 +08:00
Lei Zhang (Harry) 473164efbd
Finalize the message (#1426) 2021-04-08 15:54:40 +08:00
yangsoon 7dec0afc16
vela-cli support use "vela system cue-packages" to list cue-package (#1417)
* support list cue-package

* add test kube package doc

* refine words

* fix workflow

* fix the docs

Co-authored-by: 天元 <jianbo.sjb@alibaba-inc.com>
2021-04-08 15:54:25 +08:00
yangsoon 1261e2678f
add podDisruptive to traitdefinition (#1192)
* 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>
2021-04-08 13:39:03 +08:00
Ryan Zhang 325a4cdb0e
Add a new cloneset scale controller (#1301)
* 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
2021-04-07 11:14:46 -07:00
wyike b33b6fbead
garbage collection for cross-namespace workloads and traits in application layer (#1421)
* 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
2021-04-07 21:34:48 +08:00
yangsoon 8c73ea5d8a
fix keda.md (#1420) 2021-04-06 16:07:22 +08:00
Jianbo Sun f47ca0f4da
remove no used ingress notes in charts (#1405)
* remove no used ingress notes in charts

* remove helm repo update
2021-04-02 10:58:07 +08:00
Lei Zhang (Harry) 06069d3580
Update docs to reflect app delivery idea (#1401) 2021-04-01 15:26:25 +08:00
yangsoon 43057161bf
update contributing guide (#1398) 2021-04-01 13:54:56 +08:00
woshicai 50ded65805
Fix: update homebrew before install kubevela client (#1395)
Co-authored-by: charles <charles.cai@sap.com>
2021-04-01 12:45:40 +08:00
Zheng Xi Zhou d6d19a7c5a Remove outputSecretName in cloud service provisoing and consuming (#1393)
Refer to the reason https://github.com/oam-dev/kubevela/issues/1128#issuecomment-811590631
2021-04-01 11:13:19 +08:00
Jianbo Sun 6b8875012d
use shell instead action to sync website && don't sync index.js and config.js (#1386)
* use shell instead action to sync website && don't sync index.js and config.js

* update test website build

* use bash instead sh
2021-04-01 10:06:34 +08:00
joelhy 7ae6a148a0
Fix grammar error: changed "an success story" to "a success story" (#1385) 2021-03-31 23:33:00 +08:00
Jianbo Sun bbea29c8e5
fix kube-webhook-certgen to patch CRD conversation && remove cert-manager in CI e2e test && remove issuer create from CLI env (#1267)
* remove cert-manager in CI e2e test and remove issuer create from CLI env

* update job patch image(https://github.com/wonderflow/kube-webhook-certgen)
2021-03-31 21:21:28 +08:00
Robin Brämer 6e6c4c76a6
fix docs typo (#1384) 2021-03-31 19:56:36 +08:00
yangsoon 352fe1ba5b
remove useless script & update install.mdx (#1382) 2021-03-31 18:40:34 +08:00
yangsoon 3cb9fa79bf
fix index.js (#1380) 2021-03-31 16:01:53 +08:00
yangsoon b5bf7a4f62
fix siderbar (#1373) 2021-03-31 14:39:09 +08:00
Lei Zhang (Harry) d473e41f20
Update readme and doc (#1376) 2021-03-31 14:38:46 +08:00
yangsoon f7196e10ca
fix upgrade in install.mdx (#1364) 2021-03-30 21:37:48 +08:00
Ryan Zhang 0629049e1f
add initial finalizer and abandon support (#1362)
* add initial finalizer and abandon support

* fix lint
2021-03-30 02:04:38 -07:00
yangsoon 553b5d19eb
add docs readme (#1359) 2021-03-30 16:37:46 +08:00
Jianbo Sun 07c8c23884
minor fix for docs (#1356)
* minor fix for docs

* minor fix for docs

* remove blog
2021-03-30 08:47:20 +08:00
Hongchao Deng d5d0cd1878
Add AppRevision option in webservice template and refine website doc (#1355) 2021-03-30 07:22:35 +08:00
wyike eb4efc960f
add demo for app doc (#1349)
* add demo for app doc

* Update docs/en/application.md

Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com>
2021-03-29 23:25:43 +08:00
Hongchao Deng 2d95800618
Merge pull request #1352 from wonderflow/hongchaodeng-revlabel
add AppRevision label to cuetemplate
2021-03-29 05:26:52 -07:00
天元 de798f3c8a add docs about revision and context 2021-03-29 20:01:58 +08:00
天元 8ef3a37c50 :evert "add AppRevision label to cuetemplate"
This reverts commit 49f16274c9.
2021-03-29 19:46:56 +08:00
yangsoon 14caa9cb70
fix docs: change restful-api url refer to static resource (#1346)
* change restful-api refer to static resource

* fix vela-cli install cmd in windows
2021-03-29 18:46:12 +08:00
Zheng Xi Zhou f58b68205b
Add cloud service doc in official site (#1348) 2021-03-29 18:34:33 +08:00
Jianbo Sun bba5de9a8c
update TOC (#1347)
* update TOC

* Update docs/sidebars.js
2021-03-29 18:33:00 +08:00
天元 26b9db6322 Merge branch 'revlabel' of git://github.com/hongchaodeng/kubevela into hongchaodeng-revlabel 2021-03-29 17:35:36 +08:00
Zheng Xi Zhou 9e40b77b60
Support cloud resource provisiong and consuming (#1264)
* 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>
2021-03-29 17:20:33 +08:00
guoxudong 14635b6f2d
fix docs build (#1344)
Co-authored-by: guoxudong <guoxudong.dev@gmial.com>
2021-03-29 16:45:40 +08:00
yangsoon ba78ea7f0e
fix link & add upgrade step in installation (#1345) 2021-03-29 16:12:15 +08:00
guoxudong ce5f345fc4
fix (#1336)
Co-authored-by: guoxudong <guoxudong.dev@gmial.com>
2021-03-29 12:17:56 +08:00
yangsoon 284cd8aa72
fix docs (#1338) 2021-03-29 11:20:37 +08:00
Hongchao Deng 49f16274c9 add AppRevision label to cuetemplate 2021-03-28 22:21:29 -04:00
Hongchao Deng 66bcb612ef
add appdeployment control logic (#1320)
* add appdeployment control logic

* fix check

* fix test

* add test

* comment
2021-03-28 18:18:47 -07:00
yangsoon ea60117ba5
remove useless files (#1333) 2021-03-29 08:20:46 +08:00
yangsoon aa548ab3d4
fix action (#1332) 2021-03-28 17:18:21 +08:00
yangsoon 52c88ec6c5
Update docs for the format of the new website (#1330)
* update docs

* fix toc

* add zh-CN
2021-03-28 16:37:35 +08:00
yangsoon c71b5a20b6
fix error links. (#1329) 2021-03-28 14:03:21 +08:00
yangsoon c4512decf1
fix vela show (#1327) 2021-03-28 10:37:31 +08:00
wyike 4540270813
Support create resources (workloads/traits) in different namespace with application (#1197)
[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
2021-03-27 15:19:43 +08:00
Ryan Zhang 95622cafa4
add rollout doc (#1324)
* add rollout doc

* fix doc
2021-03-27 15:10:51 +08:00
Lei Zhang (Harry) cbc866ccae
Rewrite the doc (#1322) 2021-03-27 15:02:23 +08:00
yangsoon 6469d538be
update docs & fix vela cap uninstall. (#1319) 2021-03-27 10:59:23 +08:00
Yue Wang aa21bfcb60
fix e2e test of kube schematic (#1321)
* fix kube schematic

Signed-off-by: roywang <seiwy2010@gmail.com>

* fix e2e test

Signed-off-by: roywang <seiwy2010@gmail.com>
2021-03-27 10:15:57 +08:00
Yue Wang baa8d87e71
implemente kube schematic (#1298)
* 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>
2021-03-26 23:02:58 +08:00
yangsoon 2c68c0e6d4
fix docs example (#1316) 2021-03-26 19:14:07 +08:00
Jianbo Sun 20a31d4554
add cloud resource story doc (#1306) 2021-03-26 11:46:00 +08:00
Ryan Zhang 0926469541
fix appRollout CRD version (#1303)
* fix appRollout CRD version

* make rollout e2e more robust
2021-03-26 08:23:10 +08:00
Jianbo Sun 94b7cbff21
better docs for build trait and use parameters (#1304) 2021-03-26 07:04:52 +08:00
Jianbo Sun d042c0c7ec
add extend component definition in KubeVela (#1297)
* update docs

* refactor docs
2021-03-25 23:26:32 +08:00
Jianbo Sun b726481e7a
update the docs v1alpha2->v1beta1 (#1292)
* fix example

* update the docs v1alpha2->v1beta1

* add more dependency for build runner
2021-03-25 16:44:47 +08:00
Jianbo Sun 53ae9aaa40
add webhook convert. (#1282)
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>
2021-03-24 17:15:20 -07:00
Ryan Zhang a4fda31829
Restore rollout after the change to point to appRevision (#1271)
* modify appRollout to reference appRevision

* fine tune rollout e2e tests
2021-03-24 14:09:40 -07:00
Jianbo Sun 9366c6e0b4
add hpa trait and fix template without params (#1279) 2021-03-24 16:18:58 +08:00
Jianbo Sun 320651c80d
add doc for cue development guide (#1269)
* create toc

* add CUE development-guide

* fix dry-run description

* Update docs/en/cue/development-guide.md

* finish the guide

* fix ci and sidebar

Co-authored-by: yangsoon <yangsoonlx@gmail.com>
2021-03-24 11:08:09 +08:00
guoxudong 94068571c5
fix the website (#1273)
Co-authored-by: guoxudong <guoxudong.dev@gmial.com>
2021-03-24 10:25:39 +08:00
Lei Zhang (Harry) a96225a12b
Merge pull request #1270 from resouer/readme
Add more details in readme
2021-03-23 15:46:21 -07:00
Lei Zhang 086effa141 Add more details in readme 2021-03-23 15:38:54 -07:00
Jianbo Sun acf497b1c7
make CUE inner kube package as a standalone package && clean code (#1263) 2021-03-23 16:30:49 +08:00
Jianbo Sun 30f30d9c93
update to the website (#1259)
* add more info into readme

* update readme to add more details
2021-03-23 12:04:00 +08:00
Yue Wang f554523196
generate OpenAPI schema for Helm schematic compDef (#1250)
* 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>
2021-03-23 00:16:17 +08:00
zhuhuijun a856499c3f docs(rollout) add rollout state transition graph
Signed-off-by: zhuhuijun <zhuhuijunzhj@gmail.com>
2021-03-22 09:41:08 +08:00
ᴜɴᴋɴᴡᴏɴ 98bf8e6b86
Update concepts.md 2021-03-21 21:30:19 +08:00
ᴜɴᴋɴᴡᴏɴ 628f2e1fdb
Update introduction.md 2021-03-21 21:09:52 +08:00
Ryan Zhang 135282834d
swap appConfig with appContext (#1245)
* swap appConfig with appContext

* fix e2e test

* fix e2e test

* surpress helm test
2021-03-20 00:02:58 -07:00
Jianbo Sun d6dc946998
Merge pull request #1247 from resouer/sidebar
Make sidebar even better
2021-03-20 13:08:19 +08:00
天元 7931e2a0a5 more useful vela system dry-run 2021-03-20 12:51:00 +08:00
Lei Zhang 3f28a6d917 Make sidebar even better 2021-03-19 21:31:22 -07:00
天元 f4c20d4459 update faq 2021-03-20 08:50:24 +08:00
天元 63d965d381 update vela cli docs and remove the deleted command docs 2021-03-20 08:45:39 +08:00
天元 d750cf2657 merge config/samples into docs/examples 2021-03-20 08:37:00 +08:00
Jianbo Sun 243fba3b23
Merge pull request #1242 from resouer/doc
Fix message in doc readme
2021-03-20 08:15:06 +08:00
Lei Zhang 485cdff57a Fix message in doc readme 2021-03-19 16:07:13 -07:00
Lei Zhang (Harry) bd00d2fc51
Merge pull request #1234 from resouer/doc
Fix sidebar and 404
2021-03-19 16:05:47 -07:00
Lei Zhang d09531b343 Fix sidecar to 2 layers 2021-03-19 16:01:23 -07:00
Jian.Li e4a5b17e90
Support import K8s native API and CRD in definition (#1211)
* vela builtin package

* add test cases

* add gvk test cases

* lint

* testEnv

* lint

* check-diff

* Optimized code

* test case split

* add docs
2021-03-18 22:22:40 -07:00
Lei Zhang 540d826295 Fix sidecar and 404 2021-03-18 17:23:21 -07:00
Lei Zhang (Harry) ae5b8ff4af
Revert "refactor docs into 2 layers" (#1232) 2021-03-18 12:06:12 -07:00
天元 fdeedb31be refactor docs into 2 layers 2021-03-18 15:37:57 +08:00
Jianbo Sun ee649d9592
Merge pull request #1218 from resouer/fix-doc
Revise the doc site with recent features
2021-03-18 14:11:03 +08:00
Lei Zhang 7bddeff93d Revise the doc site with recent features 2021-03-17 21:48:35 -07:00
Ryan Zhang d4c2b7cb5a
Refactor appConfig Controller to make it reusable and rename appDeployment to appRollout (#1208)
* temp

* rename appDeploy and refactor AC controller
2021-03-16 22:46:38 -07:00
Jianbo Sun abde9e789d
Merge pull request #1047 from captainroy-hy/doc-trait-definition
add doc about definition and template
2021-03-16 16:05:00 +08:00
Jianbo Sun f589471640
Merge pull request #1183 from ryanzhang-oss/add-failure-rollback
Add deployment controller
2021-03-16 15:03:58 +08:00
Yue Wang a76f847668
update doc about Helm schematic workload (#1198)
* 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>
2021-03-16 13:39:46 +08:00
roy wang 33df4d9dea add doc about defition and template
Signed-off-by: roy wang <seiwy2010@gmail.com>
2021-03-16 14:30:45 +09:00
Ryan Zhang 14b3a4d6cb refine the user experience by waiting for the AC to be templated 2021-03-15 22:03:23 -07:00
Ryan Zhang e61cba4add add deployment demo 2021-03-15 20:40:02 -07:00
Yue Wang 1652b4cf0c
init Helm module (#1131)
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>
2021-03-15 00:54:43 -07:00