From 480b407bc2b8cca7a421c573470786671575d514 Mon Sep 17 00:00:00 2001 From: Blaine Gardner Date: Wed, 27 Aug 2025 14:36:54 -0600 Subject: [PATCH] csi: fix wrong use of daemon config for cephx status Fix a wrong usage of the CephX daemon config that should be CephX CSI config. Signed-off-by: Blaine Gardner --- pkg/operator/ceph/csi/secrets.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/operator/ceph/csi/secrets.go b/pkg/operator/ceph/csi/secrets.go index 7a023770f..a09f04362 100644 --- a/pkg/operator/ceph/csi/secrets.go +++ b/pkg/operator/ceph/csi/secrets.go @@ -305,7 +305,7 @@ func updateCephStatusWithCephxStatus(context *clusterd.Context, clusterInfo *cli namespacedName types.NamespacedName, didRotate bool, currentKeyCount int, ) error { logger.Infof("updating cephCluster %s cephStatus with CSI cephxStatus in namespace %s", namespacedName.Name, namespacedName.Namespace) - cephxStatus := keyring.UpdatedCephxStatus(didRotate, cephCluster.Spec.Security.CephX.Daemon, clusterInfo.CephVersion, cephCluster.Status.Cephx.CSI.CephxStatus) + cephxStatus := keyring.UpdatedCephxStatus(didRotate, cephCluster.Spec.Security.CephX.CSI.CephxConfig, clusterInfo.CephVersion, cephCluster.Status.Cephx.CSI.CephxStatus) err := retry.RetryOnConflict(retry.DefaultRetry, func() error { cephCluster := &cephv1.CephCluster{}