-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consolidate code of core component into one repo #128
Comments
Can we rename |
https://github.com/xuezhaojun/ocm-demo: An example merged repo, keeping the same commit history. Using commands in this post: https://stackoverflow.com/a/52933095/6371360 |
I'm on board with consolidating the repos, but I'm not sure having |
But it seems including CLI in the main repo is a common pattern, is there a particular advantage we can gain from not including it? |
I wasn't aware including the CLI in the main repo was a common pattern ( |
I checked a few repos like argo-cd, istio and one similar usage repo karmada. It may not be a common pattern, but if we separate it, we have to maintain 2 e2e tests. If we keep it in |
Note that you can reuse GitHub workflows from another repo so you could run the same tests in both repos without duplicating them. |
…nt-io#128) * Merge finalizer for unstructured Signed-off-by: zhujian <[email protected]> * Keep the finalizers unchanged Signed-off-by: zhujian <[email protected]> * Add test for keeping the finalizers unchanged Signed-off-by: zhujian <[email protected]>
* add changelog for v0.7 (#122) Signed-off-by: Yang Le <[email protected]> * add changelog for v0.7.0 (#224) Signed-off-by: Zhiwei Yin <[email protected]> * add v0.7 changelog (#220) Signed-off-by: Wei Liu <[email protected]> * bump csv to 0.8.0 (#226) Signed-off-by: Zhiwei Yin <[email protected]> * Merge label and annotation for unstructured (#126) Signed-off-by: Jian Qiu <[email protected]> * upgrade go libraries (#127) Signed-off-by: Yang Le <[email protected]> * support Klusterlet.Spec.Namespace in hosted mode (#227) Signed-off-by: Yang Le <[email protected]> * Add lease permission for leader election (#229) Signed-off-by: Jian Qiu <[email protected]> * upgrade lib (#228) Signed-off-by: Zhiwei Yin <[email protected]> * add permission for leases.coordination.k8s.io (#231) Signed-off-by: haoqing0110 <[email protected]> * set replica to 1 if kube version < v1.14 (#232) Signed-off-by: Yang Le <[email protected]> * upgrade go modules (#69) Signed-off-by: haoqing0110 <[email protected]> * Keep the finalizers unchanged for unstructured (#128) * Merge finalizer for unstructured Signed-off-by: zhujian <[email protected]> * Keep the finalizers unchanged Signed-off-by: zhujian <[email protected]> * Add test for keeping the finalizers unchanged Signed-off-by: zhujian <[email protected]> * set clusterset to default when value is null string (#222) Signed-off-by: ldpliu <[email protected]> * allow ManagedCluster creation with taint.timeAdded specified (#224) Signed-off-by: Yang Le <[email protected]> * Reduce queue size and add filter for csr informer (#223) 1. always return single key to queue so it will not blow up the queue 2. add filter for csr informer Signed-off-by: Jian Qiu <[email protected]> * reduce the get request for managed cluster when checking managed cluster lease status (#226) Signed-off-by: Wei Liu <[email protected]> * Support multi arch image (#227) Signed-off-by: Jian Qiu <[email protected]> * Fix make images targe in post submit (#228) Signed-off-by: Jian Qiu <[email protected]> * fix workdir issue for image action (#230) Signed-off-by: Jian Qiu <[email protected]> * publish release artifact after image are built (#231) Signed-off-by: yue9944882 <[email protected]> * enable multi-arch build (#130) Signed-off-by: Jian Qiu <[email protected]> * update libs (#229) Signed-off-by: Wei Liu <[email protected]> * add lease permissions for library-go update (#233) Signed-off-by: Wei Liu <[email protected]> * fix webhook error (#232) Signed-off-by: ldpliu <[email protected]> * add missing permission on kube v1.11.0 (#234) Signed-off-by: Yang Le <[email protected]> * share release job env (#131) Signed-off-by: yue9944882 <[email protected]> * share release job env (#233) Signed-off-by: yue9944882 <[email protected]> * fix clusterset sync issue (#234) Signed-off-by: Yang Le <[email protected]> * fix kind create cluster --name (#237) Signed-off-by: panguicai008 <[email protected]> * add join permission on default clusterset (#236) Signed-off-by: Yang Le <[email protected]> * add join permission on defatult clusterset (#238) Signed-off-by: Yang Le <[email protected]> * Update golang builder in Dockerfile (#240) Signed-off-by: Jian Qiu <[email protected]> * Update golang builder in Dockerfile (#237) Signed-off-by: Yang Le <[email protected]> * Update golang builder in Dockerfile (#70) Signed-off-by: Yang Le <[email protected]> * Update golang builder in Dockerfile (#133) Signed-off-by: Jian Qiu <[email protected]> * chore: prune unused dockerfile cmd (#238) Signed-off-by: yue9944882 <[email protected]> * passing IMAGE_TAG to make images (#239) Signed-off-by: yue9944882 <[email protected]> * Multi-arch support (#240) * multi-arch support Signed-off-by: yue9944882 <[email protected]> * refactor github workflow to support multi-arch build Signed-off-by: yue9944882 <[email protected]> * add all clusterset permission (#241) Signed-off-by: ldpliu <[email protected]> * add all clusterset join permission (#241) Signed-off-by: ldpliu <[email protected]> * Remove unreachable redundant err check. (#134) Signed-off-by: Mike Ng <[email protected]> * use new clusterset api (#242) Signed-off-by: ldpliu <[email protected]> * Add lint check in make verify (#135) Signed-off-by: Jian Qiu <[email protected]> * Add lint check in make verify (#243) Signed-off-by: Jian Qiu <[email protected]> * Add goci lint. (#243) * Add goci lint. Signed-off-by: xuezhaojun <[email protected]> * handle errs and remove unused. Signed-off-by: xuezhaojun <[email protected]> * fix fail and remove unused code. Signed-off-by: xuezhaojun <[email protected]> * Chore: Removed unused dockerfile cmd (#71) * chore: removed unused dockerfile cmd Signed-off-by: yue9944882 <[email protected]> * passing IMAGE_TAG to make command Signed-off-by: yue9944882 <[email protected]> * Patch status and finalizers (#244) Signed-off-by: Jian Qiu <[email protected]> * Update file name to reflect the change in Makefile (#245) Signed-off-by: Lei Pan <[email protected]> * Upgrade go to 1.18 (#137) Signed-off-by: Jian Qiu <[email protected]> * Upgrade golang to 1.18 (#74) Signed-off-by: Jian Qiu <[email protected]> * Upgrade golang to 1.18 (#246) Also upgrade api library Signed-off-by: Jian Qiu <[email protected]> * Upgrade go to 1.18 (#247) Signed-off-by: Jian Qiu <[email protected]> * Add client cert condition when cert is rotated (#246) * Add client cert condition when cert is rotated Signed-off-by: Jian Qiu <[email protected]> * Fix func name Signed-off-by: Jian Qiu <[email protected]> * Upgrade library and api (#247) Signed-off-by: Jian Qiu <[email protected]> * support labelselector set (#73) Signed-off-by: ldpliu <[email protected]> * Update binding status (#248) Signed-off-by: Jian Qiu <[email protected]> * Refector apply manifest code (#138) This is for the preparation of futher enhancement in work Signed-off-by: Jian Qiu <[email protected]> * remove add default set label controller (#250) Signed-off-by: ldpliu <[email protected]> * remove set join permission for registration-controller (#248) Signed-off-by: ldpliu <[email protected]> * adapt label selector in clusterset (#242) Signed-off-by: ldpliu <[email protected]> * add global clusterset (#251) Signed-off-by: ldpliu <[email protected]> * use registration feature gates constants & variabels which in api repo (#253) Signed-off-by: ivan-cai <[email protected]> Co-authored-by: ivan-cai <[email protected]> * enable log flags (#249) Signed-off-by: Wei Liu <[email protected]> * enable log flags (#254) Signed-off-by: Wei Liu <[email protected]> * enable log flags (#140) Signed-off-by: Wei Liu <[email protected]> * update qps and burst (#249) Signed-off-by: ldpliu <[email protected]> * update default qps for webhook (#141) Signed-off-by: ldpliu <[email protected]> * support hubRegistrationFeatureGates and spokeRegistrationFeatureGates (#230) * support RegistrationFeatureGates in ClusterManager and Klusterlet Signed-off-by: ivan-cai <[email protected]> * update to use DefaultHubRegistrationFeatureGates&DefaultSpokeRegistrationFeatureGates in api repo to check registration variable if valid Signed-off-by: ivan-cai <[email protected]> * enable addonmanagement and defaultClusterset feature if RegistrationConfiguration is nil Signed-off-by: ivan-cai <[email protected]> * fix some errors in unit test Signed-off-by: ivan-cai <[email protected]> * add RegistrationFeatureGates to registration webhook Signed-off-by: ivan-cai <[email protected]> Co-authored-by: caijing.cai <[email protected]> * split registration permissions (#250) * split registration permissions Signed-off-by: haoqing0110 <[email protected]> * more comments Signed-off-by: haoqing0110 <[email protected]> * split registration permissions (#255) * split registration permissions Signed-off-by: haoqing0110 <[email protected]> * add more comments Signed-off-by: haoqing0110 <[email protected]> * split work permissions (#142) * split work permissions Signed-off-by: haoqing0110 <[email protected]> * add more comments Signed-off-by: haoqing0110 <[email protected]> * split work permissions (#252) * split work permissions Signed-off-by: haoqing0110 <[email protected]> * add more comments Signed-off-by: haoqing0110 <[email protected]> * keep appliedmanifestwork & clusterclaim CRDs when unstalling klusterlet (#255) Signed-off-by: Yang Le <[email protected]> * Support generate hub kubeconfigon on the management cluster for addons (#252) * Support generate hub kubeconfig on the management cluster for addons Signed-off-by: zhujian <[email protected]> * Add more comments Signed-off-by: zhujian <[email protected]> * Add unit test Signed-off-by: zhujian <[email protected]> * lint readme (#76) Signed-off-by: xuezhaojun <[email protected]> * clean resource before apply new (#257) * clean resource before apply new Signed-off-by: haoqing0110 <[email protected]> * update Signed-off-by: haoqing0110 <[email protected]> * leader election needs to operate configmaps and leases (#260) Signed-off-by: haoqing0110 <[email protected]> * add permisson for registration agent for running addon in hosted mode (#256) Signed-off-by: zhujian <[email protected]> * leader election needs to operate configmaps and leases (#261) Signed-off-by: haoqing0110 <[email protected]> * Use token request to sync sa (#259) * Use token request to sync sa Signed-off-by: Jian Qiu <[email protected]> * Upgrade kind Signed-off-by: Jian Qiu <[email protected]> * support update strategy in manifestwork (#139) * Add ssa strategy Signed-off-by: Jian Qiu <[email protected]> * Add test cases Signed-off-by: Jian Qiu <[email protected]> * Resolve comments Signed-off-by: Jian Qiu <[email protected]> * Use default manager in api repo Signed-off-by: Jian Qiu <[email protected]> * Refatcor deleteOption patch ownerref separately for deleteOption Signed-off-by: Jian Qiu <[email protected]> * Do not reconcile when ssa conflict Signed-off-by: Jian Qiu <[email protected]> * Add V1beta1CSRAPICompatibility feature gate for registration-controller (#259) * Add V1beta1CSRAPICompatibility feature gate for registration-controller Signed-off-by: Promacanthus <[email protected]> * Add csrInfo and update isSpokeClusterClientCertRenewal Signed-off-by: Promacanthus <[email protected]> * Rerun go mod vendor Signed-off-by: Promacanthus <[email protected]> * Register V1beta1CSRAPICompatibility and refacotr authorize function Signed-off-by: Promacanthus <[email protected]> * Update api dependency Signed-off-by: Promacanthus <[email protected]> * support add-on lease on management cluster (#260) Signed-off-by: Yang Le <[email protected]> * Add controller to sync image pull secret into addon namespaces. (#253) * add addon-controller Signed-off-by: xuezhaojun <[email protected]> * fix and add testcases Signed-off-by: xuezhaojun <[email protected]> * add test cases Signed-off-by: xuezhaojun <[email protected]> * add permission and change constant name Signed-off-by: xuezhaojun <[email protected]> * change permission Signed-off-by: xuezhaojun <[email protected]> * fix Signed-off-by: xuezhaojun <[email protected]> * add permission into addon-management clusterrole Signed-off-by: xuezhaojun <[email protected]> * split permission part into another PR Signed-off-by: xuezhaojun <[email protected]> * split permission part into another PR Signed-off-by: xuezhaojun <[email protected]> * split permission part into another PR Signed-off-by: xuezhaojun <[email protected]> * change annotation to labels Signed-off-by: xuezhaojun <[email protected]> * rename the pkg name Signed-off-by: xuezhaojun <[email protected]> * rename the pkg name Signed-off-by: xuezhaojun <[email protected]> * Add comments to explain why we keep sync secret in klusterlet-controller Signed-off-by: xuezhaojun <[email protected]> * add changelog for v0.8 (#77) Signed-off-by: haoqing0110 <[email protected]> * Add HubApiServerHostAlias for registration-agent and work-agent (#258) Signed-off-by: Bowen Zhu <[email protected]> Add HubApiServerHostAlias for registration-agent and work-agent * add changelog v0.8 (#261) Signed-off-by: Zhiwei Yin <[email protected]> * add changelog for v0.8.0 (#143) Signed-off-by: Yang Le <[email protected]> * add v0.8 changelog (#263) Signed-off-by: Wei Liu <[email protected]> * fix release yaml (#264) Signed-off-by: Jian Qiu <[email protected]> * Fix release yaml (#263) Signed-off-by: Jian Qiu <[email protected]> * Fix release yaml (#144) Signed-off-by: Jian Qiu <[email protected]> * Allow OCM addons to setup metrics collection with Prometheus (#262) Related: stolostron/backlog#23547 Signed-off-by: mprahl <[email protected]> * update libs (#266) Signed-off-by: Wei Liu <[email protected]> * upgrade go lib to the latest version and bump csv to 0.9.0 (#265) Signed-off-by: Zhiwei Yin <[email protected]> * upgrade the go libraries to latest version (#78) Signed-off-by: haoqing0110 <[email protected]> * upgrade go libraries (#145) Signed-off-by: Yang Le <[email protected]> * recreate the hub kubeconfig when addon deploy option changes (#265) * recreate the hub kubeconfig when addon deploy option changes Signed-off-by: zhujian <[email protected]> * put addon agent install option into hash Signed-off-by: zhujian <[email protected]> * put addonInstallOption inline in registrationConfig Signed-off-by: zhujian <[email protected]> * check e2e mutatingWebhookDeployment replicas (#267) Signed-off-by: haoqing0110 <[email protected]> * Refactor to split two controllers to handle klusterlet deployment and cleanup (#269) Signed-off-by: zhujian <[email protected]> Signed-off-by: zhujian <[email protected]> * Apply only when having finalizer (#270) Signed-off-by: Jian Qiu <[email protected]> Signed-off-by: Jian Qiu <[email protected]> * move apply method to seperate package (#149) * move apply method to seperate package Signed-off-by: Jian Qiu <[email protected]> * make sure the update apply func returns existing object Signed-off-by: zhujian <[email protected]> Signed-off-by: Jian Qiu <[email protected]> Signed-off-by: zhujian <[email protected]> Co-authored-by: Jian Qiu <[email protected]> * Use the correct managed cluster name in the apply-spoke-cr-hosted target (#266) Signed-off-by: mprahl <[email protected]> Signed-off-by: mprahl <[email protected]> * reduce log print (#269) Signed-off-by: Zhiwei Yin <[email protected]> Signed-off-by: Zhiwei Yin <[email protected]> * fix Missing filter (#151) Signed-off-by: tytao <[email protected]> Signed-off-by: tytao <[email protected]> * update serverURL and CABundle if ManagedCluster is created before reg… (#270) * update serverURL and CABundle if ManagedCluster is created before registration-agent running Signed-off-by: ivan-cai <[email protected]> * merge spokeExternalServerURLs to ManagedClusterClientConfigs, and ingnore Unauthorized error Signed-off-by: ivan-cai <[email protected]> * add comment for skipping unauthorized error, and skip unauthorized error when creating ManagedCluster Signed-off-by: ivan-cai <[email protected]> * use skipUnauthorizedError at creating controller Signed-off-by: ivan-cai <[email protected]> Signed-off-by: ivan-cai <[email protected]> * Fix nil pointer panic (#157) Signed-off-by: zhujian <[email protected]> Signed-off-by: zhujian <[email protected]> * update add-on configuration apis (#272) Signed-off-by: Wei Liu <[email protected]> Signed-off-by: Wei Liu <[email protected]> * Disable placement scheduling (#80) * Disable placement scheduling Signed-off-by: clyang82 <[email protected]> * Update to use annontation defined in api Signed-off-by: clyang82 <[email protected]> * sync to vendor folder Signed-off-by: clyang82 <[email protected]> * run go mod tidy Signed-off-by: clyang82 <[email protected]> * sync-up deploy/hub Signed-off-by: clyang82 <[email protected]> Signed-off-by: clyang82 <[email protected]> * add skip-remove-crds option for cluster-manager, to choose if skip removing CRDs when ClusterManager is deleting (#274) Signed-off-by: ivan-cai <[email protected]> Signed-off-by: ivan-cai <[email protected]> * Allow work agent to create subjectaccessreviews (#273) Signed-off-by: zhujian <[email protected]> Signed-off-by: zhujian <[email protected]> * check the executor subject permission for action apply (#152) * check work execution permission Signed-off-by: zhujian <[email protected]> * Move requeue time in auth package Signed-off-by: zhujian <[email protected]> * fix flaky test Signed-off-by: zhujian <[email protected]> Signed-off-by: zhujian <[email protected]> * decouple bootstrap informers to distinguish the lifecycle (#271) Signed-off-by: yue9944882 <[email protected]> Signed-off-by: yue9944882 <[email protected]> * Allow work agent to impersonate serviceaccount (#275) Signed-off-by: zhujian <[email protected]> Signed-off-by: zhujian <[email protected]> * add PlacementConditionMisconfigured (#72) * add PlacementConditionMisconfigured Signed-off-by: haoqing0110 <[email protected]> * add testing cases Signed-off-by: haoqing0110 <[email protected]> Signed-off-by: haoqing0110 <[email protected]> * Make work webhook feature gate configurable (#276) Signed-off-by: zhujian <[email protected]> Signed-off-by: zhujian <[email protected]> * trigger sync when cluster belongs to LabelSelector type clusterset (#81) Signed-off-by: haoqing0110 <[email protected]> Signed-off-by: haoqing0110 <[email protected]> * Fix: delete addon crd at first (#277) This is to ensure manifestwork of addon is deleted at first. Signed-off-by: Jian Qiu <[email protected]> Signed-off-by: Jian Qiu <[email protected]> * validate manifest work executor permission on hub cluster (#158) * validate manifest work executor permission on hub cluster Signed-off-by: zhujian <[email protected]> * do not validate the executor when it is not changed Signed-off-by: zhujian <[email protected]> Signed-off-by: zhujian <[email protected]> * check escalation for executor subject (#159) Signed-off-by: zhujian <[email protected]> Signed-off-by: zhujian <[email protected]> * check the executor subject permission for delete (#160) Signed-off-by: zhujian <[email protected]> Signed-off-by: zhujian <[email protected]> * remove API Placement PlacementDecision ClusterSet ClusterSetBinding API version v1alpha1 (#278) * remove API Placement PlacementDecision ClusterSet ClusterSetBinding API version v1alpha1 Signed-off-by: haoqing0110 <[email protected]> * check migration status before update CRD stored version Signed-off-by: haoqing0110 <[email protected]> Signed-off-by: haoqing0110 <[email protected]> * add conversion webhook to convert clusterset api (#272) Signed-off-by: ldpliu <[email protected]> Signed-off-by: ldpliu <[email protected]> * add conversion webhook (#279) Signed-off-by: ldpliu <[email protected]> Signed-off-by: ldpliu <[email protected]> * update clusterrole in olm-catalog (#281) Signed-off-by: haoqing0110 <[email protected]> Signed-off-by: haoqing0110 <[email protected]> * remove clusterrole/role cleanBeforeApply code added in ocm 0.8.0 (#283) Signed-off-by: haoqing0110 <[email protected]> Signed-off-by: haoqing0110 <[email protected]> * Remove install mode detached (#282) Signed-off-by: zhujian <[email protected]> Signed-off-by: zhujian <[email protected]> * Fix token path in hosted mode (#284) Signed-off-by: Jian Qiu <[email protected]> Signed-off-by: Jian Qiu <[email protected]> * stop to discovery addon when its managed cluster is not found (#274) Signed-off-by: Wei Liu <[email protected]> Signed-off-by: Wei Liu <[email protected]> * fix conversion webhook in hosted mode (#280) Signed-off-by: ldpliu <[email protected]> Signed-off-by: ldpliu <[email protected]> * remove the support for checking add-on hub lease (#275) Signed-off-by: Wei Liu <[email protected]> Signed-off-by: Wei Liu <[email protected]> * add v0.9 changelog (#276) Signed-off-by: Wei Liu <[email protected]> Signed-off-by: Wei Liu <[email protected]> * add changelog 0.9 (#285) Signed-off-by: Zhiwei Yin <[email protected]> Signed-off-by: Zhiwei Yin <[email protected]> * add changelog for v0.9.0 (#162) Signed-off-by: Yang Le <[email protected]> Signed-off-by: Yang Le <[email protected]> * add changelog for v0.9 (#83) Signed-off-by: haoqing0110 <[email protected]> Signed-off-by: haoqing0110 <[email protected]> * update golang to 1.19 (#279) Signed-off-by: Wei Liu <[email protected]> Signed-off-by: Wei Liu <[email protected]> * correct managed cluster lease name (#287) Signed-off-by: Wei Liu <[email protected]> Signed-off-by: Wei Liu <[email protected]> * upgrade go to 1.19 (#286) Signed-off-by: ldpliu <[email protected]> Signed-off-by: ldpliu <[email protected]> * upgrade to golang1.19 (#163) Signed-off-by: Yang Le <[email protected]> Signed-off-by: Yang Le <[email protected]> * Upgrade golang to 1.19 (#84) Signed-off-by: haoqing0110 <[email protected]> Signed-off-by: haoqing0110 <[email protected]> * bump to 0.10.0 (#291) Signed-off-by: Zhiwei Yin <[email protected]> Signed-off-by: Zhiwei Yin <[email protected]> * Avoid frequent CSR creation (#277) * Avoid frequent CSR creation Signed-off-by: Jian Qiu <[email protected]> * Add todo for threshold value Signed-off-by: Jian Qiu <[email protected]> Signed-off-by: Jian Qiu <[email protected]> * Fix the paradox description of the klusterlet condition (#290) Signed-off-by: zhujian <[email protected]> Signed-off-by: zhujian <[email protected]> * update changelog 0.9.1 (#295) Signed-off-by: zhujian <[email protected]> Signed-off-by: zhujian <[email protected]> * rewrite webhook using controller runtime (#278) Signed-off-by: ldpliu <[email protected]> Signed-off-by: ldpliu <[email protected]> * Add owner (#86) Signed-off-by: haoqing0110 <[email protected]> Signed-off-by: haoqing0110 <[email protected]> * Delete unmanaged AppliedManifestWork (#161) * Delete unmanaged AppliedManifestWork Signed-off-by: Jian Qiu <[email protected]> * Add integration test Signed-off-by: Jian Qiu <[email protected]> Signed-off-by: Jian Qiu <[email protected]> * ensure a cluster lease is updated after the cluster is restored (#280) Signed-off-by: Wei Liu <[email protected]> Signed-off-by: Wei Liu <[email protected]> * Add SetExternalKubeClientSet to allow injecting to APIServer's admission (#281) Signed-off-by: Jian Qiu <[email protected]> Signed-off-by: Jian Qiu <[email protected]> * use controller runtime to implement webhook (#164) Signed-off-by: ldpliu <[email protected]> Signed-off-by: ldpliu <[email protected]> * upgrade appliedmanifestwork API (#298) Signed-off-by: Jian Qiu <[email protected]> Signed-off-by: Jian Qiu <[email protected]> * update clustermanangementaddon api (#300) Signed-off-by: Wei Liu <[email protected]> Signed-off-by: Wei Liu <[email protected]> * fix validating webhook (#282) Signed-off-by: ldpliu <[email protected]> Signed-off-by: ldpliu <[email protected]> * Upgrade ginkgo to v2. (#283) Signed-off-by: xuezhaojun <[email protected]> Signed-off-by: xuezhaojun <[email protected]> * Upgrade ginkgo to v2. (#301) Signed-off-by: xuezhaojun <[email protected]> Signed-off-by: xuezhaojun <[email protected]> * set min tls version (#284) Signed-off-by: ldpliu <[email protected]> Signed-off-by: ldpliu <[email protected]> * set min tls version (#166) Signed-off-by: ldpliu <[email protected]> Signed-off-by: ldpliu <[email protected]> * use controller-runtime webhook (#293) Signed-off-by: ldpliu <[email protected]> Signed-off-by: ldpliu <[email protected]> * upgrade clusterset api to v1beta2 (#82) Signed-off-by: ldpliu <[email protected]> Signed-off-by: ldpliu <[email protected]> * upgrade clusterset api to v1beta2 (#273) Signed-off-by: ldpliu <[email protected]> Signed-off-by: ldpliu <[email protected]> * Update ginkgo to v2 (#88) Signed-off-by: zhujian <[email protected]> Signed-off-by: zhujian <[email protected]> * Update ginkgo to v2 (#168) Signed-off-by: zhujian <[email protected]> Signed-off-by: zhujian <[email protected]> * exclude add-on csrs (#286) Signed-off-by: Wei Liu <[email protected]> Signed-off-by: Wei Liu <[email protected]> * cache the executor validation results (#165) * cache the executor validation results Signed-off-by: zhujian <[email protected]> * move executor cache controller to auth package Signed-off-by: zhujian <[email protected]> * add a binding resource executor mapper to process delete event Signed-off-by: zhujian <[email protected]> * initialize caches before starting the cache controller Signed-off-by: zhujian <[email protected]> * read enable executor caches from flag Signed-off-by: zhujian <[email protected]> * add unit tests for cache store Signed-off-by: zhujian <[email protected]> * add unit tests for cache validator Signed-off-by: zhujian <[email protected]> * add unit tests for cache controller Signed-off-by: zhujian <[email protected]> * read enable executor caches from feature gate Signed-off-by: zhujian <[email protected]> * add integration tests for cache controller Signed-off-by: zhujian <[email protected]> * add a description doc for the cache package Signed-off-by: zhujian <[email protected]> Signed-off-by: zhujian <[email protected]> * Refactor clustermanager controller (#305) * Refactor clustermanager controller Signed-off-by: Jian Qiu <[email protected]> * Refactor cond update Signed-off-by: Jian Qiu <[email protected]> Signed-off-by: Jian Qiu <[email protected]> * Refactor klusterlet (#306) Signed-off-by: Jian Qiu <[email protected]> Signed-off-by: Jian Qiu <[email protected]> * Refactor integration test (#90) Signed-off-by: Jian Qiu <[email protected]> Signed-off-by: Jian Qiu <[email protected]> * Make work agent feature gate configurable (#303) * Make work agent feature gate configurable Signed-off-by: zhujian <[email protected]> * Merge registration and work feature gate conditions Signed-off-by: zhujian <[email protected]> Signed-off-by: zhujian <[email protected]> * watch placementscore during scheduling (#89) * watch placementscore during scheduling refactor eventhandler using index Signed-off-by: Jian Qiu <[email protected]> * Filter placement when enqueue score Signed-off-by: Jian Qiu <[email protected]> Signed-off-by: Jian Qiu <[email protected]> * Add integration tests (#91) Signed-off-by: zhujian <[email protected]> Signed-off-by: zhujian <[email protected]> * Delete resource even if it has non-appliedmanifestwork owners (#170) * Delete resource even if it has non-appliedmanifestwork owners Signed-off-by: zhujian <[email protected]> * Make tests easier to debug Signed-off-by: zhujian <[email protected]> Signed-off-by: zhujian <[email protected]> * Reduce default sync interval to 10s (#167) Signed-off-by: Jian Qiu <[email protected]> Signed-off-by: Jian Qiu <[email protected]> * Add integration tests (#93) Signed-off-by: haoqing0110 <[email protected]> Signed-off-by: haoqing0110 <[email protected]> * upgrade github action (#94) Signed-off-by: ycyaoxdu <[email protected]> Signed-off-by: ycyaoxdu <[email protected]> * Add test case for hubConfigSecretMissing case. (#307) Signed-off-by: xuezhaojun <[email protected]> Signed-off-by: xuezhaojun <[email protected]> * upgrade github action (#308) Signed-off-by: ycyaoxdu <[email protected]> Signed-off-by: ycyaoxdu <[email protected]> * upgrade github action (#289) Signed-off-by: ycyaoxdu <[email protected]> Signed-off-by: ycyaoxdu <[email protected]> * using requeue cluster instead of resync lease controller (#288) Signed-off-by: Wei Liu <[email protected]> Signed-off-by: Wei Liu <[email protected]> * roll back code to support lower version k8s (#291) Signed-off-by: Wei Liu <[email protected]> Signed-off-by: Wei Liu <[email protected]> * use crd manager to update and clean crds (#297) * use crd manager to update clean crds Signed-off-by: Jian Qiu <[email protected]> * Update tests Signed-off-by: Jian Qiu <[email protected]> * Rebase crd manager Signed-off-by: Jian Qiu <[email protected]> * build client builder to make code clearer Signed-off-by: Jian Qiu <[email protected]> * Add ut for crdmanager Signed-off-by: Jian Qiu <[email protected]> * Compare crd spec when update Signed-off-by: Jian Qiu <[email protected]> Signed-off-by: Jian Qiu <[email protected]> * Add OAuthClient permissions to klusterlet-work-clusterrole-execution (#310) Signed-off-by: Jon Jackson <[email protected]> Signed-off-by: Jon Jackson <[email protected]> * create empty decision when no cluster selected (#95) * create empty decision when no cluster selected Signed-off-by: haoqing0110 <[email protected]> * create placementdecision when misconfigured Signed-off-by: haoqing0110 <[email protected]> Signed-off-by: haoqing0110 <[email protected]> * delete old applied work after its new work is applied (#172) Signed-off-by: Wei Liu <[email protected]> Signed-off-by: Wei Liu <[email protected]> * clear the comments for deleting unmanaged appliedmanifestworks (#174) Signed-off-by: Wei Liu <[email protected]> Signed-off-by: Wei Liu <[email protected]> * Add inital skeleton for placeManifestWork controller (#171) * Add inital skeleton for placeManifestWork controller Signed-off-by: melserngawy <[email protected]> * Update vendor Signed-off-by: melserngawy <[email protected]> * fix pkgs Signed-off-by: melserngawy <[email protected]> Signed-off-by: melserngawy <[email protected]> * Add informer setup for placemanifestwork (#175) - add index and informer to watch resources - build binary for hub manager Signed-off-by: Jian Qiu <[email protected]> Signed-off-by: Jian Qiu <[email protected]> * Split logic of controller to multiple reconcilers (#176) This could make code clearer also update the crd fix Signed-off-by: Jian Qiu <[email protected]> Signed-off-by: Jian Qiu <[email protected]> * Allow customizing the klusterlet name when deploying in hosted mode (#311) This will allow users of this Makefile to deploy multiple managed clusters in hosted mode. Signed-off-by: mprahl <[email protected]> Signed-off-by: mprahl <[email protected]> * cleanup return if appliedmainfestWork is notfound (#312) Signed-off-by: Zhiwei Yin <[email protected]> Signed-off-by: Zhiwei Yin <[email protected]> * use labels in api repo (#290) Signed-off-by: Jian Qiu <[email protected]> * add v0.10 changelog (#292) Signed-off-by: Wei Liu <[email protected]> * add changelog v0.10 (#313) Signed-off-by: Zhiwei Yin <[email protected]> * add changelog for v0.10.0 (#179) Signed-off-by: Yang Le <[email protected]> * add changelog for v0.10.0 (#97) Signed-off-by: haoqing0110 <[email protected]> * upgrade image builder (#314) Signed-off-by: Zhiwei Yin <[email protected]> * update imagebuilder (#293) Signed-off-by: Wei Liu <[email protected]> * upgrade imagebuilder (#181) Signed-off-by: Yang Le <[email protected]> * Add create,update and delete placeManifestWork (#177) Signed-off-by: melserngawy <[email protected]> * Bump github.com/emicklei/go-restful (#296) Bumps [github.com/emicklei/go-restful](https://github.com/emicklei/go-restful) from 2.9.5+incompatible to 2.16.0+incompatible. - [Release notes](https://github.com/emicklei/go-restful/releases) - [Changelog](https://github.com/emicklei/go-restful/blob/v3/CHANGES.md) - [Commits](emicklei/go-restful@v2.9.5...v2.16.0) --- updated-dependencies: - dependency-name: github.com/emicklei/go-restful dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/emicklei/go-restful (#183) Bumps [github.com/emicklei/go-restful](https://github.com/emicklei/go-restful) from 2.9.5+incompatible to 2.16.0+incompatible. - [Release notes](https://github.com/emicklei/go-restful/releases) - [Changelog](https://github.com/emicklei/go-restful/blob/v3/CHANGES.md) - [Commits](emicklei/go-restful@v2.9.5...v2.16.0) --- updated-dependencies: - dependency-name: github.com/emicklei/go-restful dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump github.com/emicklei/go-restful (#317) Bumps [github.com/emicklei/go-restful](https://github.com/emicklei/go-restful) from 2.9.5+incompatible to 2.16.0+incompatible. - [Release notes](https://github.com/emicklei/go-restful/releases) - [Changelog](https://github.com/emicklei/go-restful/blob/v3/CHANGES.md) - [Commits](emicklei/go-restful@v2.9.5...v2.16.0) --- updated-dependencies: - dependency-name: github.com/emicklei/go-restful dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * regenerate and load hosted secrets when ca changes (#316) Signed-off-by: zhujian <[email protected]> * clusterset v1beta1 migration (#315) Signed-off-by: ldpliu <[email protected]> * use latest api to migrate clusterset (#297) Signed-off-by: ldpliu <[email protected]> * update imagebuilder (#98) Signed-off-by: haoqing0110 <[email protected]> * Remove anonymous check from managedClusterCreatingController sync (#299) Signed-off-by: aii-nozomu-oki <[email protected]> * Add validate webhook (#182) Signed-off-by: melserngawy <[email protected]> * bump v0.11.0 (#320) Signed-off-by: Zhiwei Yin <[email protected]> * Add initial e2e/integration for placeManifestWork (#180) Signed-off-by: Jian Qiu <[email protected]> * Bump golang.org/x/net from 0.2.0 to 0.7.0 (#300) Bumps [golang.org/x/net](https://github.com/golang/net) from 0.2.0 to 0.7.0. - [Release notes](https://github.com/golang/net/releases) - [Commits](golang/net@v0.2.0...v0.7.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump golang.org/x/net from 0.1.0 to 0.7.0 (#184) Bumps [golang.org/x/net](https://github.com/golang/net) from 0.1.0 to 0.7.0. - [Release notes](https://github.com/golang/net/releases) - [Commits](golang/net@v0.1.0...v0.7.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Upgrade mca/cma APIs (#324) Signed-off-by: Jian Qiu <[email protected]> * Bump golang.org/x/net from 0.1.0 to 0.7.0 (#323) Bumps [golang.org/x/net](https://github.com/golang/net) from 0.1.0 to 0.7.0. - [Release notes](https://github.com/golang/net/releases) - [Commits](golang/net@v0.1.0...v0.7.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump golang.org/x/crypto from 0.0.0-20220214200702-86341886e292 to 0.1.0 (#326) Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.0.0-20220214200702-86341886e292 to 0.1.0. - [Release notes](https://github.com/golang/crypto/releases) - [Commits](https://github.com/golang/crypto/commits/v0.1.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Do not filter applied manifest work by hub host when deleting klusterlet (#321) Signed-off-by: zhujian <[email protected]> * fix migration issue (#328) Signed-off-by: ldpliu <[email protected]> * the manifest size limit can be configured (#186) Signed-off-by: Zhiwei Yin <[email protected]> * Rename placeManifestWork to manifestWorkReplicaSet (#187) * Rename placeManifestWork to manifestWorkReplicaSet Signed-off-by: melserngawy <[email protected]> * Rename apis and variables Signed-off-by: melserngawy <[email protected]> --------- Signed-off-by: melserngawy <[email protected]> * Bump golang.org/x/crypto from 0.0.0-20220214200702-86341886e292 to 0.1.0 (#188) Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.0.0-20220214200702-86341886e292 to 0.1.0. - [Release notes](https://github.com/golang/crypto/releases) - [Commits](https://github.com/golang/crypto/commits/v0.1.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * upgrade kube lib to 1.26 (#100) Signed-off-by: haoqing0110 <[email protected]> * upgrade kube lib to 1.26 (#329) Signed-off-by: Zhiwei Yin <[email protected]> * remove old webhook (#330) Signed-off-by: ldpliu <[email protected]> * upgrade kube to 1.26 (#302) Signed-off-by: Wei Liu <[email protected]> * Upgrade kube lib to 1.26 and remove old webhook (#189) Signed-off-by: Jian Qiu <[email protected]> * addon manager feature gates (#325) Signed-off-by: haoqing0110 <[email protected]> * Remove: work directory in github action. (#303) Signed-off-by: xuezhaojun <[email protected]> * make e2e test cases ran as canary test cases (#178) Signed-off-by: Yang Le <[email protected]> * Add manifestWorkReplicaSet feature check (#192) Signed-off-by: melserngawy <[email protected]> * appliedmanifestwork eviction (#190) Signed-off-by: Wei Liu <[email protected]> * Add e2e/integration test case for manifestworkreplicaset (#191) * Add e2e/integration test case for manifestworkreplicaset Signed-off-by: Jian Qiu <[email protected]> * Fix rbac in e2e test Signed-off-by: Jian Qiu <[email protected]> --------- Signed-off-by: Jian Qiu <[email protected]> * Validate metadata.name of managed cluster (#304) Signed-off-by: Jian Qiu <[email protected]> * ci: build multi-arch image (#101) Signed-off-by: zhujian <[email protected]> * refactor migration and storedversion update (#332) Signed-off-by: ldpliu <[email protected]> * Move orgin OCM files into /origin-ocm Signed-off-by: xuezhaojun <[email protected]> * Upgrade dependencies. (#103) Signed-off-by: xuezhaojun <[email protected]> * Upgrade deps. (#194) Signed-off-by: xuezhaojun <[email protected]> * Upgrade dependencies. (#333) Signed-off-by: xuezhaojun <[email protected]> * Upgrade dependencies. (#305) Signed-off-by: xuezhaojun <[email protected]> * Save origin OCM files. Signed-off-by: xuezhaojun <[email protected]> * relocate to staing: registration Signed-off-by: xuezhaojun <[email protected]> * relocate to staing: work Signed-off-by: xuezhaojun <[email protected]> * relocate to staing: placement Signed-off-by: xuezhaojun <[email protected]> * relocate to staing: registration-operator Signed-off-by: xuezhaojun <[email protected]> * Add: build images of core repos. Signed-off-by: xuezhaojun <[email protected]> * Move origin OCM files back. Signed-off-by: xuezhaojun <[email protected]> --------- Signed-off-by: Yang Le <[email protected]> Signed-off-by: Zhiwei Yin <[email protected]> Signed-off-by: Wei Liu <[email protected]> Signed-off-by: Jian Qiu <[email protected]> Signed-off-by: haoqing0110 <[email protected]> Signed-off-by: zhujian <[email protected]> Signed-off-by: ldpliu <[email protected]> Signed-off-by: yue9944882 <[email protected]> Signed-off-by: panguicai008 <[email protected]> Signed-off-by: Mike Ng <[email protected]> Signed-off-by: xuezhaojun <[email protected]> Signed-off-by: Lei Pan <[email protected]> Signed-off-by: Promacanthus <[email protected]> Signed-off-by: mprahl <[email protected]> Signed-off-by: tytao <[email protected]> Signed-off-by: ivan-cai <[email protected]> Signed-off-by: clyang82 <[email protected]> Signed-off-by: ycyaoxdu <[email protected]> Signed-off-by: Jon Jackson <[email protected]> Signed-off-by: melserngawy <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: aii-nozomu-oki <[email protected]> Co-authored-by: Yang Le <[email protected]> Co-authored-by: Zhiwei Yin <[email protected]> Co-authored-by: Wei Liu <[email protected]> Co-authored-by: Jian Qiu <[email protected]> Co-authored-by: Qing Hao <[email protected]> Co-authored-by: Jian Zhu <[email protected]> Co-authored-by: DangPeng Liu <[email protected]> Co-authored-by: Min Kim <[email protected]> Co-authored-by: panguicai <[email protected]> Co-authored-by: Mike Ng <[email protected]> Co-authored-by: Lei P <[email protected]> Co-authored-by: ivanscai <[email protected]> Co-authored-by: ivan-cai <[email protected]> Co-authored-by: Bowen Zhu <[email protected]> Co-authored-by: Matt Prahl <[email protected]> Co-authored-by: TYTaO <[email protected]> Co-authored-by: Chunlin Yang <[email protected]> Co-authored-by: Yuchen YAO <[email protected]> Co-authored-by: Jon Jackson <[email protected]> Co-authored-by: Mohamed ElSerngawy <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ohki Nozomu <[email protected]>
Hello, everyone, since we are going to reach release 0.11.0, now it's a good time to discuss the next executable steps of code consolidation. I made a draft plan, please take a review when you have time, Thanks!
The following task happens on the
|
We have a new PR to relocate code out of staging: #146 Change NotesFor all components:We left the e2e-tests and some helper scripts still under the For
|
CRDDirectoryPaths: CRDPaths, |
make test-integration
is to run tests of each component one by one: Line 49 in ad38b94
test-integration: ensure-kubebuilder-tools test-registration-operator-integration test-registration-integration test-placement-integration test-work-integration |
make build
can build binaries for all 4 components, Use make test
can run unit-test for all 4 components.For placement
: @haoqing0110
- The benchmark depends on pkg in integration, so we move
util
pkg up a level. - The benchmark CRDs is depending on vendor files as well. You may need to run in the root directory of ocm.
Unsolved or affected:
- Release(including OLM release) @zhiweiyin318
@xuezhaojun the progress seems good. I think we should have a discussion and start creating some small tasks. e.g.
|
/close |
@xuezhaojun: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
We currently have different component repos:
It is hard to do e2e tests with many components and hard to do dependency check. I propose,we consolidate the code in these repos to one single repo:
After that we will have
With this consolidation, we will have the benefit that
note from @deads2k we should validate gates for PR that we do not have cross deps among different components.
The text was updated successfully, but these errors were encountered: