Commit Graph
11782 Commits
Author SHA1 Message Date
df511fb58f ci: update golangci-lint to the latest version (v1.62)
The ci was using a pretty old version og golangci-lint.
This updates to the latest version.

Additionally, it  silences some
gosec integer conversion overflow false positves
and fixes some real errors of this category
 and string format errors found by golangci-lint, while at it.

Co-authored-by: Blaine Gardner <b.blaine.gardner@gmail.com>
Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
Signed-off-by: Michael Adam <obnox@samba.org>
2024-12-14 14:47:30 +01:00
Blaine Gardner 80903df984 Merge pull request #15138 from jhoblitt/feature/obc-bucket-policy-alt1
object: add bucketPolicy to obc
2024-12-12 14:36:16 -07:00
Joshua Hoblitt 8fd34e88bb test: add obc bucketPolicy integration test
Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
2024-12-12 13:36:26 -07:00
Joshua Hoblitt 97b904c717 object: add obc bucketPolicy
Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
2024-12-12 13:36:26 -07:00
Travis Nielsen a92236879f Merge pull request #15155 from travisn/k8s-1.32
build: Add support for K8s 1.32
2024-12-12 11:24:18 -07:00
Joshua Hoblitt 57b7eeec80 object: add httpClient param to object.NewS3Agent()
To allow the caller to pass in their own transport when testing.

Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
2024-12-12 10:20:41 -07:00
Joshua Hoblitt e5f79dba7f object: factor out bucket.setS3Agent()
Add a s3Agent field to bucket.Provisioner struct as a step towards
allowing the s3Agent / s3 client to be mocked in unit tests.

Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
2024-12-12 10:20:41 -07:00
Travis Nielsen 7c2f41e72e build: add support for k8s 1.32
With the release of K8s 1.32, we update the CI and docs
to support this new release, to maintain the most recent
six releases of K8s.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-12-12 09:48:42 -07:00
Travis Nielsen 72ddccaa2e Merge pull request #15145 from travisn/ceph-quay
ci: Use correct ceph-ci repo
2024-12-11 15:25:17 -07:00
Travis Nielsen 6db75b76b8 ci: use correct ceph-ci repo
The repo should be quay.ceph.io, instead of quay.io

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-12-11 15:24:08 -07:00
Travis Nielsen fd3d301746 Merge pull request #15131 from travisn/squid-default
manifest: Update default ceph version to v19
2024-12-11 15:19:18 -07:00
Travis Nielsen 6c4644bfb8 Merge pull request #15134 from Madhu-1/csi-3.13.0
csi: update cephcsi to latest release
2024-12-11 15:15:11 -07:00
Travis Nielsen 07d8012d36 manifest: update default ceph version to v19
With the v19.2.0 release being out for some time now,
update the default version to be deployed with Rook
as v19.2.0.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-12-11 14:45:26 -07:00
Travis Nielsen ccb4eb0d84 Merge pull request #15139 from travisn/quay-ceph-images
ci: Use images from ceph-ci instead of daemon-base
2024-12-11 14:40:37 -07:00
Madhu Rajanna 07f5700a87 csi: update cephcsi to latest release
cephcsi 3.13.0 is released today and
update the Rook to use the latest image

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2024-12-11 14:31:17 -07:00
Travis Nielsen 85375bf073 ci: use ceph-ci instead of daemon-base images
Ceph has changed the image build process to only require a
dockerfile and stop using the ceph-container repo. The
daily images are pushed to the quay.io/ceph-ci/ceph repo,
so the Rook CI will now start using those images.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-12-11 14:04:46 -07:00
Travis Nielsen 71798f8b34 Merge pull request #15137 from travisn/dashboard-admin-user-check
ci: Suppress the error from creating the dashboard admin user
2024-12-11 14:04:13 -07:00
Travis Nielsen 23f3db1261 ci: suppress the error from creating the dashboard admin user
The dashboard admin rgw user has timing isssues in the CI.
For now, just suppress the CI failure and log the error
until we can spend more time to get a reliable wait for the
user creation.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-12-11 09:42:59 -07:00
Travis Nielsen 9031d50eaa Merge pull request #15136 from cobaltcore-dev/edit-reviewer-list
ci: Add Artem to the reviewers list
2024-12-11 09:35:34 -07:00
Artem Torubarov 56ac613230 ci: add arttor to reviewers list
Signed-off-by: Artem Torubarov <artem.torubarov@clyso.com>
2024-12-11 17:08:26 +01:00
Blaine Gardner ef7ae3476f Merge pull request #15130 from travisn/mergify-host-network
ci: Remove obsolete test check from mergify
2024-12-10 17:07:25 -07:00
Travis Nielsen e5a2d1be1f ci: remove obsolete test check from mergify
The test for disabling host network was removed with the multus
work so there is no longer a need to check for that test
in the mergify list of tests

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-12-10 16:40:52 -07:00
Travis Nielsen 0f45b88f5d Merge pull request #15064 from cobaltcore-dev/rgw_enable_apis
Add rgw_enable_apis option to ObjectStore CRD
2024-12-10 09:57:13 -07:00
Travis Nielsen c366e0cde9 Merge pull request #15114 from Madhu-1/enable-vsg-feature-gate
csi: use new flag to enable VGS feature
2024-12-10 07:55:05 -07:00
Artem Torubarov 83c8ec8160 rgw: add rgw_enable_apis config option
Signed-off-by: Artem Torubarov <artem.torubarov@clyso.com>
2024-12-10 11:53:27 +01:00
Madhu Rajanna 279e5f7cac csi: use new flag to enable VGS feature
In the Alpha Version of the VolumeGroupSnapshot
Feature the flag to enable the feature was
`--enable-volume-group-snapshots=true` and in the beta
API the feature is diasbled by default to enable it
we need to set `--feature-gate=CSIVolumeGroupSnapshot=true`

