Ankit kumar and GitHub
4f7d787871
Fix: make podDisruptive actually trigger pod restart . ( #7231 )
...
* fix: make podDisruptive actually trigger pod restart for outputs-based traits
When a TraitDefinition sets podDisruptive: true but renders its output
via outputs: (e.g. a ConfigMap) instead of patch:, the workload's pod
was never restarted when the trait's content changed - podDisruptive
was effectively a no-op.
This adds propagatePodDisruptiveHash, called from SetOAMContract for
every rendered trait. When the trait's TraitDefinition has
podDisruptive: true and the target workload has a spec.template, a
content hash of the trait's rendered output is stamped onto
spec.template.metadata.annotations as
app.oam.dev/trait-restart-hash-<traitType>. Since this lives inside
spec.template, any change to the trait's content changes the pod
template, causing the owning controller (Deployment/StatefulSet/...)
to roll the pods automatically.
Fixes #7204
Signed-off-by: Ankit Kumar <ankitkumarrain12@gmail.com >
* fix: address cubic review for podDisruptive restart hash
Harden annotation key length checks against the Kubernetes name-segment
limit (63 chars after the slash) and document selective metadata hashing
so user name/labels/annotations change the restart hash while
controller/OAM revision churn does not. Expand unit coverage and drop a
duplicate test case.
Signed-off-by: Ankit Kumar <ankitkumarrain12@gmail.com >
* Revert "fix: address cubic review for podDisruptive restart hash"
This reverts commit d666da0024099b8935347137cac81609b7c1d84a.
Signed-off-by: Ankit Kumar <ankitkumarrain12@gmail.com >
---------
Signed-off-by: Ankit Kumar <ankitkumarrain12@gmail.com >
2026-07-15 11:12:15 +01:00
Brian Kane and GitHub
38dea0b56c
feat: application-scoped policies ( #7067 )
...
Introduces application-scoped policies and global auto-applied policies
for KubeVela.
Key changes:
- PolicyDefinition gains `scope`, `global`, and `priority` fields
- Global policies (global=true, scope=Application) are auto-applied to
every Application in their namespace (and vela-system globals apply
cluster-wide) without being listed in spec.policies
- PolicyScopeIndex: in-memory singleton index of PolicyDefinition
metadata, bootstrapped at startup and kept live via watch events.
Follows KubeVela's 2-step lookup (local namespace → vela-system)
- ApplicationPolicyCache: per-app cache of rendered policy results,
invalidated by spec hash, revision hash, or TTL; cleared on deletion
- Policy rendering pipeline extended to inject global policies before
user-specified ones, respecting priority ordering
- Appfile.Context carries context.Context from controller into rendering
- Feature gates: EnableApplicationScopedPolicies and EnableGlobalPolicies
(both Alpha, default false); admission webhook warns when a
PolicyDefinition targets a disabled gate
Signed-off-by: Brian Kane <briankane1@gmail.com >
2026-03-19 07:58:15 -07:00
Amit Singh and GitHub
5ead6db8d7
Chore: bumps up pkg and workflow dependency versions ( #7026 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 1m29s
* chore: bumps up workflow and pkg versions and updates import statements
Signed-off-by: Amit Singh <singhamitch@outlook.com >
* chore: minor linter fixes
Signed-off-by: Amit Singh <singhamitch@outlook.com >
---------
Signed-off-by: Amit Singh <singhamitch@outlook.com >
2026-01-20 15:32:03 +00:00
Brian Kane and GitHub
432ffd3ddd
Feat: Improve Cue Error Reporting ( #6984 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 11m49s
Signed-off-by: Brian Kane <briankane1@gmail.com >
2026-01-07 14:37:06 +00:00
Brian Kane and GitHub
56bc3b02e9
Feat: Consolidate Health & Status and Pass Status Context Data ( #6860 )
...
Signed-off-by: Brian Kane <briankane1@gmail.com >
2025-08-24 02:30:06 +08:00
Brian Kane and GitHub
a27261bd14
Feature: Enhanced Status Reporting ( #6828 )
...
Signed-off-by: Brian Kane <briankane1@gmail.com >
2025-08-06 09:55:30 -07:00
Tianxin Dong and GitHub
4f8bf44684
Refactor: use cuex engine ( #6575 )
...
* refactor: use cuex engine
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix lint
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix unit test
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix static check and sdk tests
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix testdata
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix velaql unit test
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix docgen parser
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix cuegen
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix velaql
Signed-off-by: FogDong <fog@bentoml.com >
* fix: delete useless print
Signed-off-by: FogDong <fog@bentoml.com >
* fix: set client for ql
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix mt tests
Signed-off-by: FogDong <fog@bentoml.com >
* fix: set kubeclient in generator
Signed-off-by: FogDong <fog@bentoml.com >
* fix: use pass kube client
Signed-off-by: FogDong <fog@bentoml.com >
* fix: simplify ql
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix lint
Signed-off-by: FogDong <fog@bentoml.com >
* fix: add wf debug back
Signed-off-by: FogDong <fog@bentoml.com >
* fix: add loader
Signed-off-by: FogDong <fog@bentoml.com >
---------
Signed-off-by: FogDong <fog@bentoml.com >
2024-07-27 17:44:20 +08:00
Daniel Higuero and GitHub
1a001e5b29
Address GolangCI lint 1.55 errors ( #6453 )
...
Signed-off-by: Daniel Higuero <daniel@napptive.com >
2024-02-07 17:27:32 +08:00
qiaozp and GitHub
94cbcad471
Chore: tidy appHandler ( #6300 )
2023-08-28 11:01:33 +08:00
qiaozp and GitHub
bab5bb2caf
Refactor: capabilities and workload in appfile parsing ( #6250 )
2023-08-10 14:41:20 +08:00
Somefive and GitHub
f1bae16723
Chore: remove schematic kube and helm ( #6099 )
...
* Chore: remove unused code
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Chore: remove schematic Kube & Helm
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-06-12 10:41:02 +08:00
Somefive and GitHub
c255d21ad6
Chore: remove unnecessary go mod ( #6093 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-06-08 15:32:57 +08:00
Somefive and GitHub
f15eba2c5f
Chore: remove legacy rollout and scope ( #6068 )
...
* Chore: remove legacy rollout & scope
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* remove outdated params
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* fix
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-06-05 10:57:38 +08:00
Somefive and GitHub
dd899c2b39
Chore: remove outdated apis(v1alppha2 ApplicationConfiguration Component, and HealthScope, Rollout) ( #6041 )
...
* remove outdated api
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* fix rt test: no component rt
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* recover context.revision to component hash
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-06-01 09:32:49 +08:00
yyzxw and GitHub
3cb0f7b330
refactor: parse trait & scope ( #6017 )
...
Signed-off-by: yyzxw <1020938856@qq.com >
2023-05-22 19:21:01 +08:00
Somefive and GitHub
d8af202242
Feat: upgrade k8s.io to 0.26 ( #5758 )
...
* Feat: upgrade k8s.io to 0.26
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: replace temp replace
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-04-10 11:19:05 +08:00
Somefive and GitHub
b7e0cd86be
Feat: add deploy inline policy and support loading definitions when lack in the revision ( #5416 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-02-06 15:58:44 +08:00
Somefive and GitHub
ce63df6b26
Feat: enhance health check to support bypass component check and add parameter to context ( #5412 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-02-03 15:49:13 +08:00
Joshua Agboola and GitHub
a9bc43a9dd
Feat: Support SSH for retrieving terraform modules in private git repo ( #5059 )
...
* Feat: Support SSH for retrieving terraform modules in private git repo
Signed-off-by: motilayo <44736801+motilayo@users.noreply.github.com >
* fix lint errors
Signed-off-by: motilayo <44736801+motilayo@users.noreply.github.com >
* fix gofmt lint error
Signed-off-by: motilayo <joshuaagboola@live.ca >
* update gitCredentialsReference to gitCredentialsSecretReference, validate secret, improve known_hosts logic
Signed-off-by: motilayo <joshuaagboola@live.ca >
* SImplify logic to get publickey
Signed-off-by: motilayo <joshuaagboola@live.ca >
* Set known_hosts and export SSH_KNOWN_HOSTS
Signed-off-by: motilayo <joshuaagboola@live.ca >
* Call GetGitSSHPublicKey for cli
Signed-off-by: motilayo <joshuaagboola@live.ca >
* fix parser.go - nil check for ref.Client
Signed-off-by: motilayo <joshuaagboola@live.ca >
* Unit test for GetGitSSHPublicKey
Signed-off-by: motilayo <joshuaagboola@live.ca >
* improve test coverage
Signed-off-by: motilayo <joshuaagboola@live.ca >
* make reviewable
Signed-off-by: motilayo <joshuaagboola@live.ca >
* minor improvements & cleanup
Signed-off-by: motilayo <joshuaagboola@live.ca >
* update secret name in test
Signed-off-by: motilayo <joshuaagboola@live.ca >
Signed-off-by: motilayo <44736801+motilayo@users.noreply.github.com >
Signed-off-by: motilayo <joshuaagboola@live.ca >
2022-12-23 16:27:27 +08:00
qiaozp and GitHub
4ad8a13b5e
Feat: support data-passing in deploy step ( #5161 )
...
* Feat: support component data-passing in deploy step
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* health check with input
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* add union test for io and replication
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* format
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* format
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* use pkg/slices.parMap
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* reduce the GET request
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* reviewable
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix break test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2022-12-23 14:50:28 +08:00
Jianbo Sun and GitHub
b6f4328167
Feat: support outputs objects for policy ( #5183 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-12-13 14:52:16 +08:00
Somefive and GitHub
89237d2681
Fix: app contains app override the child app with parent app label ( #4985 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-11-02 22:38:59 +08:00
Jianbo Sun and GitHub
c0e1a1a323
Feat: support parameter in health check of definition ( #4872 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-10-18 17:16:23 +08:00
Somefive and GitHub
668a637f86
Feat: upgrade go1.19 ( #4790 )
2022-09-28 10:19:28 +08:00
Somefive and GitHub
cea9ef5c97
Chore: use functions from kubevela/pkg ( #4693 )
...
* Chore: use functions from kubevela/pkg
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Chore: rename multiclusterpkg to pkgmulticluster
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-09-09 15:10:18 +08:00
Tianxin Dong and GitHub
239c5474dd
Chore: refactor workflow from workflow engine ( #4631 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-09-02 12:55:03 +08:00
qiaozp and GitHub
924d55381e
Feat: component replication ( #4449 )
2022-08-17 14:04:57 +08:00
Tianxin Dong and GitHub
c3ca308489
Chore: update cue version to 0.4.3 ( #4425 )
...
* Chore: update cue version to 0.4.3
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* resolve some comments
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix lint
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* add more tests
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* rebase and add more tests
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* resolve comments
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-08-08 17:57:48 +08:00
Somefive and GitHub
aaf3f14fee
Fix: empty health policy do not check object existence ( #4496 )
...
* Fix: empty health policy do not check object existence
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: fix health check error
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: add test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-08-02 10:56:37 +08:00
Somefive and GitHub
0cb85d897a
Fix: health check use original ns if no override and original exists ( #4349 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-07-11 16:46:14 +08:00
Somefive and GitHub
51a60593cf
Fix: context.namespace use override namespace when rendering component and trait ( #4291 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-07-01 15:28:25 +08:00
Somefive and GitHub
92fa67cd69
Feat: support url in ref-objects ( #4240 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-06-24 19:34:51 +08:00
Somefive and GitHub
383a2bd695
Feat: minimize controller privileges & enforce authentication in multicluster e2e test ( #4031 )
...
* Feat: enable auth in multicluster test & restrict controller privileges while enabling authentication
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: fix statekeep permission leak & comprev cleanup leak
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: use user info in ref-object select
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: set legacy-rt-gc to disabled by default
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: pending healthscope with authentication test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-05-28 01:26:06 +08:00
Zheng Xi Zhou and GitHub
334446c264
Feat: support force delete Terraform typed application ( #3929 )
...
* Feat: support force delete Terraform typed application
If a Terraform typed application hangs on deletion, it could be forced to
delete by command line `vela delete xxx --force`
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* fix copyright
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* Upgrade terraform controller api version
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* add one more tests
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* fix two unit-tests
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-05-20 18:17:10 +08:00
Zheng Xi Zhou and GitHub
7bfcd6acc5
Fix: don't override user definied region ( #3503 )
...
* Fix: don't override user definied `region`
Fix #https://github.com/oam-dev/kubevela/issues/3384
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* fix check-diff
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* fix CI
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* fix CI
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* fix UT
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* revert some changes
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-05-09 15:10:31 +08:00
Somefive and GitHub
512664b9b3
Feat: support dependsOn in deploy workflowstep ( #3750 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-04-28 16:29:34 +08:00
Tianxin Dong and GitHub
21216055fb
Feat: add vela debug command ( #3580 )
...
* Feat: add debug configmap if debug policy is specified
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* Feat: add vela debug command
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* make code reviewable
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix sonartype lift
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix cue string
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* Feat: display better for debug
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* tidy the go mod
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* Feat: add debug test
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* change uitable vendor
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* add more tests
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* pass resource keeper from handler
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix lint
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix rebase
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* Pending test temporary
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-04-18 11:06:14 +08:00
Somefive and GitHub
c4a8fcf29c
Feat: rework referred objects for version ( #3446 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-03-28 16:09:12 +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
朱晓兵 and GitHub
9671e3b232
Fix(context): add support for context.appLables and context.appAnnotations ( #3463 ) ( #3468 )
...
* Fix(context): add support for context.appLables and context.appAnnotations (#3463 )
Signed-off-by: zxbyoyoyo <596908030@qq.com >
Signed-off-by: 朱晓兵 <596908030@qq.com >
* Fix: unit test
Signed-off-by: 朱晓兵 <596908030@qq.com >
* Fix: recover deleted field
Signed-off-by: 朱晓兵 <596908030@qq.com >
2022-03-21 12:02:30 +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
Tianxin Dong and GitHub
d6cf2cdd2f
Fix: add process context in workflow ( #3318 )
...
* Fix: add process context in workflow
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* add context data in process context
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* delete usesless func
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix ut
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* use multi cluster ctx in process ctx
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* remove debug log
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-02-28 10:30:55 +08:00
Jianbo Sun and GitHub
7395994bdd
Feat: add componentName in context for traitDefinition ( #3200 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-02-08 16:26:16 +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
5b1c47c918
cue template health check skipStandard workload and fix test diverge ( #3087 )
...
Signed-off-by: wangyike <wangyike_wyk@163.com >
add annotation
Signed-off-by: wangyike <wangyike_wyk@163.com >
set skipStandardworkload in wl
Signed-off-by: wangyike <wangyike_wyk@163.com >
add annotation
Signed-off-by: wangyike <wangyike_wyk@163.com >
2022-01-13 19:08:43 +08:00
Zheng Xi Zhou and GitHub
96485ea0db
Fix: when a provider is set in ComponentDefinition, it should look for the provider ( #3047 )
...
* Fix: when a provider is set in ComponentDefinition, it should look for the provider
Fixed the issue "The error message is not correct when AWS provider is not available"
Fix #3046
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-01-06 19:02:03 +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
Zheng Xi Zhou and GitHub
92335eca17
Fix: support exposing cloud resource identifier and console url ( #2825 )
...
* Fix: support exposing cloud resource identifier and console url
To help users quickly navigate to the instance in the web console, exposing
necessary information in ComponentDefinition and convert them to Configuration
* fix ci
* Check whether wl.FullTemplate.ComponentDefinition is nil before getting annotations
2021-11-28 17:21:12 +08:00
yangsoon and GitHub
3d2fcacb5a
Feat: built in gc policy to application ( #2575 )
2021-11-24 15:38:13 +08:00