Merge "Glance overrides - increase replicas count"
This commit is contained in:
commit
27cdaf8620
|
@ -77,10 +77,14 @@ class GlanceHelm(openstack.OpenstackBaseHelm):
|
||||||
}
|
}
|
||||||
|
|
||||||
def _get_pod_overrides(self):
|
def _get_pod_overrides(self):
|
||||||
|
replicas_count = 1
|
||||||
|
ceph_backend = self._get_primary_ceph_backend()
|
||||||
|
if ceph_backend:
|
||||||
|
replicas_count = self._num_controllers()
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'replicas': {
|
'replicas': {
|
||||||
'api': 1,
|
'api': replicas_count,
|
||||||
'registry': 1,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue