Commit Graph
13292 Commits
Author SHA1 Message Date
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
Travis Nielsen a44940d924 Merge pull request #15887 from travisn/debug-log-label
osd: Debug log for long image names in label
2025-05-30 13:34:25 -06:00
Travis Nielsen 232bf862a0 Merge pull request #15909 from parth-gr/add-do-not-reconcile-master
nfs: fix the skip reconcile call
2025-05-30 11:11:11 -06:00
parth-gr 79f44a4660 nfs: fix the skip reconcile call
currently nfs is used as the unique selector
for daemon id, which returns  nfs: ocs-storagecluster-cephnfs-a

Updating the has() to function to check the same label value
(n.Name + "-" + id)

Signed-off-by: parth-gr <partharora1010@gmail.com>
2025-05-30 09:11:49 +05:30
Travis Nielsen a82d14335c Merge pull request #15908 from synthe102/master
chart: quote object store ingress host
2025-05-29 11:13:04 -06:00
Travis Nielsen 41c4d4dd20 Merge pull request #15907 from subhamkrai/fix-dmcrypt-env-secret
osd: don't set dmcrypt env in prepare pod job spec
2025-05-29 09:10:11 -06:00
subhamkrai d86aa28f30 osd: don't set dmcrypt env in prepare pod job spec
this commit remove the code which sets the dmcrypt encryption
key from secret as environment variable in the prepare pod job
spec. Now, the env will be set under function `setKEKinEnv`, which
tries to reads secret from k8s first method `c.IsK8s()`under
`GetSecret` and then check for KMS to ready and apply env directly.

Signed-off-by: subhamkrai <srai@redhat.com>
2025-05-29 14:31:33 +05:30
synthe102 81d27753f2 helm: quote object store ingress host
This change allows to use wildcard for object ingress configuration.
Allows to use virtual-host style bucket URLs with ingress.

Signed-off-by: synthe102 <leonard@suslian.engineer>
2025-05-29 08:30:28 +00:00
Travis Nielsen 13c9f8dbd3 Merge pull request #15903 from OdedViner/fix-cephcluster-comment
core: fix comment for reconcilecephcluster
2025-05-28 13:47:39 -06:00
Oded Viner 0b988e4e05 core: fix comment for reconcilecephcluster
update comment to correctly state that reconcilecephcluster
manages the cephcluster object, not cephfilesystem.

Signed-off-by: Oded Viner <oviner@redhat.com>
2025-05-28 21:48:56 +03:00
Travis Nielsen 1d93da0987 Merge pull request #15889 from patrostkowski/feature/skip-nfs-15876
nfs: skip NFS daemon reconciliation when labeled with skip-reconcile
2025-05-27 16:11:08 -06:00
Travis Nielsen 80ef0a2861 Merge pull request #15896 from cbarria/fix-staticcheck-ST1019
core: fix golangci-lint check ST1019
2025-05-27 16:09:28 -06:00
Carlos Barria c63ebbe0e3 core: fix golangci-lint check ST1019
This change cleans up and standardizes import statements across the Ceph operator code. It removes redundant or duplicate imports and reorganizes alias names for improved clarity and consistency. Additionally, the ST1019 exception was removed from .golangci.yaml now that the code complies with the rule.

Signed-off-by: Carlos Barria <cbarria@yahoo.com>
2025-05-27 17:38:22 -04:00
Patryk Rostkowski 612e54e1ae nfs: skip NFS daemon reconciliation when labeled with skip-reconcile
This change adds support for skipping reconciliation of CephNFS daemons
that are labeled with `ceph.rook.io/skip-reconcile=true`.
Similar to MDS, MGR, and RGW components, this allows cluster operators
to prevent Rook from modifying specific NFS daemon deployments.

Signed-off-by: Patryk Rostkowski <patrostkowski@gmail.com>
2025-05-27 23:35:53 +02:00
Travis Nielsen ad16cb7262 Merge pull request #15898 from cbarria/fix-staticcheck-QF1003-QF1002
core: fix golangci-lint check QF1003 QF1002
2025-05-27 15:31:14 -06:00
Travis Nielsen e3f5a30268 Merge pull request #15888 from patrostkowski/feature/short-names-crds-15863
core: add short names to rook CRDs
2025-05-27 15:23:18 -06:00
Carlos Barria 030ada45b0 core: fix golangci-lint check QF1003 QF1002
Refactored multiple conditional if-else blocks into switch statements to improve readability and maintainability. Also removed outdated staticcheck rule comments (QF1002, QF1003) from .golangci.yaml.

Signed-off-by: Carlos Barria <cbarria@yahoo.com>
2025-05-27 13:49:49 -04:00
subham rai d2dfc29ed6 Merge pull request #15892 from cbarria/fix-staticcheck-ST1008
core: fix golangci-lint check ST1008
2025-05-26 11:49:57 +05:30
Carlos Barria c044ca9e77 core: fix golangci-lint check ST1008
Signed-off-by: Carlos Barria <cbarria@yahoo.com>
2025-05-22 15:39:30 -04:00