Commit Graph
12410 Commits
Author SHA1 Message Date
Travis Nielsen 433a16c090 Merge pull request #15951 from OdedViner/target_size_ratio_negative
pool: support targetSizeRatio=0 and default compressionMode=""
2025-06-11 07:35:24 -06:00
subham rai 5a99d116c3 Merge pull request #15996 from OdedViner/fix-radosnamespace-log
core: fix radosnamespace log message
2025-06-11 17:36:55 +05:30
Oded Viner 41d6baf0e1 core: fix radosnamespace log message
change logger.info to logger.infof to correctly print
radosnamespace name and namespace

Signed-off-by: Oded Viner <oviner@redhat.com>
2025-06-11 14:29:28 +03:00
Oded Viner dd65dc15d8 pool: support targetSizeRatio=0 and default compressionMode=""
allow targetSizeRatio == 0
enforce targetSizeRatio >= 0 via +kubebuilder:validation
set targetSizeRatio and compressionMode="" if unset
remove IsTargetRatioEnabled() and IsCompressionEnabled()

Signed-off-by: Oded Viner <oviner@redhat.com>
2025-06-11 12:36:19 +03:00
Blaine Gardner 029c345372 Merge pull request #15813 from BlaineEXE/auth-rotate
object: automate RGW cephx key rotation
2025-06-10 12:51:50 -06:00
Travis Nielsen a8ef4f8775 Merge pull request #15978 from travisn/roadmap-1.18
docs: Update roadmap for v1.18
2025-06-10 11:25:57 -06:00
Travis Nielsen 15ed0479a7 Merge pull request #15989 from parth-gr/fix-mirroring
rbdmirror: fix the nil point error check during status updates
2025-06-10 10:16:44 -06:00
Blaine Gardner 5f50e85a25 object: implement cephx key rotation for rgw keys
This is the first implementation of CephX key rotation in Rook.
Adds key rotation API from design PR 15915.

Also add helper methods for rotating keys, determining when keys
need to be rotated, and for generating CephX key statuses. These will be
reusable for other Rook reconciles beyond object/RGW.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
2025-06-10 09:06:58 -06:00
parth-gr 0b4f89873c rbdmirror: fix the nil point error check during status updates
the status  was still reading from the nil state,
updated the code to dont read from  nil object

Signed-off-by: parth-gr <partharora1010@gmail.com>
2025-06-10 20:24:53 +05:30
Travis Nielsen 3ae7892991 Merge pull request #15957 from obnoxxx/helm-improve-helm-sh
Helm: improve implementation and documentation of  helm.sh
2025-06-10 07:54:15 -06:00
Travis Nielsen 8d392ff386 Merge pull request #15979 from hedgieinsocks/fix_promrule_old_helm
helm(rook-ceph-cluster): use nested if clauses in prometheusrule template
2025-06-09 16:13:00 -06:00
Artyom Babiy 1f183bd675 helm(rook-ceph-cluster): use nested if clauses in prometheusrule template
This change returns the use of nested if clauses
instead of `and` function shortcut to avoid errors
in older helm versions.

Signed-off-by: Artyom Babiy <artyom.babiy@gmail.com>
2025-06-09 23:22:10 +03:00
Travis Nielsen 7eae1b97bb docs: update roadmap for v1.18
Update the high level roadmap doc for the v1.18 release
targeted for August.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2025-06-09 14:10:50 -06:00
Travis Nielsen 884e6c905f Merge pull request #15928 from hedgieinsocks/allow_prom_rule_edit
helm(rook-ceph-cluster): allow prometheusrule edits
2025-06-09 11:57:17 -06:00
Travis Nielsen 428d15b35b Merge pull request #15974 from elias-dbx/rgw_docs_bullet_fix
doc: fixup bullet points on rgw docs
2025-06-09 11:01:51 -06:00
Elias Carter 5a292f1b52 doc: fixup bullet points on rgw docs
In #15961 I updated the rgw docs, but I was looking at the published
docs and the bulleting is broken now for Gateway Settings. When I was
working on the PR I was just using the markdown preview in my editor and
wan't using the `docs-preview` target. It turns out that the markdown
editor and mkdocs render things differently.

This PR fixes the bullet formatting and I verified the fix by running
`make docs-preview` on my box and double checking the local website.

