Skip to content

Commit

Permalink
Merge pull request #9026 from rook/mergify/bp/release-1.7/pr-9010
Browse files Browse the repository at this point in the history
ceph: update endpoint with IP for external RGW server (backport #9010)
  • Loading branch information
mergify[bot] committed Oct 25, 2021
2 parents 9ee80c0 + 4d3fc03 commit 3381fc7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/operator/ceph/object/controller.go
Expand Up @@ -385,6 +385,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 3381fc7

Please sign in to comment.