Tianxin Dong
1e21a01320
Feat: add vela minimal in make manifests ( #2389 )
2021-09-29 13:09:57 +08:00
Tianxin Dong
042485124a
Fix: fix built in workflow steps ( #2378 )
2021-09-29 10:05:13 +08:00
Gallardot
2d8c8efe08
Feat: add args for init-contianer and sidecar ( #2331 )
2021-09-22 15:54:27 +08:00
Zheng Xi Zhou
4379a46a79
Fix: add comments and adjust helm typed component's spec ( #2332 )
...
Co-authored-by: Hongchao Deng <hongchaodeng1@gmail.com>
2021-09-22 10:05:11 +08:00
Zheng Xi Zhou
d933af022c
Fix: move charts from github repo to Alibaba Cloud OSS repo ( #2324 )
...
* Fix: move charts from github repo to Alibaba Cloud OSS repo
Charts in Github repo is not always avaialable for some users, so
moved them to OSS repo
Co-authored-by: Hongchao Deng <hongchaodeng1@gmail.com>
* Update charts/vela-core/templates/addons/observability-asset.yaml
Co-authored-by: Hongchao Deng <hongchaodeng1@gmail.com>
* Update vela-templates/addons/observability-asset/definitions/trait-import-grafana-dashboard.yaml
Co-authored-by: Hongchao Deng <hongchaodeng1@gmail.com>
* Update vela-templates/addons/auto-gen/observability-asset.yaml
Co-authored-by: Hongchao Deng <hongchaodeng1@gmail.com>
Co-authored-by: Hongchao Deng <hongchaodeng1@gmail.com>
2021-09-20 15:52:52 +08:00
yangsoon
60435e42a5
Fix(addon): don't install fluxcd and terraform by default ( #2328 )
2021-09-19 09:47:02 +08:00
Hongchao Deng
b60c16a4be
Fix(rollout): improve rollback experience ( #2294 )
2021-09-17 19:09:41 +08:00
Somefive
8407c0bf4d
Style: rename multi-env to deploy2env ( #2309 )
2021-09-15 15:03:44 +08:00
wyike
a151d17fde
Fix: generate service in canary-traffic trait ( #2307 )
...
fix ci
Fix: apply remaing bug
fix ci
2021-09-15 14:25:55 +08:00
Zheng Xi Zhou
fbac93665d
Fix: add application logging dashboard ( #2301 )
...
Added a Grafana dashboard for application logging
2021-09-15 13:21:38 +08:00
Tianxin Dong
36c7b9ec5b
Fix: imagePullSecrets error from cloneset ( #2305 )
...
* Fix: imagePullSecrets error from cloneset
* Fix: generate yaml file
Co-authored-by: withlin <withlin@apache.org>
2021-09-15 13:21:17 +08:00
wyike
9a766467a3
Fix: generate service in canary-traffic trait ( #2300 )
...
fix ci
2021-09-15 11:50:40 +08:00
qiaozp
0a3244f590
Feat: allow user specify alibaba provider addon's region ( #2297 )
2021-09-14 23:05:28 +08:00
Tianxin Dong
12361c133e
Feat: add commit msg in kustomize ( #2296 )
2021-09-14 22:03:56 +08:00
Somefive
e8d051a532
Support MultiCluster EnvBinding with cluster-gateway ( #2247 )
...
* Feat: init multicluster
* Feat: add secret namespace auto-detect
* Style: format
* Style: split gc codes
* Feat: add cluster cli
* Fix: rebase workflow on master
* Feat: add component selector for env binding
* Fix: selector & patch conflict
* Feat: add local cluster support & fix unit test
* Fix: fix omitempty bug
* Feat(health-scope): support multi-cluster's healthcheck
* Fix: resourcetracker gc bug & rename
* Feat: add multicluster to op.Read
Co-authored-by: yangsoon <songyang.song@alibaba-inc.com>
2021-09-14 20:35:10 +08:00
qiaozp
c1ebe9db24
Feat: alibaba provider addon ( #2243 )
...
bump up terraform version
Signed-off-by: qiaozp <chivalry.pp@gmail.com>
2021-09-14 19:35:21 +08:00
wyike
d93d8626c0
Feat: istio addon and use case demo ( #2276 )
...
fix all error and finish readme
small change
fix CI check
add canary trait back
2021-09-13 20:10:32 +08:00
Jian.Li
6cbdbe84b2
Refactor application code to make it run as Dag workflow ( #2236 )
...
* Refactor: remove use of AppConfig in AppRevision
* Refactor: remove insert secret and configmap
* Feat(workflow): upgrade
* Fix(conflict): workflow cherry
* Feat(workflow): support DAG mode
* Feat(workflow): prepare steps in step
* Feat(tools): random string
* Fix(rand): gosec weak random
* Fix(ci): test passing
* Feat(workflow): generate steps
* Fix: fix rebase from master
* Fix: fix workflow ut
* Feat(test): add test cases
* Fix: fix lint and rebase from master
* Refactor: application code
* Fix: fix ci lint
* Fix: make code reviewable
* Fix: workflow_test.go
* Feat: collect services
* Fix(ci): unit tests
* Feat: make one
* Test: application with input/output and workflow
* Fix: trace test
* Fix: update step index falied
* Feat: refactor op.#Load
* Fix: delete dead code
* Refactor: op.xxx
* Fix: patch component
* Test: add generator test
* Fix: add license
* Fix: pending e2e plugin test
* Fix: disable test/e2e-test
* Fix: patch by script
Co-authored-by: 天元 <jianbo.sjb@alibaba-inc.com>
Co-authored-by: FogDong <dongtianxin.tx@alibaba-inc.com>
2021-09-12 10:12:46 +08:00
wyike
8b1ce6937f
Fix: remove matchlabels in webservice template ( #2255 )
2021-09-10 12:44:38 +08:00
Tianxin Dong
faa445255d
Feat: add image auto update for gitops ( #2251 )
2021-09-09 19:53:01 +08:00
wyike
ae724b2a9a
Docs: canary rollout demo (rollout part only) ( #2177 )
...
Feat: component definition support context.revision
2021-09-07 17:08:56 +08:00
qiaozp
c451d74cfd
Fix: kustomize json patch trait definition ( #2239 )
2021-09-07 11:30:41 +08:00
Yue Wang
4ed40bebe3
Feat(app): show health status from HealthScope in application status ( #2228 )
...
Signed-off-by: Yue Wang <seiwy2010@gmail.com>
Co-authored-by: roywang <royyuewang@tencent.com>
2021-09-07 11:27:29 +08:00
Reeta Singh
e29f22a7b3
Feat(trait): annotation and labels trait should also affect the workload object along with pod ( #2237 )
...
* Feat(trait): annotation and labels trait should also affect the workload object along with pod
* Feat(trait): annotation and labels trait should also affect the workload object along with pod
* Feat(trait): annotation and labels trait should also affect the workload object along with pod
* Feat(trait): annotation and labels trait should also affect the workload object along with pod
Co-authored-by: Reeta Singh <reetas@twitter.com>
2021-09-07 10:57:32 +08:00
Eng Zer Jun
426aa7af34
Refactor: move from io/ioutil to io and os package ( #2234 )
...
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <zerjun@beatchain.co>
2021-09-06 18:33:42 +08:00
yangsoon
02f79a5cd9
Fix(addons): remove kruise addon ( #2226 )
2021-09-03 11:44:52 +08:00
wyike
f5c2c85381
Fix(addon): rename clonset-service to clonse ( #2219 )
...
fix test
2021-09-02 12:05:51 +08:00
yangsoon
d4277f644e
Fix(app): When only the policy is specified, the resources in the app need to be rendered and created ( #2197 )
...
* Fix(app): apply app when policy is specified
* Fix(policy): update env-binding policy
* Test(policy): add test
2021-09-01 17:27:47 +08:00
Tianxin Dong
2d1edbb16d
Feat(workflow): add apply application workflow step definition ( #2186 )
2021-08-31 20:21:29 +08:00
Tianxin Dong
7a139b554f
Feat(workflow): support dingding and slack in webhook notification ( #2213 )
2021-08-31 20:20:26 +08:00
Yue Wang
6bf4a2c1f7
Feat(healthscope): add health-scope-binding policy and e2e test for health scope ( #2205 )
...
Signed-off-by: roywang <seiwy2010@gmail.com>
Co-authored-by: roywang <royyuewang@tencent.com>
2021-08-31 15:59:17 +08:00
Jianbo Sun
9f6812414d
Fix: modify service-binding with more accurate type ( #2209 )
2021-08-31 13:47:16 +08:00
Jianbo Sun
332fd4753e
Fix: update help message of ingress trait ( #2198 )
2021-08-31 08:40:19 +08:00
Jianbo Sun
1ce8722e25
Feat: add more registry traits as internal ones ( #2184 )
2021-08-30 19:47:54 +08:00
yangsoon
75a972516d
Feat(workflow): add depends-on workflow step definition ( #2190 )
2021-08-30 17:19:32 +08:00
Somefive
25bc43ae39
Fix: add patchkey to volumes ( #2191 )
2021-08-30 15:54:43 +08:00
qiaozp
0c7048b2a0
Feat(addon): add default enable addon ( #2172 )
2021-08-29 11:24:40 +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
Reeta Singh
950411dbe8
Trait: Add TraitDefinition for PVC ( #2158 )
...
* Feat(trait): add trait definition for persistent volume claim
* Feat(trait): add trait definition for persistent volume claim
2021-08-27 18:45:22 +08:00
Zheng Xi Zhou
1f6d4d2345
Fix: add fluxcd dashbaords ( #2130 )
...
Added two fluxcd dashboards and also install its dependencies
just keep the ready Dashboard
2021-08-26 20:31:49 +08:00
wyike
6719e8af3a
Feat: add health check status ( #2166 )
...
check len(status.contitions) not empty
2021-08-26 20:05:01 +08:00
Tianxin Dong
8fc192bfac
Feat(definition): add built-in dingtalk workflow step definition ( #2152 )
2021-08-23 19:07:07 +08:00
qiaozp
af04ca37a5
Feat(addon): Add source and patch to kustomize definition ( #2138 )
...
* add more source to kustomize
* add patch to kustomize
* fix
* add patch trait
* remove param
2021-08-20 20:40:15 +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
qiaozp
0906d1b602
fix cloneset ( #2129 )
2021-08-20 10:55:59 +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
qiaozp
65217c0a44
helm add bucket support ( #2104 )
...
* helm add bucket support
* fix def
* add bucket support ,support ak/sk
* typo
* bucket -> oss
* bucket -> oss
* repoUrl -> url
* rfc helm param
* rfc helm param
* fix helm type usage
* fix test
2021-08-18 20:10:42 +08:00
Tianxin Dong
601510e43c
feat(def): add built-in workflow definitions ( #2094 )
...
* use_vela_bin
* Update gen_definitions.sh
add version print
* Update gen_definitions.sh
* Update gen_definitions.sh
* update crossplatform build check
* test
* feat(def): add built-in workflow definitions
* delete pod disruptive in workflow step def
* make cue files reviewable
* fix workflow step definition
* fix ci
* add clean up step
* add build clean up
Co-authored-by: Yin Da <yd219913@alibaba-inc.com>
Co-authored-by: Somefive <Somefive@foxmail.com>
2021-08-18 13:22:57 +08:00
Zheng Xi Zhou
09c85191ba
Replace gcr.io image in chart kube-metrics-server ( #2113 )
...
As it's difficult to pull gcr.io iamge, so replace the image
k8s.gcr.io/kube-state-metrics/kube-state-metrics:v2.1.0 to the one
hosted in dockerhub.io
2021-08-18 09:11:38 +08:00
qiaozp
050afca7a6
Add obsevability addon ( #2091 )
...
* Support Obsevability
- Support displaying and filter logs
- Support metrics and traces
* register datasource
* install prometheus
* install prometheus and register datasource
* Also install and register Prometheus
* remove unneeded file
* register datasource with clusterip
* register prometheus
* Support importing Grafana Dashboard
Added a trait to import Grafana Dashboard on component Grafana
* tmp
* 1. make observability as addon
2. make it more esay to gen addon
* use [[]] as gen addon delim
* url->urls
* add 2 url
* fix template
* fix args
* remove doc
* move url,fix test
* last modify!
* change arg name to grafana-domain
Co-authored-by: zzxwill <zzxwill@gmail.com>
2021-08-17 14:46:07 +08:00
yangsoon
a599a6a88b
add more test for envbinding ( #2100 )
...
* add test
* fix example
2021-08-17 11:30:52 +08:00
wyike
b6a2ab804e
add batch partition ( #2097 )
2021-08-16 20:30:56 +08:00
Somefive
51669f0e41
enable vela def to use import decl ( #2084 )
...
* enable vela def to use import decl
* fix def_test
* add comment
* add more test
2021-08-13 18:44:01 +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
Somefive
d7a31c4cb3
fix configmap patchkey bug ( #2080 )
2021-08-12 19:10:51 +08:00
qiaozp
356db2dc97
Add add-on input go-template implementation ( #2049 )
...
* add addon parameter template implementation
* add test
* fix test
* fix helm version parameter
2021-08-11 11:49:44 +08:00
qiaozp
ea64b1db3b
Add cloneset as kruise addon's componentDefinition ( #2050 )
...
* add cloneset as kruise addon's componentDefinition
* add SAE demo field
* trim field
* make reviewable
2021-08-10 10:21:49 +08:00
Somefive
ee0282af18
[Vela CLI] Vela def enhancement & replace mergedef.sh ( #2031 )
...
* draft vela def enhancement
* add format and amend test
* fix generation bugs
* force CI
* work around lifecycle definition in avoid of vela show --web crash
* fix data race in envbinding
2021-08-06 17:10:52 +08:00
Zheng Xi Zhou
116e78e66a
Add more properties for trait helm ( #2033 )
...
* Add more properties for trait helm
Added `version`, `targetNamespace` and `value` for trait helm
co-authored-by: qiaozp <47812250+chivalryq@users.noreply.github.com>
* fix make check-diff issue
Co-authored-by: qiaozp <47812250+chivalryq@users.noreply.github.com>
2021-08-06 16:20:37 +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
Somefive
2aa31a9f2b
[Vela CLI Tool] Add vela def ( #1949 )
...
* add vela edit
* vela def group commands
* 1. change scheme of definition cue
2. add vela def tests
3. reformat
* fix render template bugs
* add definition examples (migrated from serverless iac)
* retrigger github ci
Co-authored-by: Yin Da <yinda@B-2943Q05P-1738.local>
2021-08-03 18:00:49 +08:00
Jianbo Sun
aa87d3da24
upgrade K8s dependency lib to v0.21 ( #1985 )
...
* upgrade K8s dependency to v0.21
* update CRD for new version of controller-runtime
* fix ci component revision create must fill Raw in runtime.RawExtension
* try fix test
* start control plane timeout set to 1min and fix tests
* add timeout for env test start and stop
* longer timeout time for BeforeSuit function
* upgrade kubebuilder and k8s cluster version to match with v1.21.2 in github action
* fix test
* fix resource tracker ownerRef override
* update developer guides
2021-08-03 11:30:02 +08:00
Shaw Ho
d9cd048d79
Fix addRevisionLabel to selector ( #1983 )
...
Signed-off-by: Xiaoxi He <tossmilestone@gmail.com>
2021-08-02 16:36:54 +08:00
yangsoon
7161959aca
add EnvBinding Controller for Multi cluster deploy and Configuration Management ( #1968 )
...
* patch env configuration
* add e2e-test
2021-07-30 10:02:51 +08:00
qiaozp
de1b84724c
add namespace initializer for fluxcd ( #1977 )
2021-07-28 18:46:06 +08:00
chival
0b46895211
support helm repo secret ( #1943 )
2021-07-21 14:52:43 +08:00
wangyuan249
d77969b52e
Help developer install build-in necessary definitions. ( #1907 )
...
* fix
* add install def shell
* change to make command
* fix shell
* fix bak
2021-07-20 14:05:39 +08:00
chival
21cde39c50
Add helm release component definition as part of fluxcd Intializer ( #1928 )
...
* 1. change all init namespace to vela-system(make sure depend ref)
2. move componentDef into init
3. remove ns object in auto-gen file
4. remove componentDef from autogen file(already in init)
validate helm chart as componentDef
temp
* rfc: keda/prometheus/terraform-controller using helm-release comp
* fix name style
* rename
* check diff
2021-07-19 17:04:15 +08:00
yangsoon
644cafe0a1
fix bug: application can not create component which contains namespace resource ( #1920 )
...
* align initializer's namespace to vela-system
* fix makefile
* fix terraform namespace
* add test
2021-07-15 19:53:41 +08:00
chival
e91deaa4cc
Add Prometheus/KEDA as addon ( #1915 )
...
* add keda addon
* add promethus addon
* rebase
* add generate namespace.
add prometheus as addon
add keda as addon
* rebase
2021-07-14 16:48:11 +08:00
chival
07ebca4376
Add open-kruise as addon ( #1910 )
...
* verify git repo as source
* Add open-kruise as addon
2021-07-14 15:44:14 +08:00
chival
38cf4c8195
Add terraform controller as built-in addon ( #1905 )
...
* add terraform controller as addon
* change addon name to terraform
* fix init controller depends logic
* rebase
* fix CI
* unfocus
2021-07-14 14:38:32 +08:00
whichxjy
1d76964ca0
Fix the way to ignore errors in shell script ( #1902 )
2021-07-13 17:15:31 +08:00
yangsoon
af50f32826
add ocm-hub ( #1906 )
2021-07-13 16:58:46 +08:00
chival
87576cc67e
Implement addon mechanism ( #1867 )
...
* - add: list/enable/disable an addon.
- add: test addon
- add: full flux addon
- fix: flaky test
* try again
* 1. add readme
2. gen demo file
* fix ci
* change name
* try again
2021-07-13 13:03:25 +08:00
yangsoon
572f7b47bd
add image pull policy and pull secrets for worker and webservice ( #1887 )
...
* add image pull policy and pull secrets
* fix test
2021-07-08 13:08:54 +08:00
chival
016becf2be
add more test error info ( #1886 )
...
fix kustomize registry yaml, fix testdata yaml
2021-07-06 18:58:29 +08:00
Jianbo Sun
4930c2c71f
add ingress trait for the new ingress API ( #1882 )
2021-07-06 13:54:00 +08:00
yangsoon
c53cebef0a
add Fluxcd addon ( #1863 )
...
* add fluxcd addon
* fix apiserver
2021-07-02 17:34:02 +08:00
Scaat Feng
8bc63a431f
Fix incorrect pod disruptive annotation traits ( #1838 )
...
* [FIX]incorrect pod-disruptive defalut configuration in label of traits
* [FIX]incorrect pod-disruptive defalut configuration in annotation of traits
* [FIX]incorrect pod-disruptive defalut configuration in annotation of traits
2021-06-23 19:17:12 +08:00
Scaat Feng
4b120546f0
[FIX]incorrect pod-disruptive defalut configuration in sidecar of traits ( #1839 )
2021-06-23 18:02:05 +08:00
Scaat Feng
94bc87d03e
[FIX]incorrect pod-disruptive defalut configuration in label of traits ( #1837 )
2021-06-23 18:01:37 +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
wangyuan249
f4cbe1b98b
Add ignore feature for cue parameter ( #1756 )
...
* add ignore feature for cue parameter
* add test
* fix diff
* fix test
* fix test 2
* fix interact init
2021-06-10 10:29:35 +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
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
Hongchao Deng
80cf81e4d5
update templates
...
Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com>
2020-10-26 20:51:16 -07:00
Hongchao Deng
af91fdf21e
cue: rename 'data' to 'output'
2020-10-12 21:02:33 -07: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
天元
371a989f9b
add move readme
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
天元
9510db0ace
update chart and refactor default workload
2020-09-16 12:09:29 +08:00