Commit Graph
13292 Commits
Author SHA1 Message Date
Michael Adam c8a1bb21f6 build: update api go module dependencies
Signed-off-by: Michael Adam <obnox@samba.org>
2024-12-16 19:52:15 +01:00
Travis Nielsen a6595e9754 Merge pull request #14456 from yaguangtang/exporter-secret-not-create-issue
external: fix exporter secret isn't created with external cluster
2024-12-16 10:58:23 -07:00
Travis Nielsen 3170ac6a0c Merge pull request #15158 from Lykos153/docs/rgw-swift-url-prefix
docs: Fix misleading example for urlPrefix
2024-12-16 09:30:35 -07:00
Blaine Gardner 72c7f2fbb1 Merge pull request #15132 from obnoxxx/update-golangci-lint
ci: update golangci-lint to the latest version (v1.62)
2024-12-16 09:09:12 -07:00
Michael Adam 26b4fb06d5 core: add function roundupSizeMiB
This change  refactors inline roundup code to a function
roundup_size_MiB that takes a size(in bytes) as argument and returns
the smallest number of Mibibytes larger than or equal to the given size.

Signed-off-by: Michael Adam <obnox@samba.org>
2024-12-16 15:30:47 +01:00
dependabot[bot] 0b228df125 build(deps): bump wagoid/commitlint-github-action from 6.1.2 to 6.2.0
Bumps [wagoid/commitlint-github-action](https://github.com/wagoid/commitlint-github-action) from 6.1.2 to 6.2.0.
- [Changelog](https://github.com/wagoid/commitlint-github-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/wagoid/commitlint-github-action/compare/3d28780bbf0365e29b144e272b2121204d5be5f3...0184f5a228ee06430bb9e67d65f73a1a6767496a)

---
updated-dependencies:
- dependency-name: wagoid/commitlint-github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-16 12:05:08 +00:00
dependabot[bot] 4a59be5a11 build(deps): bump github/codeql-action from 3.27.6 to 3.27.9
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.6 to 3.27.9.
- [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/aa578102511db1f4524ed59b8cc2bae4f6e88195...df409f7d9260372bd5f19e5b04e83cb3c43714ae)

---
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-16 12:05:06 +00:00
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
Yaguang Tang 1563d32fbb external: fix exporter secret isn't created with external cluster
Fix the issue when using with external ceph cluster, ceph exporter
secret isn't created which cause ceph-exporter fail to run. By
default this option is false means ceph-exporter will run for
external cluster.

monitoring
  metricsDisabled: false

This patch also adds metricsDisabled option to helm values.yaml.

fixes #14275

Signed-off-by: Yaguang Tang <heut20008@gmail.com>
2024-12-13 17:01:08 -07: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
Silvio Ankermann fcce3ca520 docs: fix misleading example for urlPrefix
The default value for protocols.swift.urlPrefix is "swift", which makes
the Swift API available at http://host:port/swift/v1. However, in the
documentation our example says "/swift", which resulted in the
unexpected endpoint http://host:port//swift/v1.

Apparently, Ceph distinguishes between both values even though their
docs[1] seem to suggest that using leading slashes is fine.

This commit fixes the examples in the documentation to use the default
value "swift".

[1]
https://docs.ceph.com/en/reef/radosgw/config-ref/#confval-rgw_swift_url_prefix

Fixes #15065

Signed-off-by: Silvio Ankermann <silvio.ankermann@cloudandheat.com>
2024-12-12 21:08:20 +01:00
Blaine Gardner d3b9b74165 doc: design ceph config passthru for object store
Add a design for CephObjectStore to allow users to pass through Ceph
configs (e.g., `rgw_enable_apis`, `debug_rgw`) to the object store. This
design will help users set configs that they want for their environments
that aren't covered under Rook's umbrella of managed configs. This will
benefit users by allowing them to make use of rare RGW features that
Rook devs don't have ability to prioritize, as well as newly-released
RGW features that Rook devs haven't had time to plan API interfaces for.
This frees up Rook developers to focus effort on implementing APIs that
have integration benefits with Kubernetes or other resources and less
effort on simple configs.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
2024-12-12 11:44:23 -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