ceph: use newer octopus time format
radosgw-admin as of Octopus uses a different time format, it uses "2006-01-02T15:04:05.999999999Z". It's close from RFC3339 but not quite the same. This change is needed in order for the operator image (with a Ceph Octopus based image) to perform radosgw-admin call correctly. Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
1 parent
aa8bf4c763
commit
68e62836c5
4 files changed
+38
-11
No files matched your search
@@ -39,10 +39,15 @@ const OperatorSettingConfigMapName string = "rook-ceph-operator-config"
|
||||
var (
|
||||
// ImmediateRetryResult Return this for a immediate retry of the reconciliation loop with the same request object.
|
||||
ImmediateRetryResult = reconcile.Result{Requeue: true}
|
||||
|
||||
// WaitForRequeueIfCephClusterNotReady waits for the CephCluster to be ready
|
||||
WaitForRequeueIfCephClusterNotReady = reconcile.Result{Requeue: true, RequeueAfter: 10 * time.Second}
|
||||
|
||||
// WaitForRequeueIfFinalizerBlocked waits for resources to be cleaned up before the finalizer can be removed
|
||||
WaitForRequeueIfFinalizerBlocked = reconcile.Result{Requeue: true, RequeueAfter: 10 * time.Second}
|
||||
|
||||
// OperatorCephBaseImageVersion is the ceph version in the operator image
|
||||
OperatorCephBaseImageVersion string
|
||||
)
|
||||
|
||||
// IsReadyToReconcile determines if a controller is ready to reconcile or not
|
||||
|
||||
Reference in new issue
Block a user