config/controllerconfig
Angie Wang efa5f521c3 Configure SQL as helm storage backend
Configmap is the default helmv2 storage backend to store
release information but its 1MB resource limit prevents
scaling up stx openstack worker nodes, so we want to use
SQL as helm storage backend.

To configure SQL backend, generate helm database hieradata
that will be used in puppet to create helm database. The
helm database password is stored in keyring which can be
retrieved in ansible playbook to configure database connection
address.

System upgrade support:
The helm DB is new in the release stx5.0, so a password is
generated for helm user. Helm user and password are written
into the hieradata of release stx5.0. For AIO-SX upgrade,
helm DB is created when applying bootstrap puppet manifest
during ansible upgrade playbook. For two controllers upgrade,
helm DB is created when applying upgrade puppet manifest
during controller-1 upgrade. A migration script is created
to migrate helm releases from configmap to postgresql.

Partial-Bug: 1887677
Depends-On: https://review.opendev.org/#/c/761642/
Change-Id: I2f4f414068af297b5f4a3792c061443b7d3bdb32
Signed-off-by: Angie Wang <angie.wang@windriver.com>
2021-01-08 01:05:07 -05:00
..
centos B&R: Fix openstack helper scripts for B&R 2020-11-04 14:53:03 +02:00
controllerconfig Configure SQL as helm storage backend 2021-01-08 01:05:07 -05:00
debian Add files for controllerconfig deb packaging 2019-06-12 11:35:36 -05:00
opensuse Enable duplex platform upgrades 2020-04-20 15:20:19 -04:00
.gitignore StarlingX open source release updates 2018-05-31 07:35:52 -07:00
PKG-INFO StarlingX open source release updates 2018-05-31 07:35:52 -07:00