朱晓兵
c4a0c1480d
Feat: enhance the apply-once capability ( #4874 )
...
* Feat: enhance the apply-once capability
Signed-off-by: 朱晓兵 <596908030@qq.com >
* Fix: add unit-test
Signed-off-by: 朱晓兵 <596908030@qq.com >
* Fix: adjustment variable name
Signed-off-by: 朱晓兵 <596908030@qq.com >
* Fix: add doc
Signed-off-by: 朱晓兵 <596908030@qq.com >
* Fix: adjustment variable name
Signed-off-by: 朱晓兵 <596908030@qq.com >
Signed-off-by: 朱晓兵 <596908030@qq.com >
2022-10-25 21:15:21 +08:00
Tianxin Dong
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
Somefive
5116ef3398
Feat: add controller parameters for apply-once ( #4663 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-08-29 15:35:18 +08:00
Somefive
53e5a3ff2d
Feat: support change resource gc policy from onAppUpdate to Never ( #4530 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-08-02 20:17:47 +08:00
Somefive
8f11b5b1a4
Fix: kube apply ignore userinfo for rt ( #4297 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-07-01 17:30:55 +08:00
Somefive
9c7d3f408d
Feat: support shared resource ( #4213 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-06-24 10:56:27 +08:00
Somefive
6ed041c590
Fix: clear namespace for cluster scoped resource for dispatching ( #4193 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-06-16 14:29:08 +08:00
Xiangbo Ma
fc078bbd93
Feat: extend apply-once to allow specified path configuration to drift ( #3899 )
...
Signed-off-by: fourierr <maxiangboo@qq.com >
2022-05-17 16:29:16 +08:00
Somefive
2d28fb35eb
Feat: multi-cluster authentication ( #3713 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-04-24 14:48:26 +08:00
Tianxin Dong
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
Sunghoon Kang
1300a980f0
Feat: reconcile app with scoped permissions ( #3434 )
...
* Refactor: refactor multi cluster round trippers
Before adding more RoundTrippers, it would be better to expose common
logic in the utility package.
This commit exports `tryCancelRequest` at `utils` package, and make
`secretMultiClusterRoundTripper` implement `RoundTripperWrapper`
interface to allow chaining multiple round trippers.
Refs #3432
Signed-off-by: Sunghoon Kang <hoon@linecorp.com >
* Feat: reconcile app with scoped permissions
Currently, all Application resources are reconciled by the Roles bound
to the controller service account. This behavior gives us the power to
manage resources across multiple namespaces. However, this behavior can
be problematic in the soft-multitenancy environment.
This commit adds `serviceAccountName` to ApplicationSepc to reconcile
Application with the given service account for reconciling Application
with scoped permissions.
Refs #3432
Signed-off-by: Sunghoon Kang <hoon@linecorp.com >
* Refactor: extract context setter as method
https://github.com/oam-dev/kubevela/pull/3434#discussion_r825561603
Signed-off-by: Sunghoon Kang <hoon@linecorp.com >
* Feat: use annotation instead of spec
https://github.com/oam-dev/kubevela/issues/3432#issuecomment-1066460269
Signed-off-by: Sunghoon Kang <hoon@linecorp.com >
* Refactor: unify service account setter caller
https://github.com/oam-dev/kubevela/pull/3434#discussion_r825853612
Signed-off-by: Sunghoon Kang <hoon@linecorp.com >
* Refactor: rename GetServiceAccountName
https://github.com/oam-dev/kubevela/pull/3434#discussion_r826514565
Signed-off-by: Sunghoon Kang <hoon@linecorp.com >
2022-03-15 11:55:50 +08:00
Somefive
d5e8b68ad2
Fix: rework parallel execution for ApplyComponents and ResourceKeeper Dispatch ( #3407 )
...
* Fix: applyComponents lock and rework parallel execution
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: rename
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-03-10 16:43:22 +08:00
Somefive
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
yangs
91125c6fec
Feat: dispatch manifests in concurrent ( #3060 )
...
* Feat: dispatch manifests in concurrent
Signed-off-by: yangsoon <songyang.song@alibaba-inc.com >
* Fix: merge workflow pkg convert to pkg util
Signed-off-by: yangsoon <songyang.song@alibaba-inc.com >
Co-authored-by: yangsoon <songyang.song@alibaba-inc.com >
2022-02-08 16:25:57 +08:00
Somefive
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