Signed-off-by: Elias Carter <elias@dropbox.com>
2025-06-09 16:18:41 +00:00
subham rai 91300d718d Merge pull request #15970 from rook/dependabot/github_actions/github/codeql-action-3.28.19
build(deps): bump github/codeql-action from 3.28.18 to 3.28.19
2025-06-09 20:53:38 +05:30
subham rai ac20ac5627 Merge pull request #15971 from rook/dependabot/go_modules/golang.org/x/sync-0.15.0
build(deps): bump golang.org/x/sync from 0.14.0 to 0.15.0
2025-06-09 20:53:00 +05:30
dependabot[bot] d0f1a2030a build(deps): bump golang.org/x/sync from 0.14.0 to 0.15.0
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.14.0 to 0.15.0.
- [Commits](https://github.com/golang/sync/compare/v0.14.0...v0.15.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-09 13:23:22 +00:00
dependabot[bot] d119053d45 build(deps): bump github/codeql-action from 3.28.18 to 3.28.19
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.18 to 3.28.19.
- [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/ff0a06e83cb2de871e5a09832bc6a81e7276941f...fca7ace96b7d713c7035871441bd52efbe39e27e)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-09 13:06:08 +00:00
Santosh Pillai 2c1bb7443a Merge pull request #15796 from sp98/clean-osd-disks-from-old-clusters
osd: clean osd disks before reinstalling cluster
2025-06-09 14:03:49 +05:30
Artyom Babiy 6468255191 helm(rook-ceph-cluster): allow prometheusrule edits
This change allows the chart consumer to optionally
edit PrometheusRule CR by either disabling individual
alerts or tweaking their configuration.

Signed-off-by: Artyom Babiy <artyom.babiy@gmail.com>
2025-06-07 16:04:49 +03:00
Blaine Gardner cd2d887c92 Merge pull request #15961 from elias-dbx/rgw_docs
doc: improve documentation around object store certificates
2025-06-06 10:46:52 -06:00
Michael AdamandTravis Nielsen 1b43ae996c docs: improve dev guide regarding helm installation
The development guide mentioned that `tests/scripts/helm.sh up` would
install and set up the charts built under  `_output/charts`.

This is not correct as the script only downloads helm to a temporary
directry.

This change improves the dev guide by removing  these  incorrect
statements.

Signed-off-by: Michael Adam <obnox@samba.org>
Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
2025-06-06 17:51:40 +02:00
Michael Adam ef267ee8bf helm: remove mention of helm.sh clean
tests/scripts/helm.sh clean is not implemented.

So  remove frpom the script's help text
and from the development guilde

Signed-off-by: Michael Adam <obnox@samba.org>
2025-06-06 17:51:40 +02:00
Travis Nielsen 77b32fa5b3 Merge pull request #15962 from praveen21b/bf/csi-logCollector
csi: Replace hardcoded imagePullPolicy with dynamic Go template
2025-06-06 08:54:07 -06:00
Santosh Pillai 2bcf196b15 osd: clean osd disks before reinstalling cluster
Allow force creation of OSD on a device previously configured in a different ceph cluster.
The OSD prepare pod job will zap the OSD disk using ceph-volume lvm zap
if that disk has metadata from a different ceph cluster.

Signed-off-by: Santosh Pillai <sapillai@redhat.com>
2025-06-06 16:32:18 +05:30
Praveen Hosamani 0c0e94e43c build: make imagePullPolicy dynamic
Signed-off-by: Praveen Hosamani <praveen.h119@gmail.com>
2025-06-06 12:51:03 +02:00
Elias Carter 0605067a7d doc: improve documentation around object store certificates
The documentaiton around object store certificates does not specify how
to deal with internally issued certs being used on the RGW. From my
testing it is possible to get the rook operator to validate the RGW
certs if the entire certificate chain is put into the `cert` field of
the `sslCertificateRef` secret.

Additionally, the docs are linking to a broken civetweb link but rook is
now using the beast frontend, so I fixed that link to point towards the
beast frontend documentation instead.

There was also some confusion around the `caBundleRef` and how that is
used so I made the docs more explicit that the `caBundleRef` is used by
the RGW to connect to external services such as LGW and mulitsite RGW.

Signed-off-by: Elias Carter <elias@dropbox.com>
2025-06-05 23:01:05 +00:00
Travis Nielsen c5a442553e Merge pull request #15958 from obnoxxx/build-add-target-markdownlint.fix
build: add make  target markdownlint.fix
2025-06-05 12:45:51 -06:00
Michael Adam a132f64839 build: add make target markdownlint.fix
now `make markdownlint.fix` can be run to
fix markdownlint errors.

Signed-off-by: Michael Adam <obnox@samba.org>
2025-06-05 13:17:11 +02:00
Travis Nielsen d013b479b0 Merge pull request #15952 from obnoxxx/helm-update-version
ci: use latest helm version
2025-06-04 11:37:47 -06:00
Michael Adam 7c05f532ce helm: use the latest version
update the helm version used to the latest (v3.18.2)

Signed-off-by: Michael Adam <obnox@samba.org>
2025-06-04 19:01:47 +02:00
Travis Nielsen 5b47e6b1ba Merge pull request #15945 from anthonyeleven/improve-db
doc: improve ceph-managed-disruptionbudgets.md
2025-06-04 10:26:09 -06:00
Anthony D'Atri 27418c43a5 doc: improve ceph-managed-disruptionbudgets.md
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2025-06-03 17:18:59 -04:00
Blaine Gardner 15bab1fa78 Merge pull request #15931 from BlaineEXE/fix-leastuptodatedaemonversion
core: ensure consistent LeastUptodateDaemonVersion
2025-06-03 12:25:15 -06:00
Travis Nielsen 832813d9df Merge pull request #15934 from parth-gr/fix-nfs-config-whitespace
nfs: use tabs instead of spaces in nfs rgw config
2025-06-03 10:03:22 -06:00
Blaine Gardner d5c4eca3fb core: ensure consistent LeastUptodateDaemonVersion
LeastUptodateDaemonVersion() unmarshals Ceph's daemon versions JSON
output into `map[string]<type>` maps which are not guaranteed to iterate
in the same order as output by Ceph. Fix this method to no longer assume
iteration order is the same order as Ceph's output.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
2025-06-03 09:10:18 -06:00
parth-gr 58eb75b13b nfs: use tabs instead of spaces in nfs rgw config
currently it was using two tabs, but
others config are using one tab
So update the config to use one tag

Signed-off-by: parth-gr <partharora1010@gmail.com>
2025-06-03 19:44:53 +05:30
Travis Nielsen 57fda6c50e Merge pull request #15935 from cobaltcore-dev/keystone-test-fix
tests: change project name in keystone e2e test
2025-06-03 07:50:55 -06:00
Artem Torubarov df3ce489d6 tests: change project name in keystone e2e test
Signed-off-by: Artem Torubarov <artem.torubarov@sap.com>
2025-06-03 10:30:04 +02:00
Travis Nielsen 6e6071bf79 Merge pull request #15914 from jurim76/jurim76
helm: Add custom labels for toolbox deployment in rook-ceph-cluster chart
2025-06-02 16:01:35 -06:00
Travis Nielsen 6349ec9888 Merge pull request #15922 from travisn/tentacle-ci
ci: Test tentacle devel in daily builds
2025-06-02 10:04:53 -06:00
subham rai bad0d7df77 Merge pull request #15929 from rook/dependabot/github_actions/ossf/scorecard-action-2.4.2
build(deps): bump ossf/scorecard-action from 2.4.1 to 2.4.2
2025-06-02 20:52:08 +05:30
dependabot[bot] 6155ec22af build(deps): bump ossf/scorecard-action from 2.4.1 to 2.4.2
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.4.1 to 2.4.2.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](https://github.com/ossf/scorecard-action/compare/f49aabe0b5af0936a0987cfb85d86b75731b0186...05b42c624433fc40578a4040d5cf5e36ddca8cde)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-version: 2.4.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-02 13:30:43 +00:00
Santosh Pillai cf5bbd04ae Merge pull request #15926 from parth-gr/fix-nfs-short-name
nfs: fix nfs short name
2025-06-02 14:29:02 +05:30
parth-gr 9a0490982e nfs: fix nfs short name
nfs short name and crd name was same
which was conflicting,
remove the short name cephnfs as it can
be already called by the crd name

Signed-off-by: parth-gr <partharora1010@gmail.com>
2025-06-02 13:27:24 +05:30
Juri Malinovski cc7e6b328b helm: add custom labels for toolbox deployment
Allow to assign custom labels for toolbox deployment. Some audit policies require specific labels for all kubernetes objects.

Signed-off-by: Juri Malinovski <juri.malinovski@coolbet.com>
2025-05-31 23:11:52 +03:00
Travis Nielsen 8f20797239 ci: update daily ci to run on latest k8s
The daily ci is only running on K8s 1.28.4, now update
it to 1.33.1

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2025-05-30 13:52:56 -06:00
Travis Nielsen d252466f6f ci: test tentacle devel in daily builds
With the tentacle release approaching, let's start
running the Rook tests against the tentacle devel
images to catch if any issues.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2025-05-30 13:52:56 -06:00