Jian Qiu
11896ccda1
Fix the issue that ownerref is not set with ignorefields ( #794 )
...
Scorecard supply-chain security / Scorecard analysis (push) Failing after 45s
Post / images (amd64) (push) Failing after 5m38s
Post / images (arm64) (push) Failing after 5m35s
Post / image manifest (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Post / coverage (push) Failing after 26m35s
Close stale issues and PRs / stale (push) Successful in 25s
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2025-01-10 03:19:59 +00:00
jaswalkiranavtar
0acf030cdb
✨ Completing aws registration on spoke ( #788 )
...
Scorecard supply-chain security / Scorecard analysis (push) Failing after 40s
Post / images (amd64) (push) Failing after 5m45s
Post / images (arm64) (push) Failing after 5m45s
Post / image manifest (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Post / coverage (push) Failing after 26m38s
Close stale issues and PRs / stale (push) Successful in 6s
* Completing aws registration on spoke
Signed-off-by: suvaanshkumar <suvaanshkumar@gmail.com >
* adding new function to overcome gci errors on slices
Signed-off-by: suvaanshkumar <suvaanshkumar@gmail.com >
* Refactoring array contains function
Signed-off-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com >
---------
Signed-off-by: suvaanshkumar <suvaanshkumar@gmail.com >
Signed-off-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com >
Co-authored-by: suvaanshkumar <suvaanshkumar@gmail.com >
2025-01-09 19:07:43 +00:00
Zhiwei Yin
e5e013cad0
use images overrides in operator deploy ( #795 )
...
Scorecard supply-chain security / Scorecard analysis (push) Failing after 39s
Post / images (amd64) (push) Failing after 5m56s
Post / images (arm64) (push) Failing after 5m40s
Post / image manifest (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Post / coverage (push) Failing after 26m9s
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2025-01-09 09:03:36 +00:00
Jian Qiu
037aa3ccfa
Ignore field should not be honored when creating the resource ( #784 )
...
Scorecard supply-chain security / Scorecard analysis (push) Failing after 12m44s
Post / images (amd64) (push) Failing after 8m35s
Post / coverage (push) Failing after 26m36s
Post / images (arm64) (push) Failing after 9m10s
Post / image manifest (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Close stale issues and PRs / stale (push) Successful in 30s
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2025-01-03 06:09:48 +00:00
EmilyL
0f9845c563
✨ Mount the awscli volume when using AWS IRSA-based authentication. ( #783 )
...
Scorecard supply-chain security / Scorecard analysis (push) Failing after 4m35s
Post / images (amd64) (push) Failing after 6m0s
Post / images (arm64) (push) Failing after 5m36s
Post / image manifest (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Post / coverage (push) Failing after 27m33s
* Add the awscli volume mount to klusterlet-work, klusterlet-agent, klusterlet-registration deployment manifests if the registration auth type is awsirsa.
Update the test util function to check for both .aws and /awscli volume mounts.
Signed-off-by: dtclxy64 <70486866+dtclxy64@users.noreply.github.com >
* Update the conditions to only check the registration driver auth type because the nil checks are done on the klusterlet CRD.
Signed-off-by: dtclxy64 <70486866+dtclxy64@users.noreply.github.com >
---------
Signed-off-by: dtclxy64 <70486866+dtclxy64@users.noreply.github.com >
Co-authored-by: Amrutha <amrutha.hari12@gmail.com >
2025-01-03 01:41:29 +00:00
xuezhao
8737358919
Agents stop update managedcluster status when clock is out of sync. ( #770 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2024-12-23 01:34:33 +00:00
Jian Qiu
b568123849
✨ Start import in registration by feature gate. ( #775 )
...
* Update clustermanager operator to support capi
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Update operator to start importer
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-12-20 01:12:10 +00:00
Jian Zhu
3f9b8867eb
✨ Add a configmap to handle the proxy ca bundle ( #772 )
...
* Add a configmap to handle the proxy ca bundle
Signed-off-by: zhujian <jiazhu@redhat.com >
* Use contextual logger
Signed-off-by: zhujian <jiazhu@redhat.com >
---------
Signed-off-by: zhujian <jiazhu@redhat.com >
2024-12-19 03:29:03 +00:00
Jian Qiu
25ea10bcbf
✨ Add importer into registration ( #753 )
...
* Add importer into registraiton
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Add unit tests
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Add integration test
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-12-16 13:59:55 +00:00
Jian Zhu
3493630ad2
✨ Support configuring proxy for addons ( #760 )
...
* Support configuring proxy for addons
Signed-off-by: zhujian <jiazhu@redhat.com >
* Add tests for addon proxy setting
Signed-off-by: zhujian <jiazhu@redhat.com >
* Add e2e test for signer namespace
Signed-off-by: zhujian <jiazhu@redhat.com >
---------
Signed-off-by: zhujian <jiazhu@redhat.com >
2024-12-16 08:01:34 +00:00
jaswalkiranavtar
b170f3a41e
✨ Cluster decorator interface ( #759 )
...
* Add cluster decorator interface in register
And refactor creating to controller to call decorators
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Add aws annotations to ManagedCluster using Decorator
Signed-off-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com >
* Addressing review comments
Signed-off-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
Signed-off-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com >
Co-authored-by: Jian Qiu <jqiu@redhat.com >
2024-12-11 15:59:43 +00:00
Jian Zhu
ddc5024596
✨ Allow Custom Signer signingCA to Specify Namespace in AddOnTemplate ( #747 )
...
* Allow Custom Signer signingCA to Specify Namespace in AddOnTemplate
Signed-off-by: zhujian <jiazhu@redhat.com >
* Add e2e test for signer namespace
Signed-off-by: zhujian <jiazhu@redhat.com >
---------
Signed-off-by: zhujian <jiazhu@redhat.com >
2024-12-10 09:16:26 +00:00
Jian Zhu
1ef590444c
Use e2e images instead of latest ( #756 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2024-12-10 02:59:40 +00:00
Jian Qiu
0897da69da
Implement ignoreFields in server side apply ( #726 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-12-10 02:56:55 +00:00
Qing Hao
ed367fd739
enable leader election of klusterlet-agent on single node managed clusters ( #727 )
...
Signed-off-by: Qing Hao <qhao@redhat.com >
2024-11-29 08:13:48 +00:00
jaswalkiranavtar
93db6de4a1
✨ Starting aws registration by spoke by assuming IAM role on startup and adding annotations to ManagedCluster CR ( #714 )
...
* Starting aws registration by spoke by assuming IAM role on startup and adding annotations to ManagedCluster CR
Signed-off-by: Erica Jin <132393634+EricaJ6@users.noreply.github.com >
* Adding integration tests for aws registration
Signed-off-by: Erica Jin <132393634+EricaJ6@users.noreply.github.com >
* Adding more integration tests
Signed-off-by: Erica Jin <132393634+EricaJ6@users.noreply.github.com >
* Addressing review comments
Signed-off-by: Erica Jin <132393634+EricaJ6@users.noreply.github.com >
---------
Signed-off-by: Erica Jin <132393634+EricaJ6@users.noreply.github.com >
2024-11-26 17:34:53 +00:00
Zhiwei Yin
fa3a30b36e
support wildcard in manifestConfigs ( #703 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2024-11-21 06:56:46 +00:00
xuezhao
68eb264e56
Revert "enable leader election of klusterlet-agent on single node managed clusters ( #695 )" ( #708 )
...
This reverts commit 8544ff1e29 .
Signed-off-by: xuezhaojun <zxue@redhat.com >
2024-11-20 03:45:47 +00:00
Qing Hao
8544ff1e29
enable leader election of klusterlet-agent on single node managed clusters ( #695 )
...
Signed-off-by: Qing Hao <qhao@redhat.com >
2024-11-15 02:47:00 +00:00
Rokibul Hasan
369f3fb6ff
Update api dependency and remove unnecessary featureGate enabling part ( #687 )
...
Signed-off-by: Rokibul Hasan <mdrokibulhasan@appscode.com >
2024-11-14 07:12:14 +00:00
Jian Qiu
5911a7e920
🐛 Fix manifestwork and appliedmanifestwork unsync issue ( #636 )
...
* Fix manifestwork and appliedmanifestwork unsync issue
merge the two controller as reconcilers for one controller
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Add an integration test
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-11-11 01:59:35 +00:00
xuezhao
7664585c22
Fix: reduce cluster rbac when accpet to false. ( #675 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2024-11-04 02:02:25 +00:00
xuezhao
603b40572d
Fix: check error instead of bool to see error msg when case fails. ( #682 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2024-10-31 09:04:58 +00:00
Qing Hao
9181dbbe85
generate mca before testing rollout ( #657 )
...
Signed-off-by: haoqing0110 <qhao@redhat.com >
2024-10-18 07:35:05 +00:00
Jian Qiu
8d1fdc297f
Add trimmed release version to env ( #648 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-10-16 04:32:19 +00:00
Qing Hao
d9ab25283e
sync between ManagedCluster and cluster inventory API ( #615 )
...
Signed-off-by: haoqing0110 <qhao@redhat.com >
2024-10-15 04:04:41 +00:00
Qing Hao
43c3500738
upgrade framework and check configured condition in addon template ( #641 )
...
Signed-off-by: haoqing0110 <qhao@redhat.com >
2024-10-09 12:53:45 +00:00
Qing Hao
851d0152a3
set configured condition in mca ( #635 )
...
Signed-off-by: haoqing0110 <qhao@redhat.com >
2024-10-08 13:08:03 +00:00
Qing Hao
4ebe9d7978
🐛 monitor the bootstrap kubeconfig and restart immediately when changes ( #630 )
...
* monitor the bootstrap kubeconfig and restart immediately when changes
Signed-off-by: haoqing0110 <qhao@redhat.com >
* fix comments
Signed-off-by: haoqing0110 <qhao@redhat.com >
---------
Signed-off-by: haoqing0110 <qhao@redhat.com >
2024-09-30 06:24:20 +00:00
Wei Liu
8a2a776f06
using same code for cloudevents integation test ( #617 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2024-09-23 05:21:12 +00:00
Wei Liu
b6763a13c0
remove the creationTimestamp from metadata when using ssa apply manifests ( #611 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2024-09-06 02:18:55 +00:00
Jian Qiu
fc3ee21f54
Upgrade mqtt deps ( #607 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-08-30 09:21:32 +00:00
Zhiwei Yin
7946f87945
support set imagepullsecret credential in helm chart and run e2e using helm chart ( #605 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2024-08-29 12:32:43 +00:00
Qing Hao
dfa835d674
✨ addon: add support for multiple GVK ( #585 )
...
* addon: add support for multiple GVK
adds test cases
updates mergeAddonConfig function to match new multi same-gvk configs
Signed-off-by: Joao Marcal <jmarcal@redhat.com >
* add more UT
Signed-off-by: haoqing0110 <qhao@redhat.com >
* modify code
Signed-off-by: haoqing0110 <qhao@redhat.com >
---------
Signed-off-by: Joao Marcal <jmarcal@redhat.com >
Signed-off-by: haoqing0110 <qhao@redhat.com >
Co-authored-by: Joao Marcal <jmarcal@redhat.com >
2024-08-13 01:52:39 +00:00
Jian Qiu
c9161cef09
Set default user-agent for work to work-agent ( #588 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-08-06 07:50:11 +00:00
xuezhao
6c4292b1bc
Refactor tester to e2e framework. ( #565 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2024-07-24 01:31:58 +00:00
Jian Qiu
8c1d286b11
✨ Refactor registration ( #535 )
...
* Refactor registration
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Fix integration test
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Refactor cert controller to secret controller
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Update health check func
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-07-17 14:14:11 +00:00
xuezhao
9a7efaed5d
Using default timeout in hosted cases. ( #566 )
...
Signed-off-by: GitHub <noreply@github.com >
2024-07-11 03:11:09 +00:00
xuezhao
4b77db89c5
Explicitly name and use UNIVERSAL klusterlet/managedcluster. ( #556 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2024-07-09 09:54:21 +00:00
xuezhao
da8d81a22c
Refactor: timeout and interval usage in e2e ( #563 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2024-07-09 01:33:50 +00:00
xuezhao
5617fec2f7
fix: put the update into a eventually to avoid flaky error. ( #557 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2024-07-08 06:35:36 +00:00
xuezhao
990a639661
Fix: addon manager flaky error. ( #558 )
...
Signed-off-by: GitHub <noreply@github.com >
2024-07-08 01:52:19 +00:00
Jian Qiu
2582ad922d
Update deps to 1.30 ( #546 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-07-02 14:04:15 +00:00
xuezhao
5a747e8a2c
Operator supports MultipleHubs. ( #524 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2024-06-27 07:53:07 +00:00
Yang Le
a14450aa93
🌱 make additional secret data always sensitive ( #525 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2024-06-26 02:32:52 +00:00
Jian Qiu
b6058f1126
Update deps of api and library to 0.14.0 ( #532 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-06-21 07:25:59 +00:00
xuezhao
21f339999c
Refactor e2e commands. ( #534 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2024-06-20 01:55:27 +00:00
Jian Zhu
3b2601dcfb
Support daemonSet with AddOnTemplate ( #521 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2024-06-19 15:57:46 +00:00
Zhiwei Yin
12baec945a
fix the label cannot be number ( #531 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2024-06-19 07:04:12 +00:00
Wei Liu
e2a7b9e78b
upgrade sdk-go ( #528 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2024-06-18 05:48:45 +00:00