Remove unsupported kolla_docker_registry_insecure variable

This variable is not supported since
I61a61ca59652b13687c2247d5881012b51f666a7, but was not removed from
etc/kayobe/kolla.yml in that change.

This change also adds the replacement variable docker_registry_insecure
to etc/kayobe/docker.yml.

TrivialFix
Change-Id: I3fa96f0276e08a6678e5d743399d01bc19a8dd1b
This commit is contained in:
Mark Goddard 2023-10-12 09:52:35 +01:00
parent 44af704836
commit 1dce99094b
8 changed files with 26 additions and 19 deletions

View File

@ -24,6 +24,11 @@ docker_storage_volume_thinpool_meta_size: 1%VG
# URL of docker registry # URL of docker registry
docker_registry: docker_registry:
# Whether docker should be configured to use an insecure registry.
# Default is false, unless docker_registry_enabled is true and
# docker_registry_enable_tls is false.
docker_registry_insecure: "{{ docker_registry_enabled | bool and not docker_registry_enable_tls | bool }}"
# CA of docker registry # CA of docker registry
docker_registry_ca: docker_registry_ca:

View File

@ -75,11 +75,6 @@ kolla_docker_namespace: "openstack.kolla"
# Url of docker registry to use for Kolla images. # Url of docker registry to use for Kolla images.
kolla_docker_registry: "{{ docker_registry }}" kolla_docker_registry: "{{ docker_registry }}"
# Whether docker should be configured to use an insecure registry for Kolla
# images. Default is false, unless docker_registry_enabled is true and
# docker_registry_enable_tls is false.
kolla_docker_registry_insecure: "{{ docker_registry_enabled | bool and not docker_registry_enable_tls | bool }}"
# Username to use to access a docker registry. # Username to use to access a docker registry.
kolla_docker_registry_username: kolla_docker_registry_username:

View File

@ -127,11 +127,6 @@ kolla_docker_namespace:
# Url of docker registry to use for Kolla images. # Url of docker registry to use for Kolla images.
kolla_docker_registry: kolla_docker_registry:
# Whether docker should be configured to use an insecure registry for Kolla
# images. Default is false, unless docker_registry_enabled is true and
# docker_registry_enable_tls is false.
kolla_docker_registry_insecure:
# Username to use to access a docker registry. # Username to use to access a docker registry.
kolla_docker_registry_username: kolla_docker_registry_username:

View File

@ -1065,6 +1065,9 @@ Docker.
Various options are defined in ``${KAYOBE_CONFIG_PATH}/docker.yml`` Various options are defined in ``${KAYOBE_CONFIG_PATH}/docker.yml``
for configuring the ``devicemapper`` storage. for configuring the ``devicemapper`` storage.
If using an insecure (HTTP) registry, set ``docker_registry_insecure`` to
``true``.
A private Docker registry may be configured via ``docker_registry``, with a A private Docker registry may be configured via ``docker_registry``, with a
Certificate Authority (CA) file configured via ``docker_registry_ca``. Certificate Authority (CA) file configured via ``docker_registry_ca``.

View File

@ -121,10 +121,6 @@ accessed.
``kolla_docker_registry`` ``kolla_docker_registry``
URL of docker registry to use for Kolla images. Default is not set, in URL of docker registry to use for Kolla images. Default is not set, in
which case Quay.io will be used. which case Quay.io will be used.
``kolla_docker_registry_insecure``
Whether docker should be configured to use an insecure registry for Kolla
images. Default is false, unless ``docker_registry_enabled`` is true and
``docker_registry_enable_tls`` is false.
``kolla_docker_namespace`` ``kolla_docker_namespace``
Docker namespace to use for Kolla images. Default is ``kolla``. Docker namespace to use for Kolla images. Default is ``kolla``.
``kolla_docker_registry_username`` ``kolla_docker_registry_username``

View File

@ -24,6 +24,11 @@
# URL of docker registry # URL of docker registry
#docker_registry: #docker_registry:
# Whether docker should be configured to use an insecure registry.
# Default is false, unless docker_registry_enabled is true and
# docker_registry_enable_tls is false.
#docker_registry_insecure:
# CA of docker registry # CA of docker registry
#docker_registry_ca: #docker_registry_ca:

View File

@ -85,11 +85,6 @@
# Docker namespace to use for Kolla images. Default is 'kolla'. # Docker namespace to use for Kolla images. Default is 'kolla'.
#kolla_docker_namespace: #kolla_docker_namespace:
# Whether docker should be configured to use an insecure registry for Kolla
# images. Default is false, unless docker_registry_enabled is true and
# docker_registry_enable_tls is false.
#kolla_docker_registry_insecure:
# Username to use to access a docker registry. Default is not set, in which # Username to use to access a docker registry. Default is not set, in which
# case the registry will be used without authentication. # case the registry will be used without authentication.
#kolla_docker_registry_username: #kolla_docker_registry_username:

View File

@ -0,0 +1,13 @@
---
fixes:
- |
Removes the ``kolla_docker_registry_insecure`` variable from
``etc/kayobe/kolla.yml`` as it is not used since the 2023.1 (Antelope)
release. The replacement ``docker_registry_insecure`` variable has been
added to ``etc/kayobe/docker.yml``.
upgrade:
- |
Removes the ``kolla_docker_registry_insecure`` variable from
``etc/kayobe/kolla.yml`` as it is not used since the 2023.1 (Antelope)
release. The replacement ``docker_registry_insecure`` variable has been
added to ``etc/kayobe/docker.yml``.