jaswalkiranavtar and Alex
57c78cd4de
✨ Miscellaneous code cleanup ( #881 )
...
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
Post / coverage (push) Waiting to run
Post / images (amd64) (push) Waiting to run
Post / images (arm64) (push) Waiting to run
Post / image manifest (push) Blocked by required conditions
Post / trigger clusteradm e2e (push) Blocked by required conditions
* extract constants and remove permissions
Signed-off-by: Alex <alexchan2988@gmail.com >
* Addressing miscellaneous code cleanup
Signed-off-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com >
---------
Signed-off-by: Alex <alexchan2988@gmail.com >
Signed-off-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com >
Co-authored-by: Alex <alexchan2988@gmail.com >
2025-03-13 00:45:19 +00:00
Jian Zhu
a5f3912a66
Separate crd objects from others ( #882 )
...
Post / coverage (push) Waiting to run
Post / images (amd64) (push) Waiting to run
Post / images (arm64) (push) Waiting to run
Post / image manifest (push) Blocked by required conditions
Post / trigger clusteradm e2e (push) Blocked by required conditions
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Signed-off-by: zhujian <jiazhu@redhat.com >
2025-03-12 03:38:09 +00:00
Amrutha Harikumar and Gaurav Jaswal
c4e706f123
✨ Make ocm changes to tag aws resources by OCM hub ( #862 )
...
* Implementing aws resource tags
Signed-off-by: Amrutha <amrutha.hari12@gmail.com >
Signed-off-by: Alex <alexchan2988@gmail.com >
Signed-off-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com >
* Fixing tests
Signed-off-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com >
---------
Signed-off-by: Amrutha <amrutha.hari12@gmail.com >
Signed-off-by: Alex <alexchan2988@gmail.com >
Signed-off-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com >
Co-authored-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com >
2025-03-06 19:29:29 +00:00
jaswalkiranavtar and James Dobson
94bfd426ca
Add managed cluster auto-approval for awsirsa ( #850 )
...
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1m5s
Post / images (amd64) (push) Failing after 5m36s
Post / images (arm64) (push) Failing after 5m47s
Post / image manifest (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Post / coverage (push) Failing after 27m4s
Signed-off-by: James Dobson <dobson@softwarepunk.com >
Signed-off-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com >
Co-authored-by: James Dobson <dobson@softwarepunk.com >
2025-02-28 14:05:53 +00:00
Jian Qiu
2746226037
Regactor hub driver interface and remove approver ( #846 )
...
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1m27s
Post / coverage (push) Failing after 8m0s
Post / images (amd64) (push) Failing after 7m17s
Post / images (arm64) (push) Failing after 5m47s
Post / image manifest (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Close stale issues and PRs / stale (push) Successful in 34s
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2025-02-24 13:18:47 +00:00
Zhiwei Yin
b94d7da6e9
refator gc and move rbac deletion to cluster controller ( #831 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2025-02-19 01:47:04 +00:00
0153747acf
✨ Made changes for clusteradm accept to create role and policies on hub ( #819 )
...
Post / coverage (push) Failing after 26m56s
Post / images (amd64) (push) Failing after 6m52s
Post / images (arm64) (push) Failing after 6m50s
Post / image manifest (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Close stale issues and PRs / stale (push) Successful in 54s
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1m19s
* Acceping AWS IRSA registraion request
Signed-off-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com >
* Addressing comments
Signed-off-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com >
* Addressing comments
Signed-off-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com >
* Making csr as a default enabled driver if no other driver is explicitly enabled
Signed-off-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com >
---------
Signed-off-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com >
Co-authored-by: “Jeffrey <jeffreywong0417@gmail.com >
Co-authored-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com >
2025-02-18 13:14:06 +00:00
Zhiwei Yin
b6c2a848e8
fix gc controller not handle empty cluster ( #812 )
...
Post / coverage (push) Failing after 26m18s
Post / images (amd64) (push) Failing after 7m14s
Post / images (arm64) (push) Failing after 6m40s
Post / image manifest (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1m2s
Close stale issues and PRs / stale (push) Successful in 28s
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2025-01-23 01:41:27 +00:00
Zhiwei Yin
f03b3f75eb
change replicas of klusterlet operator to 1 ( #813 )
...
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1m0s
Post / coverage (push) Failing after 26m22s
Post / images (amd64) (push) Failing after 6m56s
Post / images (arm64) (push) Failing after 6m55s
Post / image manifest (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2025-01-20 03:45:09 +00:00
Jian Qiu
d323b60253
Change the component name to klusterlet-agent ( #809 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2025-01-17 10:34:11 +00:00
Jian Qiu
54a99fe880
Requeue importer when secret is not found ( #808 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2025-01-17 10:25:57 +00:00
Jian Qiu
34275ef1ea
Add bootstrapSA flags for importer ( #803 )
...
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1m14s
Post / coverage (push) Failing after 27m13s
Post / images (amd64) (push) Failing after 6m57s
Post / images (arm64) (push) Failing after 6m49s
Post / image manifest (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Close stale issues and PRs / stale (push) Successful in 25s
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2025-01-16 08:55:31 +00:00
Jian Qiu
19fb9243ca
Check capi status if it is provisioned ( #801 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2025-01-16 02:44:15 +00:00
Zhiwei Yin
a44b44e2db
rename bootstrap sa and rbac ( #802 )
...
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1m11s
Post / coverage (push) Failing after 27m28s
Post / images (amd64) (push) Failing after 6m52s
Post / images (arm64) (push) Failing after 6m37s
Post / image manifest (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Close stale issues and PRs / stale (push) Successful in 21s
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2025-01-16 01:13:30 +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 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
jaswalkiranavtar
a138a547f5
Adding second group for aws auth flow ( #735 )
...
Signed-off-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com >
2024-12-05 06:36:18 +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
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
Wei Liu
d26db93494
Add auto approve anno for accepted cluster ( #680 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2024-10-31 02:52:23 +00:00
xuezhao
26f9e74ac9
Rename and relocate cluster related roles files. ( #674 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2024-10-28 01:56:29 +00:00
Jian Qiu
900248f214
Return false when accept return error ( #622 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-10-21 10:51:00 +00:00
Yang Le
9a47edcae0
🐛 handle the unknown status of the previously accepted cluster ( #656 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2024-10-21 02:33:13 +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
Zhiwei Yin
77726223f2
fix the cluster name is digital ( #621 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2024-09-19 02:15:42 +00:00
Jian Qiu
0536c757af
🌱 Move hub side csr code to csr driver ( #580 )
...
* Move hub side csr code to csr driver
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Add ut
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-08-19 06:32:07 +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
Wei Liu
8e5d1a13bc
using managed cluster instead of spoke in log msg ( #512 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2024-06-12 08:44:56 +00:00
Jian Zhu
3ac9655565
Refine the cluster available event messages ( #496 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2024-06-05 07:46:02 +00:00
Jian Zhu
c749b42ca0
✨ Send available condition events for managed cluster ( #450 )
...
* Send available condition events for managed cluster
Signed-off-by: zhujian <jiazhu@redhat.com >
* Send available condition events for managed cluster
Signed-off-by: zhujian <jiazhu@redhat.com >
* Rename event reporting component
Signed-off-by: zhujian <jiazhu@redhat.com >
---------
Signed-off-by: zhujian <jiazhu@redhat.com >
2024-05-06 07:00:36 +00:00
Wei Liu
fd2d0eb16e
avoid cluster auto approve failed occasionally ( #388 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2024-04-07 03:44:54 +00:00
Jian Qiu
6cfce8ce24
Revert apply func ( #353 )
...
this part dep on library-go so remove from
sdk-go
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-01-22 03:46:46 +00:00
Jian Qiu
bede3edd92
Switch to patcher in sdk-go ( #349 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-01-22 02:04:49 +00:00
Jian Qiu
1d42f4285e
Switch to sdk-go for helper functions ( #346 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-01-17 14:28:54 +00:00
xuezhaojun
5884bc5c21
Add clock sync condition controller. ( #312 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2023-12-05 02:05:36 +00:00
Zhiwei Yin
f003ed38a5
refactor gc controller ( #229 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2023-10-23 07:05:35 +00:00
Jian Qiu
88f6f4dd17
Refactor code to start managers with shared informers ( #232 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-08-21 00:03:58 -02:30
Nitish Chauhan
6e0937e4d0
🌱 adding contextual logging in registration component ( #220 )
...
* contextual logging for registration component
Signed-off-by: ntishchauhan0022 <nitishchauhan0022@gmail.com >
* removing logger from convertTo & convertFrom
Signed-off-by: ntishchauhan0022 <nitishchauhan0022@gmail.com >
---------
Signed-off-by: ntishchauhan0022 <nitishchauhan0022@gmail.com >
2023-08-14 23:04:55 -02:30
Jian Qiu
3167826df9
Use finalizer in api repo ( #241 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-08-04 11:54:55 +02:00
Jian Qiu
e810520961
🌱 Refactor code to fix lint warning ( #218 )
...
* Refactor code to fix lint warning
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* enable lint for testing files
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-07-25 07:12:34 +02:00
Zhiwei Yin
0adc7664ae
refactor rbacfinalizercontroller to fix cluster ns is terminating after delete clustermanager ( #211 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2023-07-04 21:33:41 -04:00
Jian Qiu
e4792e4b83
Refactor to use common queue/filter funcs ( #197 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-06-28 15:59:19 +02:00
Jian Qiu
4ae644879a
🌱 Refactor cluster permission ( #193 )
...
* User lister in permission apply for cluster
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Reduce get call in registration
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-06-26 11:31:40 +02:00
Jian Qiu
e344e26a5e
Use patcher in work ( #190 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-06-21 05:38:59 +02:00
Jian Zhu
d3d648283e
🌱 Configure the golangci lint ( #180 )
...
* 🌱 Configure the golangci lint
Signed-off-by: zhujian <jiazhu@redhat.com >
* 🌱 Fix lint issues
Signed-off-by: zhujian <jiazhu@redhat.com >
---------
Signed-off-by: zhujian <jiazhu@redhat.com >
2023-06-13 03:51:48 -04:00
Jian Zhu
7332a585c0
🌱 add a verify rule for golang files import order ( #177 )
...
* 🌱 add a verify rule for golang files import order
This PR uses the [gci tool](https://github.com/daixiang0/gci ) to make all go files' import section with a specific order, it will organize import with group with order:
1. standard library modules
2. 3rd party modules
3. modules in OCM org, like the `open-cluster-management.io/api`
4. current project `open-cluster-management.io/ocm` modules
developers can use the `make fmt-imports` to format the import automatically and the `make verify-fmt-imports` to check for any violation.
Signed-off-by: zhujian <jiazhu@redhat.com >
* 🌱 format the go files import
Signed-off-by: zhujian <jiazhu@redhat.com >
---------
Signed-off-by: zhujian <jiazhu@redhat.com >
2023-06-12 10:23:04 -04:00
Jian Qiu
3c9bfea949
🌱 Add a common patcher and adopt it in registration ( #178 )
...
* Add a common patcher and adopt it in registration
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Add patcher test
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-06-12 02:40:09 -04:00
Jian Qiu
72d87a2ea5
Refactor testing ( #161 )
...
* Move common testing fixture to a common location
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Add common pkg
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-06-04 22:47:08 -04:00
Jian Qiu
116ae8cc28
Refactor version/feature/cmd packages ( #148 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-05-30 02:07:32 -04:00