Skip to content

Commit

Permalink
Merge "Add seed_deploy_containers_registry_attempt_login" into stable…
Browse files Browse the repository at this point in the history
…/yoga
  • Loading branch information
Zuul authored and openstack-gerrit committed Nov 6, 2023
2 parents 074e06e + 1862781 commit ad260ae
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ansible/group_vars/all/seed
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
7 changes: 7 additions & 0 deletions ansible/group_vars/seed/docker-registry
Original file line number Diff line number Diff line change
@@ -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 }}"
4 changes: 2 additions & 2 deletions doc/source/configuration/reference/seed-custom-containers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 4 additions & 0 deletions etc/kayobe/seed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit ad260ae

Please sign in to comment.