Commit Graph

49 Commits

Author SHA1 Message Date
JarHMJ 55f82781ce
Feat: support chart value to disable conversation on application crd (#3890)
Signed-off-by: huangminjie <minjie.huang@daocloud.io>
2022-05-21 22:57:38 +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
天元 d750cf2657 merge config/samples into docs/examples 2021-03-20 08:37:00 +08:00
天元 d253b84161 delete unused configs 2021-03-20 08:34:46 +08:00
天元 339889813b add quick start for application CRD
add quick start for application CRD

Update docs/en/quick-start.md

Co-authored-by: Hongchao Deng <hongchaodeng1@gmail.com>

Update docs/en/quick-start.md

Co-authored-by: Hongchao Deng <hongchaodeng1@gmail.com>
2021-03-10 10:57:26 +08:00
天元 8c8ca60756 align workload/trait definition schema with v0.2.2 spec 2021-03-02 17:35:58 +08:00
天元 6eeb98870f fix doc and test 2021-02-24 18:59:36 +08:00
天元 98b059c0ae output not allowed in traitdefinition, should use outputs:<resource>:<full object> 2021-02-23 16:20:30 +08:00
roy wang 67adafce1b update doc about traitDef definitionRef
Signed-off-by: roy wang <seiwy2010@gmail.com>
2021-02-08 20:34:47 +09:00
天元 96a589b098 move template out from extension 2021-02-05 14:45:30 +08:00
天元 868e0925d4 move health check and status out of extention 2021-02-04 17:56:20 +08:00
天元 87e52bb349 add demo, test and refine code 2021-02-04 14:14:52 +08:00
天元 1f1f3af7b7 refacter and add tests 2021-01-11 20:48:17 +08:00
天元 3a47d5de73 refactor application object to have more strict schema 2020-12-29 15:48:32 +08:00
Jian.Li 1f2c38d3c7
supports strategy patch for definition template (#798)
* supports strategy patch for definition template

* strategy unify

* lint code

* test cases

* add docs

* add test cases

* lint code

* add test cases for walk

* fix close fun

* lint code

* const variable for patchKey

* lint code

* interceptor for ast.Node

* add test cases

* check diff

* strategyUnify

* listMergeByKey

* prompts
2020-12-24 13:35:34 +08:00
Jian.Li e882a650ae
Extend application's capabilities by trait definition (#742)
* add dsl pkg

* realize context capabilities for application

* fix golint

* fix check-diff

* upgrade vela server sample

* comment group

* Definition Reference be Optional & fix  three-part trait crd apply without namespace

* Improve samples
2020-12-13 20:00:06 -08:00
Jian.Li ee906dbd5a
Using CUE to implement OAM model on Kubernetes server side (#669)
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>
2020-12-03 17:09:55 +08:00
天元 3d2bd9a898 add a design doc for route trait, along with fix and tests 2020-10-16 20:50:08 +08:00
Ryan Zhang 61544a0be6 rename containerized to podspecworkload 2020-10-06 00:25:16 -07:00
Ryan Zhang c69c809264 improve CUE format 2020-09-25 21:58:30 -07:00
天元 8b3af3be93 temporarily add containerized to chart 2020-09-21 19:22:34 +08:00
天元 3af41f6515 add production certificate issuer and fix route trait 2020-09-18 19:06:51 +08:00
天元 1b9ee5c882 add route trait as vela apigate 2020-09-16 19:42:01 +08:00
Ryan Zhang 8597a122fb add manual test for containerized and metricsTrait 2020-09-02 21:16:44 -07:00
Ryan Zhang fe05ee22de manually verified 2020-09-01 22:11:16 -07:00
Ryan Zhang 2478c1a9ae add the metrics trait 2020-08-26 21:52:26 -07:00
Sun Jianbo ef0d974c16
Merge pull request #209 from wonderflow/status
fix vela app delete
2020-08-27 11:35:00 +08:00
天元 210cbcc937 support vela comp ls 2020-08-27 11:21:13 +08:00
天元 da1831efef add kubebuilder framework back and import oam-k8s-runtime 2020-08-26 15:38:52 +08:00
天元 0b6fd6a981 fix appfile update 2020-08-14 15:21:32 +08:00
天元 8910384946 minor fixes 2020-08-14 12:47:14 +08:00
天元 1baa6a09d1 support vela cap:remove 2020-08-12 17:08:14 +08:00
天元 2f94c17890 support vela addon:install 2020-08-12 13:31:31 +08:00
Zheng Xi Zhou 8b7f2e1a6e
Show trait type in `app:ls` (#136)
* Show trait type in `app:ls`

Use trait type instead of its name in application list.
Fix app:status issue and refactor code
Fix #90

* Update pkg/cmd/status.go

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

* followed comments to move some basic traits related functions to system.go

Co-authored-by: Sun Jianbo <wonderflow.sun@gmail.com>
2020-08-11 15:14:14 +08:00
天元 8418534a43 rename rudrx/rudr to vela 2020-08-07 13:40:20 +08:00
天元 1a37099f1e fix definition files 2020-08-06 16:46:11 +08:00
天元 780524e303 add annotation into definitions 2020-08-06 12:09:48 +08:00
天元 ae08333efa use cue template instead of parameter 2020-08-06 11:58:13 +08:00
zzxwill 0d4ee6970b refine detach with extended traitdefinition 2020-08-05 20:06:00 +08:00
天元 728ebb33b2 refactor rudr run to rudr <workload>:run 2020-08-01 13:14:06 +08:00
天元 dcf311cd4a clean up docs and test 2020-07-31 12:18:17 +08:00
zzxwill e91dceac4b Make modification for latest xxxdefinition.spec.extension 2020-07-29 22:40:39 +08:00
zzxwill b4065b1174 Move template to definition Extension field
As we plan to deprecate template, move template
to workloaddefinition and traitdefinition respectively.
2020-07-29 22:33:40 +08:00
erdun 76ad168ccf fix run bug 2020-07-23 13:08:09 +08:00
zzxwill bdb8af9492 Fix issue and refine README
1) Fix the issue when there are more than one traitdefinitions
2) Refine README
3) lowercase workload metadata.name so it could be used as dns
2020-07-17 13:40:50 +08:00
zzxwill 20fe71ccb3 Implement `rudr bind`
Implement trait binding based on `rudr run`
2020-07-17 13:40:50 +08:00
zzxwill 5bced27bd0 Fix run issue
Remove hard-coded type sting for image port convertion,
and make several parameter as optical. Fix issue #17
2020-07-16 14:11:13 +08:00
zzxwill 4ca494c69c Support executing ContainerizedWorkload
Add metadata.name for workload and add deafult name
for spec.containers[].ports[].port.name
2020-07-14 14:37:38 +08:00
天元 4f13b58663 init rudrx 2020-07-07 00:12:13 +08:00