config/puppet-manifests/src/modules/platform/manifests
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
..
amqp.pp Fix puppet-lint warnings and errors 2018-12-27 15:08:37 -06:00
anchors.pp Fix puppet-lint warnings and errors 2018-12-27 15:08:37 -06:00
ceph.pp Configure radosgw and ceph-rgw as optional services 2019-07-31 12:41:41 -04:00
client.pp Puppet support for authenticated registries 2019-08-30 18:17:02 +00:00
collectd.pp Make collectd startup dependent on networking Anchor 2019-01-03 19:58:30 +00:00
compute.pp Adding back kvm_advance_timer service 2019-07-26 15:54:52 -05:00
config.pp Restore containerized platform using Ansible restore_platform playbook 2019-07-17 17:10:12 -04:00
dcdbsync.pp Keystone DB sync - update puppet manifest for dcdbsync service 2019-04-30 14:41:20 -04:00
dcmanager.pp ANSIBLE Bootstrap changes for System Controller 2019-07-11 12:08:06 -04:00
dcorch.pp ANSIBLE Bootstrap changes for System Controller 2019-07-11 12:08:06 -04:00
devices.pp Fix puppet-lint warnings and errors 2018-12-27 15:08:37 -06:00
dhclient.pp Removal of infrastructure network code 2019-05-06 16:57:10 -04:00
dns.pp Removal of infrastructure network code 2019-05-06 16:57:10 -04:00
docker.pp Puppet support for authenticated registries 2019-08-30 18:17:02 +00:00
dockerdistribution.pp ipv6 cluster networking support 2019-05-31 14:52:43 -04:00
drbd.pp Collapse glance into platform in ControllerFS API 2019-08-07 11:08:36 -04:00
etcd.pp Ansible Bootstrap Deployment 2019-04-11 08:40:34 -04:00
exports.pp Fix puppet-lint warnings and errors 2018-12-27 15:08:37 -06:00
filesystem.pp Add new kubelet filesystem to host_fs 2019-07-17 16:18:36 -04:00
firewall.pp Remove some firewall rules 2019-04-18 14:39:25 +08:00
fm.pp Remove some firewall rules 2019-04-18 14:39:25 +08:00
fstab.pp Fix puppet-lint warnings and errors 2018-12-27 15:08:37 -06:00
grub.pp Fix puppet-lint warnings and errors 2018-12-27 15:08:37 -06:00
haproxy.pp Remove unused puppet modules 2019-03-20 08:03:07 -05:00
helm.pp Rebase Armada to latest master 2019-08-15 16:54:51 -04:00
influxdb.pp Make collectd startup dependent on networking Anchor 2019-01-03 19:58:30 +00:00
kubernetes.pp Puppet support for authenticated registries 2019-08-30 18:17:02 +00:00
ldap.pp config: Convert wrsroot -> sysadmin 2019-06-17 11:09:47 -07:00
lldp.pp Fix puppet-lint warnings and errors 2018-12-27 15:08:37 -06:00
lvm.pp Remove unused puppet modules 2019-03-20 08:03:07 -05:00
memcached.pp Puppet manifests missing networking dependencies 2019-05-29 01:07:58 -04:00
mtce.pp Ansible Bootstrap Deployment 2019-04-11 08:40:34 -04:00
multipath.pp Fix puppet-lint warnings and errors 2018-12-27 15:08:37 -06:00
network.pp Collapse glance into platform in ControllerFS API 2019-08-07 11:08:36 -04:00
nfv.pp update nfv-vim puppet runtime manifests and config files 2019-06-04 09:02:50 +08:00
ntp.pp Puppet manifests missing networking dependencies 2019-05-29 01:07:58 -04:00
params.pp config: Convert wrsroot -> sysadmin 2019-06-17 11:09:47 -07:00
partitions.pp Fix puppet-lint warnings and errors 2018-12-27 15:08:37 -06:00
password.pp Fix puppet-lint warnings and errors 2018-12-27 15:08:37 -06:00
patching.pp Remove some firewall rules 2019-04-18 14:39:25 +08:00
pciirqaffinity.pp Implement Pci Interrupt Affinity Agent 2019-05-10 01:42:13 +00:00
postgresql.pp ANSIBLE Bootstrap changes for System Controller 2019-07-11 12:08:06 -04:00
ptp.pp Enable PTP support for Link Aggregation 2019-05-16 13:14:45 -04:00
remotelogging.pp Fix additional puppet-lint warnings and errors 2018-12-27 16:23:13 -06:00
scratch.pp StarlingX open source release updates 2018-05-31 07:35:52 -07:00
sm.pp Merge "Collapse glance into platform in ControllerFS API" 2019-08-09 17:59:52 +00:00
smapi.pp Remove some firewall rules 2019-04-18 14:39:25 +08:00
snmp.pp Fix puppet-lint warnings and errors 2018-12-27 15:08:37 -06:00
sysctl.pp ipv6 cluster networking support 2019-05-31 14:52:43 -04:00
sysinv.pp Collapse glance into platform in ControllerFS API 2019-08-07 11:08:36 -04:00
users.pp config: Convert wrsroot -> sysadmin 2019-06-17 11:09:47 -07:00
vswitch.pp Merge "Register configuration for ovsdb-server and ovs-vswitchd with pmon daemon" 2019-04-16 17:38:24 +00:00
worker.pp Remove deprecated instance_backing from sysinv code 2019-06-26 06:55:02 -05:00