Commit Graph
12384 Commits
Author SHA1 Message Date
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
Praveen Hosamani 0c0e94e43c build: make imagePullPolicy dynamic
Signed-off-by: Praveen Hosamani <praveen.h119@gmail.com>
2025-06-06 12:51:03 +02: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
Travis Nielsen e23a708435 Merge pull request #15890 from cbarria/fix-staticcheck-QF1004
core: fix golangci-lint check QF1004
2025-05-22 11:52:14 -06:00
Patryk Rostkowski ae6e1e0863 core: add short names to rook CRDs
This commit Assigns short names to all Rook CRDs
to improve kubectl usability.

Signed-off-by: Patryk Rostkowski <patrostkowski@gmail.com>
2025-05-22 18:29:06 +02:00
Carlos Barria 8afc4ee548 core: fix golangci-lint check QF1004
Signed-off-by: Carlos Barria <cbarria@yahoo.com>
2025-05-22 11:21:45 -04:00
Travis Nielsen 57585ba151 osd: debug log for long image names in label
Labels cannot be longer than 64 characters, and if the image name
is too long we log a verbose message about the label that we can
just log now as debug level.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2025-05-21 15:21:30 -06:00
Travis Nielsen 5265defd27 Merge pull request #15884 from OdedViner/report_reconcile_msg
core: improve reporting for reconcile requeue cases
2025-05-21 07:44:18 -06:00
Travis Nielsen 50f68f6b24 Merge pull request #15882 from yehaifeng/master
doc: recorrect the document ‘host_network’ to 'cluster_network'
2025-05-21 07:36:06 -06:00
Oded Viner 83ce9a6a63 core: improve reporting for reconcile requeue cases
when a reconcile returns a requeue result without an error
(e.g. due to a missing cephcluster), the previous logic reported
it as a successful reconcile. this was misleading and made it
hard to understand the actual controller behavior this
change adds a new condition to log and emit a "requeuing" event
when reconcileResponse.Requeue is true and err is nil.
this ensures more accurate event reporting and improves observability across
all controllers using reportreconcileresult.

Signed-off-by: Oded Viner <oviner@redhat.com>
2025-05-21 15:43:05 +03:00
yehaifeng e97f4a7de7 doc: recorrect the document ‘host_network’ to 'cluster_network'
This should be `cluster_network` rather than `host_network`. Ceph has not configuration called `host_network`.

Signed-off-by: Ye Haifeng <769358362@qq.com>
2025-05-21 17:57:39 +08:00