Commit Graph
12817 Commits
Author SHA1 Message Date
Michael Adam caaa367116 build: set release version to v1.18.6
For the patch release update the docs and examples to
v1.18.6

Signed-off-by: Michael Adam <obnox@samba.org>
2025-10-28 15:31:51 +01:00
Travis Nielsen 320913cdbc Merge pull request #16644 from rook/mergify/bp/release-1.18/pr-16640
ci: add kustomize to helm.lint (backport #16640)
2025-10-28 06:55:15 -07:00
Daniel Höxtermann b0c1b2df8c ci: add kustomize to helm.lint
This catches duplicate keys in maps.

Signed-off-by: Daniel Höxtermann <daniel@hxtm.dev>
(cherry picked from commit 5ffd43e539)
2025-10-24 15:34:43 +00:00
Travis Nielsen 5b5c1aa464 Merge pull request #16638 from rook/mergify/bp/release-1.18/pr-16637
helm: remove duplicate YAML map entries (backport #16637)
2025-10-23 16:04:33 -06:00
Daniel Höxtermann ca6a2cbff0 helm: remove duplicate YAML map entries
The removed map entries are already provided by the include.

Signed-off-by: Daniel Höxtermann <daniel@hxtm.dev>
(cherry picked from commit b1c58eb175)
2025-10-23 21:21:10 +00:00
Travis Nielsen c0567f400c Merge pull request #16635 from obnoxxx/release-1.18-prep-v1.18.5
build: set release version to v1.18.5
v1.18.5
2025-10-23 12:01:33 -06:00
Michael Adam e92e20bd94 build: set release version to v1.18.5
For the patch release update the docs and examples to
v1.18.5

Signed-off-by: Michael Adam <obnox@samba.org>
2025-10-23 18:55:48 +02:00
Travis Nielsen 588b6d14c4 Merge pull request #16632 from rook/mergify/bp/release-1.18/pr-16619
mon: wait for the canary pods to be terminated (backport #16619)
2025-10-23 10:54:43 -06:00
Santosh Pillai 4a1b6ca3d6 mon: wait for the canary pods to be terminated
Wait for the mon-canary pods to be terminated before starting the actual
mons. When topology spread constraints are added to evenly spread the
mons, then pod-anti affinity does not allow mons to be created on the
same node where other mons are running, this also includes the
mon-canary pods. We delete the mon-canary pods and then start the actual
mon pods. Sometimes the termination of the canary pods might take more
time, so schedular won't schedular mon pods on that node.

Signed-off-by: Santosh Pillai <sapillai@redhat.com>
(cherry picked from commit 3137a857df)
2025-10-23 16:39:16 +00:00
Travis Nielsen 74fb409c5c Merge pull request #16631 from rook/mergify/bp/release-1.18/pr-16614
osd: Set osd resources for specific device class (backport #16614)
2025-10-23 10:38:52 -06:00
Travis Nielsen f834612c85 osd: set osd resources for specific device class
The OSDs may require different resources based on their device
class. The overall osd resources were only being used, rather
than properly looking up the specific device class resources.
Now the expected resources will take affect per device class.

Co-authored-by: Matthias Osthues <osthues.matthias@gmail.com>
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit d3c0bacd88)
2025-10-23 15:55:38 +00:00
Travis Nielsen 95ef325c6e Merge pull request #16630 from rook/mergify/bp/release-1.18/pr-16629
mon: Trap the sigterm to respond quickly to the mon canary pod deletion (backport #16629)
2025-10-23 09:53:13 -06:00
Travis Nielsen 6f799052eb mon: trap the sigterm in the mon canary
The mon canary should quickly shut down after the pod is
deleted, since it has no purpose to continue running.
Since the sleep does not catch the SIGTERM as pid 1,
use a bash trap to exit quickly.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 48b70500fa)
2025-10-23 05:49:20 +00:00
Travis Nielsen e239749916 Merge pull request #16621 from rook/mergify/bp/release-1.18/pr-16618
mgr: add required k8s label for endpointSlice (backport #16618)
2025-10-21 08:54:40 -06:00
subhamkrai 0fc9c0d5a7 mgr: add required k8s label for endpointSlice
k8s requires the endpointSlice must have label
`kubernetes.io/service-name` to be associated with
service. Without this label, the k8s service controller
can't link the EndpointSlice to the service.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 7004213f92)
2025-10-17 16:16:10 +00:00
subham rai 0beaa1654a Merge pull request #16612 from rook/mergify/bp/release-1.18/pr-16588
docs: discourage freezing default values in user values.yaml (backport #16588)
2025-10-17 16:52:11 +05:30
subham rai e7fc5e59a8 Merge pull request #16611 from rook/mergify/bp/release-1.18/pr-16609
pool: Skip setting the target size ratio to 0 by default (backport #16609)
2025-10-17 16:51:27 +05:30
raaizik 1eb1685db2 docs: discourage freezing default values in user values.yaml (fix #16523)
Users sometimes copy‑paste the entire default `values.yaml` into their own configs, which “freezes” all defaults
and prevents them from inheriting new defaults in future chart versions.

This change enhances the Helm chart documentation to emphasize that:
- Only *overridden* fields should be declared by users.
- Avoid duplicating all default values.
- Leaving fields unset allows users to benefit from upstream default updates.

These adjustments help maintain upgrade compatibility, reduce config bloat, and make it easier to adopt new defaults.

Closes: #16523

Signed-off-by: raaizik <132667934+raaizik@users.noreply.github.com>
Co-Authored-By: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit f6c734a576)
2025-10-16 19:14:59 +00:00
Travis Nielsen aeda710840 pool: skip setting the target size ratio to 0 by default
The target size ratio is currently always being set to 0, when
neither the legacy targetSizeRatio nor the parameter for
target_size_ratio are set. In this case, we should not set it to 0,
but rather should skip the command to set the target size ratio.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 938380734d)
2025-10-16 17:00:34 +00:00
Travis Nielsen dd3d6109c0 Merge pull request #16604 from rook/mergify/bp/release-1.18/pr-16595
core: fix ceph health check up status check (backport #16595)
2025-10-15 14:30:15 -06:00
Travis Nielsen 7460c3d44f Merge pull request #16605 from rook/mergify/bp/release-1.18/pr-16593
doc: add recovery steps for topology based pools (backport #16593)
2025-10-15 14:29:54 -06:00
Blaine Gardner 71fb066f9a Merge pull request #16606 from rook/mergify/bp/release-1.18/pr-16603
osd: allow OSD init keyring update to be best-effort (backport #16603)
2025-10-15 14:25:36 -06:00
Blaine Gardner 150f9ed6d0 Merge pull request #16608 from rook/mergify/bp/release-1.18/pr-16594
osd: add a timeout for osd create and update process (backport #16594)
2025-10-15 10:51:21 -06:00
parth-gr 1307ca16a2 osd: add a timeout for osd create and update process
if there a bit long to update osds in parallel,
we need to timeout and abort the synchronous loop
and start the cluster reconcile again from the beginning

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 4377823675)
2025-10-15 16:06:47 +00:00
Blaine Gardner a2176e89d7 osd: allow OSD init keyring update to be best-effort
When OSDs start, init containers attempt to get the latest CephX key for
the OSD to allow OSDs to potentially continue working after key rotation.

However, in Ceph corner cases, mons could be unavailable while OSDs
could still be viable with existing on-disk keys. Since key rotation is
a rare event, it's likely that the on-disk keys are still good.

The worst case scenario is that key updates were needed but didn't
succeed in init containers. In this case, instead of the init container
failing, the OSD startup will fail instead. Thus, this should introduce
no extra risk but merely shift the failure to a different container.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit d9d31fe527)
2025-10-14 19:00:44 +00:00
parth-gr efddcabd7d doc: add recovery steps for topology based pools
Added a recovery steps for replica-1 pool
if the osd went down

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 17fd9ba1e1)
2025-10-14 16:40:36 +00:00
parth-gr b09e3941e1 external: add cluster connected condition in case of external mode
external mode was dependednt on the ceph status to
update the cluster connected condition,
BUt as now the status check will only update the ceph status,
so we will explicitly update the ceph status condition in the
end of the reconcile

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 3f5ebe2f4f)
2025-10-14 16:38:31 +00:00
parth-gr d267bbf710 core: fix cep health check up status check
currently the health checkup was reporting the
condition and reason to be always connected,
But which might not be the case,
So instead of that dont report the condition and
its phase during the health checkups

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 454c221c53)
2025-10-14 16:38:31 +00:00
subham rai 8a0f22d5fc Merge pull request #16590 from rook/mergify/bp/release-1.18/pr-16507
fix: add missing labels to RBAC resources to prevent ArgoCD drift (backport #16507)
2025-10-13 15:56:56 +05:30
fullstackjam 89c316cd68 helm: add missing labels to ConfigMap, SCC, and ServiceAccount resources
Add consistent metadata labels to resources that were missing them:
- configmap.yaml: Add labels to rook-ceph-operator-config ConfigMap
- securityContextConstraints.yaml: Add labels to both rook-ceph and rook-ceph-csi SCCs
- serviceaccount.yaml: Add labels to 6 CSI ServiceAccounts that were missing them

All new labels use the unified library.rook-ceph.labels template for consistency.
Regenerated deploy/examples/common.yaml and deploy/examples/csi/nfs/rbac.yaml
to reflect the updated label definitions.

This addresses reviewer feedback about missing labels in non-RBAC resources
and ensures consistent labeling across all Rook Ceph Helm chart resources.

Signed-off-by: fullstackjam <fullstackjam@outlook.com>
(cherry picked from commit 8656bd493c)
2025-10-09 17:29:36 +00:00
fullstackjam 263f939371 helm: add missing labels to RBAC resources to prevent ArgoCD drift
This PR addresses ArgoCD drift detection issues by adding consistent
metadata labels to RBAC resources in Rook Ceph Helm charts. The problem
occurs because many RBAC resources lack metadata labels, causing ArgoCD
to interpret them as 'labels: null' and report continuous drift.

Changes made:
- Added consistent labels to all RBAC templates in rook-ceph and library charts
- Created _recommended-labels.tpl template for standardized labeling
- Removed app.kubernetes.io/component label per consideRatio feedback to avoid scope creep
- Suppressed Helm-specific labels (version, instance, managed-by, created-by, chart) from static RBAC files
- Regenerated deploy/examples/common.yaml and deploy/examples/csi/nfs/rbac.yaml

Labels added to RBAC resources:
- operator: rook
- storage-backend: ceph
- app.kubernetes.io/name: rook-ceph
- app.kubernetes.io/part-of: rook-ceph-operator

Impact:
- Resolves ArgoCD 'OutOfSync' issues for Rook RBAC resources
- Improves resource identification and management
- Provides consistent labeling across all Rook Helm charts
- No functional changes to RBAC permissions
- Focuses on essential labels to avoid over-engineering

This addresses review feedback from travisn and consideRatio to maintain
scope and ensure static RBAC files only contain meaningful labels.

Signed-off-by: fullstackjam <fullstackjam@outlook.com>
(cherry picked from commit f635d96ae9)
2025-10-09 17:29:35 +00:00
subham rai 2c7b515886 Merge pull request #16587 from rook/mergify/bp/release-1.18/pr-16540
mon: update the clusterinfo with v2 port (backport #16540)
2025-10-09 12:27:32 +05:30
subham rai 54612b551b Merge pull request #16586 from rook/mergify/bp/release-1.18/pr-16556
operator: Allow overriding MDS cache memory limit. (backport #16556)
2025-10-09 12:26:59 +05:30
parth-gr 58f5cc4f48 mon: update the clusterinfo with v2 port
currently we are updating the mon endpoints
and using it with rook-ceph-csi cm,
But we need latest ports in the cluster info,
during the creation of the ceph connection cr
when csi operator is enabled,
so ceph connection cr can use the latest mons ports

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 76a7132c56)
2025-10-08 18:19:31 +00:00
Tim Buchwaldt 729322ffd7 operator: allow overriding MDS cache memory limit
This change introduces support for setting the ceph cache memory limit
ratios that were previously hardcoded.
Codegen was drivey-by updated as the current version errored.

Resolves #16551

Signed-off-by: Tim Buchwaldt <tim.buchwaldt@deepl.com>
(cherry picked from commit 8db5274703)
2025-10-08 15:57:13 +00:00
Travis Nielsen 98249bddc2 Merge pull request #16579 from rook/mergify/bp/release-1.18/pr-16573
osd: add detailed debug logs to checktopologyconflicts (backport #16573)
2025-10-06 19:58:11 -06:00
Travis Nielsen 682f3527f0 Merge pull request #16580 from obnoxxx/release-1.18-prep-v1.18.4
build: set release version to v1.18.4
v1.18.4
2025-10-06 12:36:46 -06:00
Travis Nielsen a4986bc259 build: set release version to v1.18.4
For the patch release update the docs and examples to
v1.18.4

Signed-off-by: Michael Adam <obnox@samba.org>
2025-10-06 19:56:53 +02:00
Oded Viner 6cebce71ef osd: add detailed debug logs to checktopologyconflicts
added comprehensive debug logs throughout CheckTopologyConflicts

Signed-off-by: Oded Viner <oviner@redhat.com>
(cherry picked from commit 11d7eacdcb)
2025-10-06 17:34:18 +00:00
Travis Nielsen 3edde21c7b Merge pull request #16578 from travisn/helm-revert-image-tag-change
helm: Revert ceph image tag change
2025-10-06 11:12:12 -06:00
Travis Nielsen 09f82539df Revert "helm: allow specifying the image tag and repository separately"
This reverts commit c55f164248.
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2025-10-06 10:28:12 -06:00
Travis Nielsen 0eb2ba9d65 Revert "helm: fix toolbox image fallback"
This reverts commit 08653e03d4.
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2025-10-06 10:26:18 -06:00
Travis Nielsen 0ac737fe18 Merge pull request #16569 from rook/mergify/bp/release-1.18/pr-16568
helm: fix toolbox image fallback (backport #16568)
2025-10-02 15:45:44 -06:00
Daniel Höxtermann 08653e03d4 helm: fix toolbox image fallback
This fixes a regression from 51cb22c791
resulting in upgrade failure by adapting the toolbox deployment.

Signed-off-by: Daniel Höxtermann <daniel@hxtm.dev>
(cherry picked from commit a664e3dc91)
2025-10-02 20:03:14 +00:00
Travis Nielsen 6da485d857 Merge pull request #16566 from obnoxxx/prep-v1.18.3
build: set release version to v1.18.3
v1.18.3
2025-10-02 10:50:42 -06:00
Travis Nielsen a3d5d27b89 build: set release version to v1.18.3
For the patch release update the docs and examples to
v1.18.3

Signed-off-by: Michael Adam <obnox@samba.org>
2025-10-02 18:03:37 +02:00
Travis Nielsen 13ba6e9865 Merge pull request #16565 from rook/mergify/bp/release-1.18/pr-16395
csi: Convert csi operator volume settings (backport #16395)
2025-10-02 09:37:40 -06:00
Travis Nielsen aae0ddfb8b Merge pull request #16564 from rook/mergify/bp/release-1.18/pr-16563
build: Add csi operator image to images.txt (backport #16563)
2025-10-02 09:30:03 -06:00
Travis Nielsen 40b8989623 csi: convert csi operator volume settings
The csi volumes and volume mount settings are now
converted to the csi operator driver CR, for example
to allow nix os mounts to be applied to the csi
node plugins.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 7a515eb24a)
2025-10-02 14:56:54 +00:00
Travis Nielsen e8c501ba8e build: add csi operator image to images.txt
With the addition of the csi operator, the csi operator
image is added to the list of images that are required
for deploying rook.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 535f9f0868)
2025-10-02 14:55:49 +00:00