Jian Zhu
fe6e75fc0d
Refactor template addon get values func ( #438 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2024-04-23 02:02:47 +00:00
Wei Liu
ef82c718f1
upgrade base image from ubi8 to ubi9 ( #437 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2024-04-23 01:59:59 +00:00
dependabot[bot]
c1e224b8f4
🌱 Bump the github-actions group with 3 updates ( #439 )
...
Bumps the github-actions group with 3 updates: [actions/checkout](https://github.com/actions/checkout ), [actions/upload-artifact](https://github.com/actions/upload-artifact ) and [github/codeql-action](https://github.com/github/codeql-action ).
Updates `actions/checkout` from 3 to 4
- [Release notes](https://github.com/actions/checkout/releases )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
Updates `actions/upload-artifact` from 4.3.1 to 4.3.2
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](5d5d22a312...1746f4ab65 )
Updates `github/codeql-action` from 3.24.10 to 3.25.1
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](4355270be1...c7f9125735 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 13:38:53 +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
Morven Cao
5f1ec4031f
update addon manager. ( #434 )
...
Signed-off-by: morvencao <lcao@redhat.com >
2024-04-22 02:12:29 +00:00
xuezhao
dee7f10633
Add default values for workloadsourcedriver and worksourceloadconfig. ( #432 )
...
Signed-off-by: GitHub <noreply@github.com >
2024-04-22 01:53:15 +00:00
xuezhao
eba3d9670b
Refactor Lease controller test cases. ( #435 )
...
Signed-off-by: GitHub <noreply@github.com >
2024-04-22 01:50:29 +00:00
dependabot[bot]
a78571cc82
🌱 Bump k8s.io/client-go from 0.29.3 to 0.29.4 ( #430 )
...
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go ) from 0.29.3 to 0.29.4.
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/kubernetes/client-go/compare/v0.29.3...v0.29.4 )
---
updated-dependencies:
- dependency-name: k8s.io/client-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-17 13:28:52 +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
dependabot[bot]
6f7a81a166
🌱 Bump github.com/onsi/gomega from 1.31.1 to 1.32.0 ( #428 )
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.31.1 to 1.32.0.
- [Release notes](https://github.com/onsi/gomega/releases )
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/gomega/compare/v1.31.1...v1.32.0 )
---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-17 07:41:36 +00:00
dependabot[bot]
40b0497c07
🌱 Bump sigs.k8s.io/controller-runtime from 0.17.2 to 0.17.3 ( #424 )
...
Bumps [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime ) from 0.17.2 to 0.17.3.
- [Release notes](https://github.com/kubernetes-sigs/controller-runtime/releases )
- [Changelog](https://github.com/kubernetes-sigs/controller-runtime/blob/main/RELEASE.md )
- [Commits](https://github.com/kubernetes-sigs/controller-runtime/compare/v0.17.2...v0.17.3 )
---
updated-dependencies:
- dependency-name: sigs.k8s.io/controller-runtime
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-16 01:48:49 +00:00
Morven Cao
74b176c37f
update sdk-go dependency. ( #423 )
...
Signed-off-by: morvencao <lcao@redhat.com >
2024-04-15 13:24:21 +00:00
Zhiwei Yin
f413220b56
refactor constants in operator ( #421 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2024-04-15 04:59:31 +00:00
dependabot[bot]
ebfa38e525
🌱 Bump open-cluster-management.io/addon-framework ( #422 )
...
Bumps [open-cluster-management.io/addon-framework](https://github.com/open-cluster-management-io/addon-framework ) from 0.9.1-0.20240327031342-b0ef02a14044 to 0.9.1.
- [Release notes](https://github.com/open-cluster-management-io/addon-framework/releases )
- [Commits](https://github.com/open-cluster-management-io/addon-framework/commits/v0.9.1 )
---
updated-dependencies:
- dependency-name: open-cluster-management.io/addon-framework
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 03:01:18 +00:00
dependabot[bot]
837493ed03
🌱 Bump github.com/onsi/ginkgo/v2 from 2.15.0 to 2.17.1 ( #419 )
...
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo ) from 2.15.0 to 2.17.1.
- [Release notes](https://github.com/onsi/ginkgo/releases )
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/ginkgo/compare/v2.15.0...v2.17.1 )
---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-11 13:18:57 +00:00
Jian Qiu
3a2250d974
Refactor NewUnstructured method ( #418 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-04-11 12:01:07 +00:00
Zhiwei Yin
ca89a00a0e
release 0.13.1 csv bundle ( #416 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2024-04-11 01:39:23 +00:00
dependabot[bot]
9ae0376150
🌱 Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 ( #415 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.4 to 1.9.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-10 13:23:23 +00:00
Jian Zhu
917539a129
🐛 Set a fixed agent name for the template type addon ( #413 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2024-04-10 13:20:38 +00:00
dependabot[bot]
e05e43771a
🌱 Bump github.com/evanphx/json-patch ( #412 )
...
Bumps [github.com/evanphx/json-patch](https://github.com/evanphx/json-patch ) from 5.7.0+incompatible to 5.9.0+incompatible.
- [Release notes](https://github.com/evanphx/json-patch/releases )
- [Commits](https://github.com/evanphx/json-patch/compare/v5.7.0...v5.9.0 )
---
updated-dependencies:
- dependency-name: github.com/evanphx/json-patch
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-10 02:56:20 +00:00
dependabot[bot]
1ea75128a2
🌱 Bump go.uber.org/zap from 1.26.0 to 1.27.0 ( #411 )
...
Bumps [go.uber.org/zap](https://github.com/uber-go/zap ) from 1.26.0 to 1.27.0.
- [Release notes](https://github.com/uber-go/zap/releases )
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/uber-go/zap/compare/v1.26.0...v1.27.0 )
---
updated-dependencies:
- dependency-name: go.uber.org/zap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-09 14:00:51 +00:00
dependabot[bot]
3a5c8e8100
🌱 Bump github.com/cloudevents/sdk-go/v2 from 2.14.0 to 2.15.2 ( #409 )
...
Bumps [github.com/cloudevents/sdk-go/v2](https://github.com/cloudevents/sdk-go ) from 2.14.0 to 2.15.2.
- [Release notes](https://github.com/cloudevents/sdk-go/releases )
- [Commits](https://github.com/cloudevents/sdk-go/compare/v2.14.0...v2.15.2 )
---
updated-dependencies:
- dependency-name: github.com/cloudevents/sdk-go/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-09 02:00:20 +00:00
dependabot[bot]
6b72191b79
🌱 Bump k8s.io/kube-aggregator from 0.29.0 to 0.29.3 ( #410 )
...
Bumps [k8s.io/kube-aggregator](https://github.com/kubernetes/kube-aggregator ) from 0.29.0 to 0.29.3.
- [Commits](https://github.com/kubernetes/kube-aggregator/compare/v0.29.0...v0.29.3 )
---
updated-dependencies:
- dependency-name: k8s.io/kube-aggregator
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 13:25:33 +00:00
dependabot[bot]
3fa4a98b13
🌱 Bump actions/dependency-review-action ( #408 )
...
Bumps the github-actions group with 1 update: [actions/dependency-review-action](https://github.com/actions/dependency-review-action ).
Updates `actions/dependency-review-action` from 2.5.1 to 4.2.5
- [Release notes](https://github.com/actions/dependency-review-action/releases )
- [Commits](0efb1d1d84...5bbc3ba658 )
---
updated-dependencies:
- dependency-name: actions/dependency-review-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 13:22:45 +00:00
dependabot[bot]
5fa72b0ce6
🌱 Bump actions/setup-go from 3 to 5 ( #406 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 3 to 5.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v3...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 13:20:02 +00:00
dependabot[bot]
4f8ef10542
🌱 Bump the github-actions group with 8 updates ( #407 )
...
Bumps the github-actions group with 8 updates:
| Package | From | To |
| --- | --- | --- |
| [actions/upload-artifact](https://github.com/actions/upload-artifact ) | `3.1.0` | `4.3.1` |
| [github/codeql-action](https://github.com/github/codeql-action ) | `2.2.4` | `3.24.10` |
| [codecov/codecov-action](https://github.com/codecov/codecov-action ) | `3` | `4` |
| [peter-evans/repository-dispatch](https://github.com/peter-evans/repository-dispatch ) | `2` | `3` |
| [kubernetes-sigs/kubebuilder-release-tools](https://github.com/kubernetes-sigs/kubebuilder-release-tools ) | `0.3.0` | `0.4.3` |
| [actions/setup-python](https://github.com/actions/setup-python ) | `4` | `5` |
| [softprops/action-gh-release](https://github.com/softprops/action-gh-release ) | `1` | `2` |
| [actions/stale](https://github.com/actions/stale ) | `8` | `9` |
Updates `actions/upload-artifact` from 3.1.0 to 4.3.1
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](3cea537223...5d5d22a312 )
Updates `github/codeql-action` from 2.2.4 to 3.24.10
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](17573ee1cc...4355270be1 )
Updates `codecov/codecov-action` from 3 to 4
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4 )
Updates `peter-evans/repository-dispatch` from 2 to 3
- [Release notes](https://github.com/peter-evans/repository-dispatch/releases )
- [Commits](https://github.com/peter-evans/repository-dispatch/compare/v2...v3 )
Updates `kubernetes-sigs/kubebuilder-release-tools` from 0.3.0 to 0.4.3
- [Release notes](https://github.com/kubernetes-sigs/kubebuilder-release-tools/releases )
- [Changelog](https://github.com/kubernetes-sigs/kubebuilder-release-tools/blob/master/RELEASE.md )
- [Commits](https://github.com/kubernetes-sigs/kubebuilder-release-tools/compare/v0.3.0...v0.4.3 )
Updates `actions/setup-python` from 4 to 5
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4...v5 )
Updates `softprops/action-gh-release` from 1 to 2
- [Release notes](https://github.com/softprops/action-gh-release/releases )
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md )
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2 )
Updates `actions/stale` from 8 to 9
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/stale/compare/v8...v9 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: peter-evans/repository-dispatch
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: kubernetes-sigs/kubebuilder-release-tools
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: softprops/action-gh-release
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: actions/stale
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 10:30:27 +00:00
dependabot[bot]
6204f8f633
🌱 Bump k8s.io/apiextensions-apiserver from 0.29.0 to 0.29.3 ( #402 )
...
Bumps [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver ) from 0.29.0 to 0.29.3.
- [Release notes](https://github.com/kubernetes/apiextensions-apiserver/releases )
- [Commits](https://github.com/kubernetes/apiextensions-apiserver/compare/v0.29.0...v0.29.3 )
---
updated-dependencies:
- dependency-name: k8s.io/apiextensions-apiserver
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 10:27:42 +00:00
Zhiwei Yin
3efb7d3de3
add admissionregistration group to work execution clusterrole ( #401 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2024-04-08 07:54:08 +00:00
StepSecurity Bot
bcbe4d2d00
[StepSecurity] Apply security best practices ( #400 )
...
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io >
2024-04-08 07:51:24 +00:00
Jian Zhu
0ca4546702
🌱 Bump ossf/scorecard-action to 2.3.1 ( #398 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2024-04-08 07:48:38 +00:00
Jian Zhu
e8f593e23e
🌱 Add dependabot to auto update dependencies ( #399 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2024-04-08 07:42:25 +00:00
xuezhao
603a92c26a
CI not fail when codecov upload fails. ( #396 )
...
Signed-off-by: GitHub <noreply@github.com >
2024-04-08 06:44:37 +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
Qing Hao
ff77abd312
upgrade addon-framework ( #383 )
...
Signed-off-by: haoqing0110 <qhao@redhat.com >
2024-03-28 03:15:15 +00:00
Qing Hao
22501d88f7
🌱 set cma managed by addon-manager if not configured ( #374 )
...
* set cma managed by addon-manager if not configured
Signed-off-by: haoqing0110 <qhao@redhat.com >
* update annotation in testing case
Signed-off-by: haoqing0110 <qhao@redhat.com >
* rename controller name
Signed-off-by: haoqing0110 <qhao@redhat.com >
---------
Signed-off-by: haoqing0110 <qhao@redhat.com >
2024-03-25 04:42:58 +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
Matt Prahl
2cd6a6fb99
Fix the valid client certificate check ( #378 )
...
The commit edef33de92 introduced
additional checks on the certificate subject. The issue is that the
order of the groups and organizational units are not consistent, so it
was causing the addon-framework to generate several CSRs with many
coming back as invalid.
This takes the approach of sorting the strings before doing the
comparison.
Signed-off-by: mprahl <mprahl@users.noreply.github.com >
2024-03-15 15:51:36 +00:00
xuezhao
edef33de92
Retrigger CSR when subject org and ou doesn't match. ( #377 )
...
Signed-off-by: GitHub <noreply@github.com >
2024-03-14 08:44:16 +00:00
Wei Liu
1c0c0156e7
update sdk-go ( #376 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2024-03-13 09:48:29 +00:00
Jian Qiu
76aa752ae4
Update sdk-go deps ( #373 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-03-13 01:05:56 +00:00
Qing Hao
b4bf3d0609
update the addon-framework and getSpechHash algorithm ( #371 )
...
Signed-off-by: haoqing0110 <qhao@redhat.com >
2024-03-12 07:46:27 +00:00
Dale Haiducek
863d958295
Fix mode replacement ( #372 )
...
ref: https://issues.redhat.com/browse/ACM-10392
Signed-off-by: Dale Haiducek <19750917+dhaiducek@users.noreply.github.com >
2024-03-12 06:32:10 +00:00
Wei Liu
b1b734aa7a
support cloudevents for manifestworkreplicaset ( #352 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2024-03-06 13:17:22 +00:00
Jian Qiu
92d4f86837
Add a flag for work agent to set raw json length ( #366 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-03-06 03:52:16 +00:00
Zhiwei Yin
27de904495
bump csv to 0.14 ( #365 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2024-03-06 01:40:19 +00:00
Jian Qiu
1c3cb033b0
Bump ocm/api to v0.13.0 ( #361 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
v0.13.0
2024-02-21 08:51:34 +00:00
xuezhao
4d91239a54
Update CRD descriptions. ( #360 )
...
Signed-off-by: GitHub <noreply@github.com >
2024-02-19 08:42:38 +00:00
Yang Le
c5e210af0c
✨ support configuration of the agent priorityclass ( #358 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2024-02-08 06:23:23 +00:00
Jian Zhu
68a6c1f88b
Upgrade addon framework ( #359 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2024-02-05 04:19:44 +00:00
Wei Liu
98ab144e42
update sdk-go lib ( #357 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2024-01-30 07:00:23 +00:00