Skip to content

Commit

Permalink
Merge pull request #9010 from thotz/rgw-external-endpoint
Browse files Browse the repository at this point in the history
ceph: update endpoint with IP for external RGW server
  • Loading branch information
leseb committed Oct 25, 2021
2 parents cfe59ec + d4562f6 commit fc9c4b6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/operator/ceph/object/controller.go
Expand Up @@ -391,6 +391,10 @@ func (r *ReconcileCephObjectStore) reconcileCreateObjectStore(cephObjectStore *c
if err != nil {
return r.setFailedStatus(namespacedName, "failed to reconcile external endpoint", err)
}

if err := UpdateEndpoint(objContext, &cephObjectStore.Spec); err != nil {
return r.setFailedStatus(namespacedName, "failed to set endpoint", err)
}
} else {
logger.Info("reconciling object store deployments")

Expand Down

0 comments on commit fc9c4b6

Please sign in to comment.