There is a change in the flag between the API version
This PR add a code where we choose the required
flag based on the API version.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2024-12-10 08:56:45 +01:00
Travis Nielsen 2c207202c9 Merge pull request #15086 from zdover23/wip-doc-2024-12-04-Storage-Configuration-Block-Storage-RBD-block-storage-provision-storage
block-storage.md: Add formatting to namespaces
2024-12-09 16:39:53 -07:00
Blaine Gardner e6db006501 Merge pull request #15035 from BlaineEXE/object-revert-cosi-user-autocreation
Revert "object: create cosi user for each object store"
2024-12-09 16:21:58 -07:00
Blaine Gardner 61ea12f65b Merge pull request #15105 from BlaineEXE/upgrade-guide-1.16
docs: update guides and examples for v1.16 release
2024-12-09 16:20:28 -07:00
Travis Nielsen 232d046e3c Merge pull request #15045 from travisn/upgrade-1.16
tests: Upgrade from Rook 1.15 to master
2024-12-09 16:19:14 -07:00
Travis Nielsen a8b7dbfa60 Merge pull request #15056 from b1-systems/prs/add-support-for-named-mds-metadata-pools
file: Add support for named MDS metadata pool names
2024-12-09 13:59:54 -07:00
Blaine Gardner 79e767e0e7 docs: remove deprecated toplogyKey beta labels
Remove long-deprecated topologyKey beta label from examples:
failure-domain.beta.kubernetes.io/zone

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
2024-12-09 11:59:20 -07:00
Blaine Gardner 9bf562c253 docs: update guides and examples for v1.16 release
Update upgrade guides, docs, and exmaple manifests for the Rook v1.16
release.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
2024-12-09 11:57:08 -07:00
Travis Nielsen 864281ce13 Merge pull request #15110 from rook/dependabot/go_modules/golang.org/x/sync-0.10.0
build(deps): bump golang.org/x/sync from 0.9.0 to 0.10.0
2024-12-09 10:09:41 -07:00
Travis Nielsen 4461767fcb Merge pull request #15112 from rook/dependabot/github_actions/reviewdog/action-misspell-1.26.1
build(deps): bump reviewdog/action-misspell from 1.23.0 to 1.26.1
2024-12-09 10:09:12 -07:00
Travis Nielsen acf86fbe91 Merge pull request #15113 from rook/dependabot/github_actions/github/codeql-action-3.27.6
build(deps): bump github/codeql-action from 3.27.5 to 3.27.6
2024-12-09 10:08:49 -07:00
dependabot[bot] 355ae3d29d build(deps): bump github/codeql-action from 3.27.5 to 3.27.6
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.5 to 3.27.6.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/f09c1c0a94de965c15400f5634aa42fac8fb8f88...aa578102511db1f4524ed59b8cc2bae4f6e88195)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-09 12:24:28 +00:00
dependabot[bot] b2623b0b21 build(deps): bump reviewdog/action-misspell from 1.23.0 to 1.26.1
Bumps [reviewdog/action-misspell](https://github.com/reviewdog/action-misspell) from 1.23.0 to 1.26.1.
- [Release notes](https://github.com/reviewdog/action-misspell/releases)
- [Commits](https://github.com/reviewdog/action-misspell/compare/ef8b22c1cca06c8d306fc6be302c3dab0f6ca12f...18ffb61effb93b47e332f185216be7e49592e7e1)

---
updated-dependencies:
- dependency-name: reviewdog/action-misspell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-09 12:24:22 +00:00
dependabot[bot] 0649604355 build(deps): bump golang.org/x/sync from 0.9.0 to 0.10.0
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.9.0 to 0.10.0.
- [Commits](https://github.com/golang/sync/compare/v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-09 12:06:50 +00:00
Blaine Gardner 700edb0b31 Merge pull request #15094 from obnoxxx/simplify-codegen-workflow
ci: simplify the codegen workflow a bit
2024-12-06 12:08:33 -07:00
Tobias Wolf 675678fad6 file: add support for named mds metadata pool names
This commit adds optional support to specify the MDS metadata pool name. It defaults to `<fsName>-metadata` as current implementation expects but allows customization if needed e.g. if exisiting naming conventions used `<fsName>_metadata`. Additionally an "preservePoolNames" boolean has been added to indicate that no generated pool names should be used.

Signed-off-by: Tobias Wolf <wolf@b1-systems.de>
2024-12-06 09:16:47 +01:00
Travis Nielsen 476827eff6 Merge pull request #14776 from sp98/osd-migration
migrate OSDs to enable encryption as day-2 operation
2024-12-05 23:24:42 -07:00
Santosh Pillai 85c81946ce osd: enable encryption as day-2 operation
Migrate OSDs to enable encryption as day-2 operation.

Signed-off-by: Santosh Pillai <sapillai@redhat.com>
2024-12-06 09:33:03 +05:30
Travis Nielsen 324df99be8 Merge pull request #15066 from parth-gr/fix-osd-deviceclass
osd: fix device class label on osd pod
2024-12-05 16:20:47 -07:00
Michael Adam 46fae529eb ci: simplify the codegen workflow a bit
the codegen ci workflow was previously fixed by copying the checkout dir
to the GOPATH. With the updated codegen tooling, this alignment is not a
requirement any more.

This simplifies the codegen workflow again by reverting the earlier
changes that added the copy mechanism.

This reverts commit 714f80a80a.
This reverts commit f32d3df995.

Signed-off-by: Michael Adam <obnox@samba.org>
2024-12-05 19:19:38 +01:00
Blaine Gardner fe9664f7c0 Merge pull request #14915 from obnoxxx/update-codegen
build: Update codegen
2024-12-05 09:46:27 -07:00
parth-gr 50d6d6ab5f osd: fix osd resources per device class
GetOSDResources method was populating
wrong device class to get the osd
resources
This fix will fix the deviceClass label
for the GetOSDResources function

Signed-off-by: parth-gr <partharora1010@gmail.com>
2024-12-05 16:56:09 +05:30
parth-gr 01456e8683 osd: add a new devicetype label for osds
currently device class and device type
labels were clubbed with eachother
create a seperate label, as these two labels
can be seperate

Signed-off-by: parth-gr <partharora1010@gmail.com>
2024-12-05 16:56:04 +05:30
9e725b6214 build: upgrade codegen tooling to the latest version
This includes and is based on the changes of:

https://github.com/rook/rook/pull/14894

Co-authored-by: Blaine Gardner <b.blaine.gardner@gmail.com>
Co-authored-by: subhamkrai <srai@redhat.com>
Signed-off-by: Michael Adam <obnox@samba.org>

Fixes: #14894
2024-12-04 21:00:10 +01:00
Blaine Gardner 44e96c8ab6 Merge pull request #15080 from OdedViner/annotations_cephcluster
core: Fix Annotations.Merge to prevent side effects
2024-12-04 10:30:01 -07:00