Commit Graph
11836 Commits
Author SHA1 Message Date
Joshua Hoblitt 3bc1597e7c object: add obc bucketLifecycle
Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
(cherry picked from commit a55fdb3fbe)
2025-01-22 17:20:38 +00:00
Blaine Gardner 85e8be0f4e Merge pull request #15312 from rook/mergify/bp/release-1.16/pr-15310
ci: codespell: s/re-using/reusing/ (backport #15310)
2025-01-21 16:16:42 -07:00
Joshua Hoblitt d15f25fcac ci: codespell: s/re-using/reusing/
Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
(cherry picked from commit f52f48c477)
2025-01-21 23:01:09 +00:00
Travis Nielsen 3efc5dbead Merge pull request #15290 from travisn/release-1.16.2
build: Set release version to v1.16.2
v1.16.2
2025-01-16 14:50:47 -07:00
Travis Nielsen d5b76c3268 build: set release version to v1.16.2
For the patch release update the docs and examples
to v1.16.2

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2025-01-16 14:03:13 -07:00
Travis Nielsen bb2efcc5f6 Merge pull request #15247 from rook/mergify/bp/release-1.16/pr-15242
osd: use bluestore if store type is empty (backport #15242)
2025-01-16 14:00:42 -07:00
Santosh Pillai 682c2fabfb osd: use bluestore if store type is empty
If store type is empty in the cephCluster spec, use bluestore

Signed-off-by: Santosh Pillai <sapillai@redhat.com>
(cherry picked from commit e44dd3ad74)
2025-01-16 20:34:23 +00:00
Travis Nielsen eb3995a217 Merge pull request #15287 from rook/mergify/bp/release-1.16/pr-15270
operator: omit values from mon db config logs (backport #15270)
2025-01-16 13:25:02 -07:00
Travis Nielsen 7d1c0b4b97 Merge pull request #15285 from rook/mergify/bp/release-1.16/pr-15258
core: add tolerations to crashcollector pruner cronJob pod (backport #15258)
2025-01-16 13:21:07 -07:00
Artem 6c77505e91 operator: omit mon db config value log
Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
Signed-off-by: Artem Torubarov <artem.torubarov@clyso.com>
(cherry picked from commit db88970641)
2025-01-16 18:30:29 +00:00
Artem Torubarov 4461cb96ea operator: omit values from mon db config logs
Signed-off-by: Artem Torubarov <artem.torubarov@clyso.com>
(cherry picked from commit a44ae0fdc6)
2025-01-16 18:30:29 +00:00
Oded Viner b3606dcbf6 core: add tolerations to crashcollector pruner cronJob pod
This PR addresses an issue where the CrashCollector Pruner
CronJob pods were stuck in a Pending state due to missing
tolerations in their PodTemplateSpec.
These tolerations were not being propagated from the
cephClusterSpec.placement.all field.
Added tolerations to the PodTemplateSpec of the
CrashCollector Pruner CronJob.

Signed-off-by: Oded Viner <oviner@redhat.com>
(cherry picked from commit 8817a1a703)
2025-01-16 17:01:00 +00:00
Travis Nielsen 5aae337dad Merge pull request #15268 from rook/mergify/bp/release-1.16/pr-15261
doc: add basic obc bucketPolicy description (backport #15261)
2025-01-16 08:38:57 -07:00
Travis Nielsen 97146dbbe6 Merge pull request #15280 from rook/mergify/bp/release-1.16/pr-15276
Fix s5cmd arch (backport #15276)
2025-01-16 08:38:46 -07:00
subham rai b1d918c0bf Merge pull request #15278 from rook/mergify/bp/release-1.16/pr-15275
Update Kubernetes CSI sidecar images to current versions (backport #15275)
2025-01-16 17:19:07 +05:30
Michael Adam 3ee87dcc3a build: fix S5CMD_ARCH calculation
In image building, when building on arm based systems,
the s5cmd tool was added with the wrong architecture
(amd64 instead of arm64).

This change fixes the architecture of the s5cmd to match the
architecture of the image built.

Fixes: #15262

Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit e34c41ce2c)
2025-01-15 18:04:24 +00:00
Michael Adam b2d3d2c15c build: move a Makefile comment to a more appropriate place
in the image building Makefile, a comment explaining the construction
of the operator-sdk download URL was in a wrong place.

Now it is moved to the lines that it actually explains.

Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 0649cd38ac)
2025-01-15 18:04:23 +00:00
Niels de Vos bf54ae166f csi: update Kubernetes CSI sidecar images to current versions
The Kubernetes CSI sidecars have had several releases that were not
included in deployments by Rook yet, update them to the versions that
are available today:

- csi-node-driver-registrar:v2.13.0
- csi-provisioner:v5.1.0
- csi-attacher:v4.8.0
- csi-resizer:v1.13.1

Signed-off-by: Niels de Vos <ndevos@ibm.com>
(cherry picked from commit 955fa9cae4)
2025-01-15 17:01:31 +00:00
Joshua Hoblitt 78177b57f6 doc: add basic obc bucketPolicy description
Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
(cherry picked from commit 59c5c045b7)
2025-01-14 16:52:20 +00:00
Travis Nielsen 9e41aeff11 Merge pull request #15267 from rook/mergify/bp/release-1.16/pr-15264
csi: Set driver name to same as the operator namespace (backport #15264)
2025-01-14 09:41:25 -07:00
Travis Nielsen 6c1bb750e5 csi: set driver name to same as the operator namespace
The operator namespace is where the csi driver resources
are being created. The prefix is expected to match the
namespace where the driver is being created.
It was an incorrect change from 15245 where it
had been assumed that the cluster prefix name was
required instead.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit f9ebaf3418)
2025-01-14 16:14:01 +00:00
Travis Nielsen 5221198c35 Merge pull request #15249 from rook/mergify/bp/release-1.16/pr-15245
csi: Set correct driver name with csi operator (backport #15245)
2025-01-09 11:34:02 -07:00
Travis Nielsen 732743a7aa Merge pull request #15252 from rook/mergify/bp/release-1.16/pr-15243
external: fix rados namespace sc name (backport #15243)
2025-01-09 09:59:08 -07:00
parth-gr cff2990dc6 external: fix rados namespace sc name
Currently, the sc name is hardcoded,
in future if we support multiple rados
namespace per tenant we need a variable name
updating sc names to contain rados-namespace name
ocs pr: https://github.com/red-hat-storage/ocs-operator/pull/2955

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 61de34a11d)
2025-01-09 16:19:49 +00:00
Travis Nielsen 8c2ee6770c csi: set correct driver name with csi operator
When the cluster is in a different namespace from the rook
operator, the csi provider name was setting the incorrect
namespace prefix. Now the prefix will be the same as the
ceph cluster namespace.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit ac1767fa0f)
2025-01-09 06:57:00 +00:00
Travis Nielsen 02c0e8448d core: remove unnecessary param to watch namespaces
Cleanup obsolete code where the context no longer needs
to be passed as a parameter to determine the namespaces
to watch.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 82c82bbe13)
2025-01-09 06:56:59 +00:00
Travis Nielsen 9a985f83a2 Merge pull request #15237 from rook/mergify/bp/release-1.16/pr-15235
ci: update golang.org/x/net to 0.33 (backport #15235)
2025-01-03 08:24:36 -07:00
Santosh Pillai e1f22fbe22 ci: update golang.org/x/net to 0.33
fixes the high severity DOS vulnerability mentioned in
https://security.snyk.io/vuln/SNYK-GOLANG-GOLANGORGXNETHTML-8535262

Signed-off-by: Santosh Pillai <sapillai@redhat.com>
(cherry picked from commit c4bf5637d2)
2025-01-03 14:32:24 +00:00
Travis Nielsen 4bc7d0f41b Merge pull request #15229 from travisn/release-1.16.1
build: Set release version to v1.16.1
v1.16.1
2025-01-02 11:04:49 -07:00
Travis Nielsen f926ac8af5 build: set release version to v1.16.1
For the patch release update the docs and examples
to v1.16.1.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2025-01-02 10:20:58 -07:00
Travis Nielsen db8fca879c Merge pull request #15230 from rook/mergify/bp/release-1.16/pr-15037
csi: update groupsnapshot container arg (backport #15037)
2025-01-02 10:20:15 -07:00
Madhu Rajanna e2fde705f7 doc: update the vgs doc for beta API
updating the VGS document to match the
betav1 API.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit d65c62e743)
2025-01-02 16:33:35 +00:00
Madhu Rajanna 4036d81b6f csi: remove extra RBAC access for create
With new version of external snapshotter
we dont need extra RBAC permission to
create the volumesnapshot and
volumesnapshotcontent

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 2fdf7dab5f)
2025-01-02 16:33:35 +00:00
Madhu Rajanna a7e7b18269 doc: update groupsnapshot to betav1
updating the groupsnapshot to betav1 api.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 610126c560)
2025-01-02 16:33:34 +00:00
Travis Nielsen 181007e367 Merge pull request #15213 from rook/mergify/bp/release-1.16/pr-15199
object: add opsLogSidecar to gateway subsection from zone (backport #15199)
2025-01-02 08:13:34 -07:00
Travis Nielsen b59e45673d Merge pull request #15216 from rook/mergify/bp/release-1.16/pr-15215
tests: Canary tests to wait for first mon to start (backport #15215)
2025-01-02 08:12:45 -07:00
Travis Nielsen 16490b0f3c tests: canary tests to wait for first mon to start
Many of the canary tests have been failing much more
frequently in the past week or two. The test is typically
timing out pulling the image from quay.ceph.io since
it does not have as high bandwidth for the images.
A check is added to the test to wait specifically for the
first mon so it waits sufficiently for the image pull
before checking for other ceph daemons.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 56c6659655)
2024-12-20 21:34:00 +00:00
Deepika Upadhyay d06267c112 object: move opsLogSidecar to gateway subsection from zone subsection
Update YAML configuration to correctly place the opsLogSidecar field
under gateway.opsLogSidecar instead of zone.opsLogSidecar, as it is a
configuration option specific to the RGW gateway.

Signed-off-by: Deepika Upadhyay <deepika.upadhyay@clyso.com>
(cherry picked from commit e821edc24b)
2024-12-20 19:25:56 +00:00
Travis Nielsen 83eeafc2cd Merge pull request #15212 from rook/mergify/bp/release-1.16/pr-15209
mgr: fix label selector when updating mgr active label (backport #15209)
2024-12-20 11:20:43 -07:00
Denis Egorenko f15fa4ed49 mgr: fix label selector when updating mgr active label
Fix label selector for watch-active mgr container: during update active mgr label,
add missed app=rook-ceph-mgr label, to avoid setting label for mon pod.

Resolves: #15208
Signed-off-by: Denis Egorenko degorenko@mirantis.com
(cherry picked from commit 009a0d9f6f)
2024-12-20 17:28:42 +00:00
Blaine Gardner 6da8ef89d9 Merge pull request #15202 from rook/mergify/bp/release-1.16/pr-15196
csi: csi-snapshotter flag typo; upgrade csi-snapshotter (backport #15196)
2024-12-18 09:08:05 -07:00
Steven Kreitzer 477b7fd0f4 csi: csi-snapshotter flag typo; upgrade csi-snapshotter
Signed-off-by: Steven Kreitzer <skre@skre.me>
(cherry picked from commit 463d9fb420)
2024-12-18 15:39:21 +00:00
subham rai fb5ab477a2 Merge pull request #15198 from rook/mergify/bp/release-1.16/pr-15191
docs: Remove obsolete min csi version (backport #15191)
2024-12-18 15:15:41 +05:30
Travis Nielsen 8375a55f1a docs: remove obsolete min csi version
The csi version is no longer checked by Rook. If the user
changes the default csi version, it's their responsibility
to ensure it is updated according to the upgrade guide,
we just don't officially have a min version anymore.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 26ff895f0a)
2024-12-18 06:42:39 +00:00
Travis Nielsen 1c9c9f36ec Merge pull request #15190 from travisn/release-1.16.0
build: Update release version to v1.16.0
v1.16.0
2024-12-17 13:27:30 -07:00
Blaine Gardner ec68ccca86 Merge pull request #15192 from rook/mergify/bp/release-1.16/pr-15189
test: ignore rgw cli flag order in unit test (backport #15189)
2024-12-17 13:05:36 -07:00
Blaine Gardner fba91ba6f5 test: ignore rgw cli flag order in unit test
In the unit test that ensures `rgwCommandFlags` works properly, ignore
the ordering of the flags. Golang maps are used underneath, which
results in random flag ordering. This is fine as long as the
`rgwCommandFlags` are still guaranteed to be appended to the args Rook
normally applies.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit 37c3cc9fba)
2024-12-17 19:42:37 +00:00
Travis Nielsen b29d17eb7b build: update release version to v1.16.0
For the minor release update the docs and examples
to v1.16.0.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-12-17 12:32:03 -07:00
Travis Nielsen 0a27580eb0 Merge pull request #15188 from rook/mergify/bp/release-1.16/pr-15176
doc: add object advanced config and vol mount example (backport #15176)
2024-12-17 11:33:51 -07:00
Travis Nielsen d61c516005 Merge pull request #15186 from rook/mergify/bp/release-1.16/pr-14646
add rgw ops sidecar for op logs (backport #14646)
2024-12-17 11:30:21 -07:00