config/sysinv/sysinv/sysinv/sysinv/common
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
..
__init__.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
ceph.py Ceph for standard: Add deployment model to System Inventory cluster API 2019-02-05 18:01:42 +00:00
config.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
configp.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
constants.py Merge "Ceph for standard: Add deployment model to System Inventory cluster API" 2019-02-11 16:59:47 +00:00
context.py Sysinv healthy query API request failed 2018-09-13 13:36:15 -04:00
exception.py Support stx-openstack app install with the authed local registry 2019-02-15 15:25:33 -05:00
extension_manager.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
fernet.py Fernet key synchronization 2018-10-26 14:56:42 -05:00
fm.py Sysinv healthy query API request failed 2018-09-13 13:36:15 -04:00
health.py Change compute node to worker node personality 2018-12-13 14:15:55 -05:00
image_service.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
images.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
interface.py Update nova helm overrides for PCI alias, passthrough, and SR-IOV 2019-02-13 14:00:51 -05:00
kubernetes.py Support stx-openstack app install with the authed local registry 2019-02-15 15:25:33 -05:00
paths.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
policy.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
retrying.py Fix tox pep8 errors of type E722 in sysinv 2018-08-10 14:51:50 -04:00
service.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
service_parameter.py Configurable Host HTTP/HTTPS Port Binding 2019-02-06 12:47:00 -06:00
states.py Fix word and statement errors in comments 2018-11-14 10:04:51 +08:00
storage_backend_conf.py Ceph for standard: Semantic checks 2019-01-18 09:27:12 +00:00
utils.py Merge "Configurable Host HTTP/HTTPS Port Binding" 2019-02-07 19:05:52 +00:00
wsgi_service.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00