Merge pull request #16396 from BlaineEXE/csi-fix-cephx-status-from-config

csi: fix wrong use of daemon config for cephx status
This commit is contained in:
Blaine Gardner
2025-08-27 15:14:14 -06:00
committed by GitHub
+1 -1
View File
@@ -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{}