Add seed_deploy_containers_registry_attempt_login

Follow on to Ie17ef9ce1147cbaec2e42db932c7d59293b49b1b

Adds seed_deploy_containers_registry_attempt_login variable to seed.yml,
which acts as a redirection of deploy_containers_registry_attempt_login
so that the variable is more descriptive, declared in a better location,
and extensible to other groups

Change-Id: I86d8f13062ff8e664919cd5d63bc17bdafb32e0c
(cherry picked from commit 1476b9a68b)
This commit is contained in:
Alex-Welsh 2023-10-16 17:15:05 +01:00 committed by Mark Goddard
parent b5f566ffec
commit e8e3935d47
4 changed files with 17 additions and 2 deletions

View File

@ -123,6 +123,10 @@ seed_users: "{{ users_default }}"
#
seed_containers: {}
# Whether to attempt a basic authentication login to a registry when
# deploying seed containers
seed_deploy_containers_registry_attempt_login: "{{ kolla_docker_registry_username is truthy and kolla_docker_registry_password is truthy }}"
###############################################################################
# Seed node firewalld configuration.

View File

@ -0,0 +1,7 @@
---
###############################################################################
# Seed node docker regsitry configuration.
# Whether to attempt a basic authentication login to a registry when
# deploying seed containers
deploy_containers_registry_attempt_login: "{{ seed_deploy_containers_registry_attempt_login }}"

View File

@ -73,9 +73,9 @@ custom seed container. In this case, basic authentication login attempts can be
disabled by setting
.. code-block:: yaml
:caption: ``kolla.yml``
:caption: ``seed.yml``
deploy_containers_registry_attempt_login: false
seed_deploy_containers_registry_attempt_login: false
Without this setting, the login will fail because the registry has not yet been
deployed.

View File

@ -106,6 +106,10 @@
#
#seed_containers:
# Whether to attempt a basic authentication login to a registry when
# deploying seed containers
#seed_deploy_containers_registry_attempt_login:
###############################################################################
# Seed node firewalld configuration.