Commit Graph
11818 Commits
Author SHA1 Message Date
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
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
Travis Nielsen 71dcc6fe00 Merge pull request #15187 from rook/mergify/bp/release-1.16/pr-15185
test: fix flaky object config unit test (backport #15185)
2024-12-17 11:29:29 -07:00
Blaine Gardner 80d11e66d4 doc: add object advanced config and vol mount example
Add a sample to the CephObjectStore Advanced configuration section which
shows how the new `rgwConfig` option can be used with the
`additionalVolumeMounts` setting.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit c845d36b20)
2024-12-17 18:29:22 +00:00
Blaine Gardner 68eff7b591 test: fix flaky object config unit test
Use testify/assert.Equal() to compare maps. Comparing string
representations of maps is supposed to be stable but is flaking in GH
actions CI.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit 92c95fcc16)
2024-12-17 17:36:37 +00:00
Deepika Upadhyay b8f4c920e4 object: add rgw ops sidecar for op logs
the rgw operations for s3 can now be accessible using sidecar
rgw-ops-log availabe in json form that can be further filtered logging
for observability, this will set the rgw_enable_ops_log setting

Signed-off-by: Deepika Upadhyay <deepika.upadhyay@clyso.com>
(cherry picked from commit c5d27467d6)
2024-12-17 17:36:14 +00:00
Travis Nielsen eeb3aa1228 Merge pull request #15182 from rook/mergify/bp/release-1.16/pr-15178
ceph: Update s5cmd to resolve vulnerabilities (backport #15178)
2024-12-17 10:26:26 -07:00
Blaine Gardner 7911c48c88 Merge pull request #15179 from rook/mergify/bp/release-1.16/pr-15153
rgw: bulk data pool by default (backport #15153)
2024-12-17 09:52:12 -07:00
TomHellier 5bd2c7b931 build: update s5cmd to resolve vulnerabilities
The docker.io/rook/ceph image contains vulnerabilities in the s5cmd binary.
A new version of s5cmd was released on 16th December which resolves these issues.

Signed-off-by: TomHellier <me@tomhellier.com>
(cherry picked from commit a87843de62)
2024-12-17 15:20:25 +00:00
Artem Torubarov 6008733b55 rgw: bulk data pool by default
update CephObjecStore examples to set bulk=true for data pools by default

Signed-off-by: Artem Torubarov <artem.torubarov@clyso.com>
(cherry picked from commit e3c3aafe09)
2024-12-17 14:17:20 +00:00
Blaine Gardner 19f7145323 Merge pull request #15175 from rook/mergify/bp/release-1.16/pr-15160
object: allow overriding rgw configs and flags (backport #15160)
2024-12-16 16:11:55 -07:00
Blaine Gardner 95764f590b object: allow overriding rgw configs and flags
Implement #15119

Allow users to override RGW configurations by specifying Ceph config
options in the CephObjectStore. For configurations that require RGW to
be restarted when the config is applied, allow configs to be specified
as CLI arguments to the RGW as well.

This is an advanced option and is documented as such. Users should be
careful to understand the values they are setting, as there is no
validation to prevent the object store from breaking when these configs
are used.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit aaa16488de)
2024-12-16 22:30:48 +00:00
Blaine Gardner 07bf3d06c6 Merge pull request #15174 from rook/mergify/bp/release-1.16/pr-15115
build: Update api gomod dependencies (backport #15115)
2024-12-16 15:13:51 -07:00
Travis Nielsen a277f52233 test: add new default fields to csi unit test
With the updated dependencies, the csi unit tests
require new default fields in the comparison of the
json test blob.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 2fdf173ddf)
2024-12-16 14:47:43 -07:00
Michael Adam cab7723632 build: update api go module dependencies
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit c8a1bb21f6)
2024-12-16 14:47:36 -07:00
Travis Nielsen cef7f2c868 Merge pull request #15173 from rook/mergify/bp/release-1.16/pr-14456
external: fix exporter secret isn't created with external cluster (backport #14456)
2024-12-16 11:49:52 -07:00
Travis Nielsen 0ba187c3ae Merge pull request #15159 from rook/mergify/bp/release-1.16/pr-15138
object: add bucketPolicy to obc (backport #15138)
2024-12-16 11:29:38 -07:00
Travis Nielsen 4637143c02 Merge pull request #15172 from rook/mergify/bp/release-1.16/pr-15158
docs: Fix misleading example for urlPrefix (backport #15158)
2024-12-16 11:27:10 -07:00
Travis Nielsen 7fc5bb88d8 Merge pull request #15170 from rook/mergify/bp/release-1.16/pr-15132
ci: update golangci-lint to the latest version (v1.62) (backport #15132)
2024-12-16 11:26:47 -07:00
Yaguang Tang d85e6c7a6b 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>
(cherry picked from commit 1563d32fbb)
2024-12-16 17:59:45 +00:00