StarlingX System Configuration Management
Go to file
Angie Wang 38c9eb3a4a Puppet support for authenticated registries
This commit supports to pull images from alternative authenticated
registries that configured at Ansible bootstrap to bring up k8s pods
at puppet time.

At bootstrap time, barbican secrets are created to store credentials
for accessing registry and alternative registries info are stored in
service parameter. At puppet time, the barbican sercret is retrieved
to get the credentials in order to pre-pull k8s images that required
by kubeadm to bring up static pods(ie..kube-controller-manager,
kube-apiserver, kube-scheduler..).

The images for dynamic pods(kube-multus, kube-sriov-cni, calico..) and
tiller are not needed to pre-pull, imagePullSecrets is added in their
pod spec to pass credentials to kubelet. This is done in Ansible
bootstrap https://review.opendev.org/#/c/679136/

This commit also updates to pull Armada image before creating Armada
container if Armada image is not available in docker cache.

Tests(AIO-SX, AIO-DX, Standard):
 - All types of system are installed successfully
 - Verified all k8s/gcr/docker images are downloaded from
   authenticated registry on controller-1 and worker nodes
 - Verified images from authenticated registries are used
   by k8s static/dynamic pods on controller-1 and worker nodes
 - Swact to controller-1, lock/unlock controller-0. Verified
   that tiller image is downloaded from authenticated registry
   and tiller pod is created on controller-1
 - Swact to controller-1, apply application. Verified that
   Armada image is downloaded from authenticated registry and
   Armada container is created.

Change-Id: Iaabef0f5d8a6a4640dcfde93a8c0449948f4a59f
Depends-On: https://review.opendev.org/679335
Story: 2006274
Task: 36379
Signed-off-by: Angie Wang <angie.wang@windriver.com>
2019-08-30 18:17:02 +00:00
api-ref/source Update kubernetes config for 1.15 features. 2019-08-21 10:30:56 -05:00
config-gate Add notices on Intel authored files. 2019-03-20 10:03:44 -06:00
controllerconfig Merge "Collapse glance into platform in ControllerFS API" 2019-08-09 17:59:52 +00:00
devstack Followup opendev cleanup and test jobs 2019-04-20 21:04:15 -05:00
doc Fix the error links for config docs 2019-07-03 12:49:04 +00:00
kubernetes Merge "stx-monitor Application Flexible Config and Upgrade" 2019-08-30 14:20:58 +00:00
playbooks/tox-puppet-lint Fixing puppet-lint failures in zuul 2019-06-26 11:30:59 -05:00
pm-qos-mgr Fix invalid syntax in pm_qos_mgr.py 2019-07-09 12:00:59 +00:00
puppet-manifests Puppet support for authenticated registries 2019-08-30 18:17:02 +00:00
puppet-modules-wrs Rebase Armada to latest master 2019-08-15 16:54:51 -04:00
releasenotes Update config for release notes to include project name 2019-02-05 14:03:49 -08:00
storageconfig Add notices on Intel authored files. 2019-03-20 10:03:44 -06:00
sysinv Puppet support for authenticated registries 2019-08-30 18:17:02 +00:00
tmp/patch-scripts/EXAMPLE_SYSINV/scripts StarlingX open source release updates 2018-05-31 07:35:52 -07:00
worker-utils add get_platform_cpus 2019-08-01 11:23:22 +08:00
workerconfig Add to worker_config and worker_services keywords to be LSB compliant 2019-06-12 12:46:42 -05:00
.gitignore Update tox.ini files to use stein constraints 2019-06-25 14:45:54 -04:00
.gitreview OpenDev Migration Patch 2019-04-19 19:52:42 +00:00
.yamllint clear yamllint errors under stx-config 2018-09-12 21:11:57 +08:00
.zuul.yaml Use Zuul templates 2019-08-21 12:55:13 +00:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:35:52 -07:00
LICENSE StarlingX open source release updates 2018-05-31 07:35:52 -07:00
README.rst StarlingX open source release updates 2018-05-31 07:35:52 -07:00
centos_helm.inc Infrastructure and Cluster Monitoring 2019-08-21 17:19:54 -04:00
centos_iso_image.inc Remove playbookconfig from StarlingX config repo 2019-06-14 13:38:50 -04:00
centos_pkg_dirs Infrastructure and Cluster Monitoring 2019-08-21 17:19:54 -04:00
centos_pkg_dirs_containers Infrastructure and Cluster Monitoring 2019-08-21 17:19:54 -04:00
centos_stable_wheels.inc Remove wrs-configutilities SDK Module 2019-04-02 11:50:23 -04:00
test-requirements.txt Properly enable hacking checks for flake8 2018-12-18 11:28:56 -06:00
tox.ini Update tox.ini files to use stein constraints 2019-06-25 14:45:54 -04:00

README.rst

stx-config

StarlingX Configuration Management