rgw: update the deployment or daemonset when the pod spec changes

Signed-off-by: travisn <tnielsen@redhat.com>
This commit is contained in:
travisn committed 2018-12-07 15:11:55 -07:00
1 parent 10a5a965ab
commit 304d6445f2
1 file changed
+1 -1
+1 -1
View File
@@ -69,7 +69,7 @@ func (c *config) createOrUpdate(update bool) error {
if err == nil && exists {
if !update {
logger.Infof("object store %s exists in namespace %s", c.store.Name, c.store.Namespace)
return nil
return c.startRGWPods(false)
}
logger.Infof("object store %s exists in namespace %s. checking for updates", c.store.Name, c.store.Namespace)
}