Add replica settings for mariadb ingress pod

There was no mariadb replica override for the ingress pod. On AIO-SX
this caused two pods to be scheduled. When anti-affinity was added to
mariadb this broke application-apply on AIO-SX.

The mariadb ingress pod replication will be set to the number of
controllers.

Change-Id: Icf3f1979720629904ca9ddcabf59e8ecfab709e5
Story: 2004520
Task: 29570
Signed-off-by: David Sullivan <david.sullivan@windriver.com>
This commit is contained in:
David Sullivan 2019-02-20 00:49:17 -05:00
parent d9edf76bf2
commit 1c467789c4
2 changed files with 3 additions and 2 deletions

View File

@ -1,2 +1,2 @@
SRC_DIR="sysinv"
TIS_PATCH_VER=303
TIS_PATCH_VER=304

View File

@ -32,7 +32,8 @@ class MariadbHelm(openstack.OpenstackBaseHelm):
common.HELM_NS_OPENSTACK: {
'pod': {
'replicas': {
'server': self._num_server_replicas()
'server': self._num_server_replicas(),
'ingress': self._num_controllers()
}
},
'images': self._get_images_overrides(),