config/sysinv/sysinv/sysinv/sysinv
Angie Wang 5b94294002 Support stx-openstack app install with the authed local registry
The functionality of local docker registry authentication will be
enabled in commit https://review.openstack.org/#/c/626355/.
However, local docker registry is currently used to pull/push images
during application apply without authentication and no credentials
passed to the kubernetes when pulling images on other nodes except
for active controller.

In order to install stx-openstack app with local docker registry that
has authentication turned on, this commit updates the following:
 1. Pass the user credentials when pulling/pushing images from local
    registry during application apply.
 2. Create a well-known registry secret "default-registry-key" which
    holds the authorization token during stx-openstack app apply and
    delete the secret during removal. The helm-toolkit is updated to
    refer to this secret in k8s openstack service account template for
    pulling images from local by kubelet. This secret is also added to
    rbd-provisioner service account as well since it is not using
    helm-toolkit to create service account.

Note: #2 is short-term solution. The long-term solution is to implement
the BP https://blueprints.launchpad.net/openstack-helm/+spec/support
-docker-registry-with-authentication-turned-on.

Story: 2002840
Task: 28945
Depends-On: https://review.openstack.org/636181
Change-Id: I015dccd12c5c7fa7a4bea74eef8d172f03b5d60e
Signed-off-by: Angie Wang <angie.wang@windriver.com>
2019-02-15 15:25:33 -05:00
..
agent Remove nova storage aggregates 2019-01-25 15:38:43 -05:00
api Fix for the issue for with host-delete command failure due to a typo 2019-02-14 21:19:28 +00:00
cluster Fix: "import" issue for Python 2/3 compatible code 2018-12-25 08:58:03 +08:00
cmd Fix: others issues for Python 2/3 compatible code 2018-12-19 10:20:56 +08:00
common Support stx-openstack app install with the authed local registry 2019-02-15 15:25:33 -05:00
conductor Support stx-openstack app install with the authed local registry 2019-02-15 15:25:33 -05:00
db Enable python3.5 sysinv unit test 2019-01-30 08:51:07 +08:00
helm Merge "Move neutron static configs to Armada manifest" 2019-02-15 19:19:07 +00:00
objects Remove un-necessary exception log 2019-02-11 09:20:50 +08:00
openstack Enable python3.5 sysinv unit test 2019-01-30 08:51:07 +08:00
puppet Update nova helm overrides for PCI alias, passthrough, and SR-IOV 2019-02-13 14:00:51 -05:00
tests Merge "Ceph for standard: Add deployment model to System Inventory cluster API" 2019-02-11 16:59:47 +00:00
__init__.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
netconf.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
sanity_coverage.py Sysinv tox updates. Prepare for bandit reports and test reports 2018-06-29 13:25:09 -04:00
version.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00