Somefive and GitHub
795231ceb5
Feat: add revision command ( #3506 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-03-28 14:47:47 +08:00
Somefive and GitHub
741544c00c
Feat: rework apprev ( #3498 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-03-24 14:40:19 +08:00
Somefive and GitHub
e2275efe56
Feat: local virtual cluster + namespace in topology ( #3436 )
...
* Feat: virtual cluster local + namespace
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Chore: refactor some names
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-03-15 10:06:36 +08:00
Somefive and GitHub
c054ee32b1
Fix: use clusterLabelSelector as default ( #3438 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-03-14 19:30:52 +08:00
qiaozp and GitHub
96f8e4dc4c
Feat: support preventing component from garbage collection ( #3424 )
...
* Feat: support preventing component from garbage collect
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* reviewable
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* Chore: add doc for changes
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* Chore: add comments
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* Chore: change json tag
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
2022-03-11 17:32:21 +08:00
Zheng Xi Zhou and GitHub
c06dbf3142
Feat: upgrade API version for Terraform Controller ( #3396 )
...
* Upgrade API version for Terraform Controller
- Change json tag of spec.Region to `customRegion` in Configuration https://github.com/oam-dev/kubevela/issues/3384
- Use .status.observedGeneration to make Terraform outputs is latest https://github.com/oam-dev/terraform-controller/pull/269
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* fix ci
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-03-11 16:13:30 +08:00
Somefive and GitHub
d8f95c9cf8
Feat: support multicluster service in application status ( #3387 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-03-10 10:21:56 +08:00
Somefive and GitHub
b5ce5df9c5
Fix: remove deprecated rt field in app status ( #3388 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-03-08 15:40:31 +08:00
Somefive and GitHub
de81c24f42
Feat: support standalone style multi-cluster ( #3223 )
...
* Feat: ref component
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: support topology and override
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: add support for external policy and workflow
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: add admission control
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: disable cross namespace ref object
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Chore: refactor
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: support labelSelector in ref-objects
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: add pre approve for deploy step
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Chore: refactor
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: support comp/trait type in override policy even not used by prototype
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: support regex match for patch component name
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: labelSelector not work for cluster
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: ref workflow contains external policy
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: revision test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: parallel apply components
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: add test for oam provider
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: service ref-comp & indirect trait ns
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: align namespace setting for chart
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: add strict unmarshal and reformat
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: merge with cluster rework
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: patch trait-def
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: apply components + load dynamic component
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: add test for loadPoliciesInOrder
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: add test for open merge
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: reformat & add test for step generator
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: add test for parse override policy related defs
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: add test for multicluster provider (expandTopology and overrideConfiguration)
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: add admission test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: revert trait status pass in component status
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: add test for dependency in workflowstep & standalone multicluster test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: add check for ref and steps in WorkflowStep & enhance ref-objects scheme check
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-03-07 10:21:00 +08:00
barnettZQG and GitHub
17794e4ce1
Fix: upgrade package github.com/docker/cli for CVE-2021-41092 ( #3216 )
...
* Fix: upgrade package github.com/docker/cli for CVE-2021-41092
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Chore: change go version to 1.17
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Chore: change go mod
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change install cue shell
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-02-09 19:18:40 +08:00
Tianxin Dong and GitHub
cb7bc0e7f4
Fix: handle workflow cache reconcile ( #3128 )
...
* Fix: handle workflow cache reconcile
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix return and move backoff to memory
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* handle failed to patch case
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* add store in err case
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* make reviewable
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix ut
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* do cleanup in ut
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-01-22 15:54:17 +08:00
Jian.Li and GitHub
354e92cfbd
Fix: workflow skip executing all steps occasionally ( #3025 )
...
* fix asi
Signed-off-by: Jian.Li <lj176172@alibaba-inc.com >
* fix lint
Signed-off-by: Jian.Li <lj176172@alibaba-inc.com >
* add trace tag
* add args for this feature
Signed-off-by: Jian.Li <lj176172@alibaba-inc.com >
* enable-asi-compatibility
Signed-off-by: Jian.Li <lj176172@alibaba-inc.com >
2022-01-19 16:07:19 +08:00
Somefive and GitHub
69527b257c
Feat: support external revision in patch component ( #3106 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-01-17 19:29:28 +08:00
6cee468743
Feat: add more performance optimization and prometheus metrics for controller ( #3086 )
...
* Feat: add more prometheus metrics
Signed-off-by: yangsoon <yangsoonlx@gmail.com >
* Feat: add detail gc rt duration metrics
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Feat: add monitor to client
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Feat: add all cache object
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Fix: watch job
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Feat: add deleg client
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Feat: add optimize for rt list and disable controllerrevision
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Feat: add apprev disable optimize
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Fix: optimize log
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Feat: add time recorder for app ctrl
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Feat: add in-memory workflow context
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Feat: add reconcile-reduction & random-pick-gc & optimize rt record
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Feat: add optimize for healthcheck & resourcetracker trigger
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Chore: refactor
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: record the resource-tracker number by informer event-handler
Signed-off-by: yangsoon <songyang.song@alibaba-inc.com >
* Feat: add promethus collect annotation in template
Signed-off-by: yangsoon <songyang.song@alibaba-inc.com >
* Fix: command line comment bug
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Chore: rename args and remove legacy controller metrics
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: make code reviewable
Signed-off-by: yangsoon <songyang.song@alibaba-inc.com >
* Chore: optimize flag descriptions
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Chore: break optimize package
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: gc policy test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Co-authored-by: Yin Da <yd219913@alibaba-inc.com >
Co-authored-by: yangsoon <songyang.song@alibaba-inc.com >
2022-01-14 15:18:02 +08:00
wyike and GitHub
770894412a
Chore: deprecate appDeployment related logic ( #3050 )
...
* deperecated appDeployment
Signed-off-by: wangyike <wangyike_wyk@163.com >
* delete more code
Signed-off-by: wangyike <wangyike_wyk@163.com >
2022-01-06 16:24:09 +08:00
wyike and GitHub
53081d043b
Chore: deprecate and delete approllout related code ( #3040 )
...
* Fex: delete useles approllout related code
Signed-off-by: wangyike <wangyike_wyk@163.com >
fix failed test
Signed-off-by: wangyike <wangyike_wyk@163.com >
Fix: failed e2e test
Signed-off-by: wangyike <wangyike_wyk@163.com >
fix-test
Signed-off-by: wangyike <wangyike_wyk@163.com >
fix test
Signed-off-by: wangyike <wangyike_wyk@163.com >
fix e2e-test
Signed-off-by: wangyike <wangyike_wyk@163.com >
fix e2e rollout test
Signed-off-by: wangyike <wangyike_wyk@163.com >
* delete useless test code
Signed-off-by: wangyike <wangyike_wyk@163.com >
* fix failed unit-test
Signed-off-by: wangyike <wangyike_wyk@163.com >
2022-01-06 14:33:11 +08:00
Tianxin Dong and GitHub
655c2615e1
Feat: add workflow reconciling backoff time and failed limit times ( #2881 )
...
* Feat: add workflow failed after retries
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* Feat: add workflow reconcile backoff time
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix lint
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* make reviewable
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* resolve some comments
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* add tests
* fix rebase
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix test
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix status
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix requeue time interval
* resolve comments
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* change time to pointer
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix pointer test
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix test
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* change time to cm
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* resolve comments and add e2e test
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2021-12-15 11:33:33 +08:00
Somefive and GitHub
4dc213469a
Feat: add compatibility code for new rt ( #2920 )
...
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
2021-12-14 21:27:47 +08:00
Somefive and GitHub
b622cbdb7f
Feat: ResourceTracker new architecture ( #2849 )
...
* Feat: new rt
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Fix: add publish version
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
2021-12-10 15:00:03 +08:00
Zheng Xi Zhou and GitHub
7d341c4bd3
Fix: pass on properties of Terraform typed application to Configuration ( #2847 )
...
* Fix: pass on properties of Terraform typed application to Configuration
Pass on properties like `writeConnectionSecretRef`, `Region` and `providerRef`
to Configuration.
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* revert definitions
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2021-12-02 15:45:50 +08:00
Jian.Li and GitHub
ec105cbb02
Fix: application conditions confusion. ( #2834 )
...
* fix condition confusion
* fix test cases
2021-11-30 16:43:27 +08:00
Somefive and GitHub
f9ecc02417
Feat: rework rt ( #2797 )
2021-11-29 16:14:30 +08:00
yangsoon and GitHub
3d2fcacb5a
Feat: built in gc policy to application ( #2575 )
2021-11-24 15:38:13 +08:00
Zheng Xi Zhou and GitHub
7a0670113f
Fix: allow external cloud resources to be kept when Application is deleted ( #2698 )
...
* Fix: allow external cloud resources to be kept when Application is deleted
Provide an option for users whether to keep provisioned cloud resources when Terraform-typed Application is deleted.
Fix #2697
* delete file
* upgrade release version of Terraform controller
* fix ci
2021-11-16 19:33:21 +08:00
Somefive and GitHub
64ab932c6d
Feat: support apiserver-related multicluster features ( #2625 )
...
* Feat: remove envbinding policy into workflow
Feat: add support for env change (env gc)
Fix: fix rollout timeout setting bug
* Feat: support disable trait and env without workflow
* Fix: add hint for replaced value
2021-11-08 10:11:50 -05:00
Somefive and GitHub
bf3a1cddf9
Feat: remove envbinding policy into workflow ( #2556 )
...
Fix: add more test
2021-11-05 17:29:05 +08:00
Tianxin Dong and GitHub
117b9937f3
Feat: store workflow step def properties in cm ( #2592 )
...
* Fix: fix notification def
* Feat: store workflow step def properties in cm
* fix ci
* fix data race
2021-11-03 15:31:12 +08:00
Zheng Xi Zhou and GitHub
e9ac4bb62f
Fix: add another output CLUSTER_ID for Alibaba Cloud ack ( #2543 )
...
To support sub-path of a git repo which stores HCLs, also update the dependency
of Terraform controller
2021-10-24 10:02:39 +08:00
Jian.Li and GitHub
9fea82fd7b
Feat: Record workflow execution state ( #2479 )
...
* Feat: workflow status add timestamp
* Feat: add workflow recorder
* Fix: finish state process
* Fix: test cases
* Fix: revert comments history->recorder
* Feat: omitempty execution time
* Fix: workflow_test.go
* Feat: add application test case for record
* Feat: terminate record
* Feat: trigger only by anno
* Feat: remove initializers CRD
2021-10-19 11:43:06 +08:00
Tianxin Dong and GitHub
d8c9105a3a
Test: add conversion test ( #2497 )
...
* Test: add conversion test
* Fix: make code reviewable
2021-10-18 11:46:01 +08:00
qiaozp and GitHub
49bfeee53d
Refactor: remove initializer ( #2491 )
2021-10-15 11:25:26 +08:00
9d1ffd4c4b
Fix(application): nil pointer for component properties ( #2481 )
...
Co-authored-by: kinsolee <lijingzhao@forchange.tech >
2021-10-14 19:17:50 +08:00
Tianxin Dong and GitHub
85c887d3e4
Fix: change raw extension to pointer ( #2451 )
...
* Fix: change raw extension to pointer
* Test: fix ut
2021-10-13 16:16:53 +08:00
Zheng Xi Zhou and GitHub
b8894b7a44
Fix: support terraform/provider-azure addon ( #2402 )
...
Also added some componentdefinitions for Azure cloud resource
2021-10-08 11:35:52 +08:00
GingoBang and GitHub
83eec87da6
Refactor: change rollout's json tag ( #2314 )
...
* Refactor: set rollout as a pointer reference
see issue #2289 for more details
Closes #2289
* Refactor: set rollout as a pointer reference
see issue #2289 for more details
Closes #2289
2021-10-02 10:19:41 +08:00
6647a11c86
Chore: deprecate containerized workload ( #2330 )
...
* 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
* Chore: deprecate containerized workload
* Chore: deprecate containerized workload
* Chore: run make reviewable as per review comment
* Chore: fix import
* Chore: merge with master
* Chore: merge with master
* Chore: remove references for containerized workload
* Chore: fix failiing e2e test
* Chore: fix failing e2e test
* Chore: fix failing e2e test
* Chore: fix failing e2e test
* Chore: fix e2e tests
* Chore: fix e2e tests
* Chore: fix e2e tests
* Chore: fix e2e tests
* Chore: fix e2e tests
* Chore: merge with upstream
Co-authored-by: Reeta Singh <reetas@twitter.com >
2021-09-30 16:06:29 +08:00
Tianxin Dong and GitHub
f9b218919a
Feat(workflow): add depends on in workflow ( #2387 )
...
* Feat: add depens on in charts
* Feat(workflow): add depends on in workflow
2021-09-30 10:30:44 +08:00
Zheng Xi Zhou and GitHub
305403ff8b
Support remote git repo for Terraform configuration ( #2337 )
...
* Fix: support remote git repo for Terraform configuration
Besides inline HCL Configuration, supprted remote git repo Configuration
* Fix: add unit-tests
* Fix: update all manifests in vela-minimal
2021-09-29 14:58:27 +08:00
Jianbo Sun and GitHub
0a9518f583
Fix: remove appcontext CRD and controller ( #2270 )
2021-09-23 15:05:47 +08:00
Hongchao Deng and GitHub
d0e8418c4a
Fix: don't increment count in status ( #2306 )
2021-09-15 13:20:58 +08:00
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
Tianxin Dong and GitHub
e73655a8b2
Refactor: change field exportKey to valueFrom ( #2284 )
2021-09-14 10:23:39 +08:00
Hongchao Deng and GitHub
ce70f9f57f
Fix: add exponential backoff wait time for workflow reconciling ( #2279 )
2021-09-13 22:34:25 +08:00
Jianbo Sun and GitHub
cad21c5138
Fix: refactor workflow and fix some e2e tests ( #2272 )
...
* Fix: add e2e plugin test back
* Fix: e2e rollout test and try change port to 37081
* Fix: add rollout plan test back
* Refactor: change the workflow state machine and add workflow succeed state
* Refactor: refine definition controller and fix e2e of app revision
* Refactor: unlock all the normal cases
* Fix: add helm schematic logic back into workflow
2021-09-13 14:17:12 +08:00
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
majian and GitHub
e0eded58e5
Feat: support code-generator and sync to kubevela-core-api ( #2174 )
2021-09-09 09:28:31 +08:00
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
yangsoon and GitHub
d24e282e67
Feat(envbinding): add resourceTracker for envBinding ( #2179 )
...
* Feat(envbinding): add resourceTracker for envBinding
* Test: add test for envbinding
2021-08-29 13:29:30 +08:00
Tianxin Dong and GitHub
60cd8ef7de
Feat(workflow): add workflow CRD ( #2098 )
2021-08-25 09:55:12 +08:00
Tianxin Dong and GitHub
7254bb67a3
Feat(vela): add vela workflow terminate and restart command ( #2131 )
...
* Feat(vela): add vela workflow terminate and restart command
* Fix(restart): fix restart command
2021-08-20 20:45:09 +08:00