Add ghcr docker registry

In an effort to uprev the SR-IOV and multus images, add the
ghcr registries, which is where the upstream release images are
now tracked and stored.

Depends-On: https://review.opendev.org/c/starlingx/config/+/806944
Story: 2008972
Task: 42929

Signed-off-by: Steven Webster <steven.webster@windriver.com>
Change-Id: I7755f910c1e71d08c1b8b3e054c2bf5d7e16662e
This commit is contained in:
Steven Webster 2021-07-28 15:33:45 -04:00 committed by Daniel Safta
parent fddac0bf3c
commit ccad5524de
2 changed files with 5 additions and 0 deletions

View File

@ -10,11 +10,13 @@ class platform::docker::params (
$quay_registry = undef,
$docker_registry = undef,
$elastic_registry = undef,
$ghcr_registry = undef,
$k8s_registry_secure = true,
$quay_registry_secure = true,
$gcr_registry_secure = true,
$docker_registry_secure = true,
$elastic_registry_secure = true,
$ghcr_registry_secure = true,
) { }
class platform::docker::config

View File

@ -42,6 +42,9 @@ class platform::dockerdistribution::registries {
{url => $::platform::docker::params::elastic_registry,
secure => $::platform::docker::params::elastic_registry_secure},
{url => $::platform::docker::params::ghcr_registry,
secure => $::platform::docker::params::ghcr_registry_secure},
]
$insecure_registries_list = $registries.filter |$registry| { !$registry['secure'] }