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
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
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
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 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
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
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
990a639661
Fix: addon manager flaky error. ( #558 )
...
Signed-off-by: GitHub <noreply@github.com >
2024-07-08 01:52:19 +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
Jian Zhu
00c39e2712
🐛 Refresh external managed token secret if service account is deleted ( #504 )
...
* Refresh external managed token secret if service account is deleted
Signed-off-by: zhujian <jiazhu@redhat.com >
* Debug e2e
Signed-off-by: zhujian <jiazhu@redhat.com >
---------
Signed-off-by: zhujian <jiazhu@redhat.com >
2024-06-06 13:17:23 +00:00
Jian Qiu
a31ee084a7
Always create default addon namespace ( #457 )
...
The addon namespace should always be default on.
The operator will not create addon ns based
on klusterlet install namespace.
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-05-14 07:08:53 +00:00
Jian Qiu
5fc1dbdce7
🐛 Remove old ns when klusterlet ns is changed ( #442 )
...
* Remove old ns when klusterlet ns is changed
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Resolve comments
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-05-06 03:15:48 +00:00
Jian Qiu
a7adf5d517
✨ Set install namespace of addonTemplate from config ( #417 )
...
* Set install namespace of addonTemplate from config
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Add an e2e test case
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-04-22 08:32:44 +00:00
Jian Qiu
37693a4c58
Get default registration namespace from template manifest ( #427 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-04-17 09:42:28 +00:00
Qing Hao
ff77abd312
upgrade addon-framework ( #383 )
...
Signed-off-by: haoqing0110 <qhao@redhat.com >
2024-03-28 03:15:15 +00:00
xuezhao
693787d507
Update EventuallyTimeout in work_workload_test.go ( #380 )
...
Signed-off-by: GitHub <noreply@github.com >
2024-03-19 04:17:30 +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
320b73c895
Fix: move enable ReplicaSet controller at the beginning. ( #343 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2024-01-12 02:52:23 +00:00
Jian Zhu
6571a8a4d9
✨ Support setting manifest work config by addon template ( #308 )
...
* ✨ Support setting manifest work config by addon template
Signed-off-by: zhujian <jiazhu@redhat.com >
* add unit tests
Signed-off-by: zhujian <jiazhu@redhat.com >
---------
Signed-off-by: zhujian <jiazhu@redhat.com >
2023-11-20 14:09:38 +00:00
Mohamed ElSerngawy
615f5a4441
Update OCM APIs and apply Rollout strategy API changes ( #310 )
...
Signed-off-by: melserngawy <melserng@redhat.com >
2023-11-16 02:36:16 +00:00
Mohamed ElSerngawy
35680c3ca3
✨ Implement ManifestWorkReplicaSet RollOut strategy ( #259 )
...
* Implement rollout strategy
Signed-off-by: melserngawy <melserng@redhat.com >
* Update API and new logic
Signed-off-by: melserngawy <melserng@redhat.com >
---------
Signed-off-by: melserngawy <melserng@redhat.com >
2023-11-02 03:08:35 +00:00
Jian Zhu
e6443b6523
Update permission config in addontemplate ( #285 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2023-09-21 22:08:17 -04:00
Jian Qiu
bd4982fffc
Fix: change singleton agent sa to work sa ( #279 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-09-15 10:01:14 +02:00
Jian Zhu
90c1dcb5bc
set agent install namespace from addon deployment config for template type addons ( #266 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2023-09-12 09:42:06 +02:00
Jian Zhu
e0d1ad384c
bump golangci-lint to v1.54.2 ( #270 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2023-09-07 15:55:12 +02:00
Jian Qiu
404680d302
✨ support singleton in hosted mode ( #258 )
...
* delete old agent when switch to singleton mode
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* run singleton hosted mode
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Sync sa on spoke as external-agent-kubeconfig
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-09-07 03:33:17 +02:00
Qing Hao
c625fd317a
🌱 remove ClusterSet ClusterSetBinding API version v1beta1 ( #257 )
...
* update api
Signed-off-by: haoqing0110 <qhao@redhat.com >
* remove webhook
Signed-off-by: haoqing0110 <qhao@redhat.com >
* remove migration files
Signed-off-by: haoqing0110 <qhao@redhat.com >
* update api
Signed-off-by: haoqing0110 <qhao@redhat.com >
* add ut for migrationRequestFiles
Signed-off-by: haoqing0110 <qhao@redhat.com >
---------
Signed-off-by: haoqing0110 <qhao@redhat.com >
2023-08-31 16:14:11 +02:00
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
Yang Le
6d6a6f1d74
🌱 upgrade addondeploymentconfigs crd to latest version ( #243 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2023-08-03 09:56:39 +02:00
Jian Zhu
a9dae607f6
✨ Support override addon images by the cluster's annotation ( #231 )
...
* ✨ Support override addon images by the cluster's annotation
Signed-off-by: zhujian <jiazhu@redhat.com >
* Add tests for addon image override
Signed-off-by: zhujian <jiazhu@redhat.com >
* upgrade ocm api
Signed-off-by: zhujian <jiazhu@redhat.com >
* refactor integration tests
Signed-off-by: zhujian <jiazhu@redhat.com >
* Upgrade addon framework to watch cluster when deploy addon agent
Signed-off-by: zhujian <jiazhu@redhat.com >
---------
Signed-off-by: zhujian <jiazhu@redhat.com >
2023-08-03 08:57:05 +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
Jian Zhu
9ff0948184
enable addon management feature gate by default ( #222 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2023-07-14 09:45:35 +02:00
Jian Qiu
f7cd1402e9
✨ run work and registration as a single binary ( #201 )
...
* run registratin/work together
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Fix integration test and lint issue
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Update operator to deploy singleton mode
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Update deps
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-07-14 04:56:48 +02:00
Jian Qiu
c8ec75096d
Reduce e2e process time ( #210 )
...
for work and addon e2e, we do not need to
restart klusterlet for each case
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-07-06 00:19:50 -04:00
Jian Zhu
21ee8d4c88
use DeploymentAvailability to check addon health ( #212 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2023-07-05 10:25:55 -04:00
Jian Zhu
40bc557c47
🐛 make the custom sign ca secret namespace fixed ( #205 )
...
* update vendor ocm api
Signed-off-by: zhujian <jiazhu@redhat.com >
* make the custom sign ca secret name fixed
Signed-off-by: zhujian <jiazhu@redhat.com >
* make the custom sign ca secret namespace fixed
Signed-off-by: zhujian <jiazhu@redhat.com >
* format go import for test files
Signed-off-by: zhujian <jiazhu@redhat.com >
* update vendor ocm api
Signed-off-by: zhujian <jiazhu@redhat.com >
---------
Signed-off-by: zhujian <jiazhu@redhat.com >
2023-07-04 00:01:23 -04:00
Jian Qiu
9cae24c7fe
Separated hosted klusterlet e2e to separated action ( #206 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-07-03 01:51:46 -04:00
Jian Zhu
9450d14759
🌱 add e2e tests for addon manager ( #199 )
...
* add e2e tests for addon manager
Signed-off-by: zhujian <jiazhu@redhat.com >
* test image override and node placement for addon manager
Signed-off-by: zhujian <jiazhu@redhat.com >
---------
Signed-off-by: zhujian <jiazhu@redhat.com >
2023-06-28 15:45:43 +02:00
xuezhaojun
c364d34e47
Fix: hard-coded image names in e2e-test. ( #183 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2023-06-13 20:15:40 -04: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
62efbf935b
Build common options for agent ( #163 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-06-08 02:55:43 -04:00
Jian Qiu
d21057c831
Fix: webhook e2e left some unhandled clusters ( #164 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-06-05 10:56:43 -04:00
Jian Qiu
2b4eee3f98
Move registration e2e and remove staging ( #159 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-06-02 01:15:32 -04:00
Jian Qiu
384a3f4205
move placement e2e out of staging ( #158 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-06-01 07:46:43 -04:00
Jian Qiu
3db47b7997
Move work e2e out of staging ( #157 )
...
* Move work e2e out of staging
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* some refactor on tester
remove unnecessary field and build a enable feature func
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-06-01 06:18:21 -04:00