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
Chaitanyareddy0702 and GitHub
7d72fa904c
Fix: vela cli namespace behaviour ( #6805 )
2025-06-17 10:25:59 +08:00
Somefive and GitHub
fb79ee433c
Chore: refactor vela cli entrance ( #5909 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-04-27 10:02:47 +08:00
zhaohuiweixiao and GitHub
1ebb64d4d4
Fix: addon ls comman does not show the componentless application ( #5201 )
...
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
2022-12-19 12:42:31 +08:00
nuclearwu and GitHub
a944f47313
Feat: support field selector filter for 'vela ls' ( #5016 )
...
* Feat: support field selector filter for 'vela ls'
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Feat: support field selector filter for 'vela ls'
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Feat: support field selector filter for 'vela ls'
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Feat: support field selector filter for 'vela ls'
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
2022-11-09 11:27:25 +08:00
nuclearwu and GitHub
ef897db10b
Feat: support label selector filter for 'vela ls' ( #4966 )
2022-11-06 11:43:10 +08:00
Jianbo Sun and GitHub
4bd4e9014f
Feat: support read from URL for --file command globally ( #4346 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-07-11 16:59:54 +08:00
StevenLeiZhang and GitHub
b54ddf4c1c
Fix: The order of status displayed by vela ls is not correct ( #3302 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com >
2022-02-23 14:50:04 +08:00
barnettZQG and GitHub
f6eea78ec8
Feat: support install and uninstall vela core ( #3181 )
...
* Feat: support install and uninstall vela core
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: support upgrade crd
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: support set reuse args
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: apply CRD before install or upgrade
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-02-09 11:48:38 +08:00
Jianbo Sun and GitHub
3af323365b
Chore: refine CLI help message and docs ( #3068 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-01-10 17:45:20 +08:00
barnettZQG and GitHub
d4762e09cd
Feat: support query endpoints in status command and speed up CLI response ( #3052 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-01-07 15:49:27 +08:00
Jianbo Sun and GitHub
8495465087
Refactor: refine cli commands && align kubectl-vela with vela && use getnamespaceAndEnv for all ( #3048 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-01-06 13:29:02 +08:00
qiaozp and GitHub
b38aa1cdf0
Fix: Align -n command argument ( #2719 )
...
* add namespace flag
fix
fix test
fix tests
* try test
* try test
* fix tests
2021-11-19 18:00:03 +08:00
qiaozp and GitHub
a574fc0fbf
Refactor(cli): Refactor vela env, deprecate vela config ( #2037 )
...
* Refactor(cli): cut env to namespace, use application to save
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* Fix: test
* Fix: typo
2021-10-08 13:10:47 +08:00
wyike and GitHub
74a82e0397
add header-check.sh ( #1310 )
...
add ci workflow
update scripts
add missed licence header for all files
2021-03-26 15:24:19 +08:00
yangsoon and GitHub
33dae5e36e
convert v1alpha2 to v1beta1 ( #1289 )
2021-03-25 10:55:54 +08:00
Jianbo Sun and GitHub
acf497b1c7
make CUE inner kube package as a standalone package && clean code ( #1263 )
2021-03-23 16:30:49 +08:00
天元
2d7cbf9467
faster vela traits/workloads
2021-03-12 14:02:45 +08:00
天元
9d5b31be2b
remove local files, diretly use Definition/Application in Cluster
2021-03-12 10:59:24 +08:00
天元
d84ebd3ae9
vela ls will list applications
2021-03-11 17:17:05 +08:00
Jianbo Sun and GitHub
dd222ac876
refactor cli/dashboard/apiserver to reference folder ( #1084 )
...
* refactor cli/dashboard/apiserver to reference folder
* address comments
2021-02-23 13:03:38 +08:00