Skip to content

Commit a757ed5

Browse files
committed
fix: set docker_registry_ca to '' if not secure
Set `docker_registry_ca` to empty string if `Pulp` is not configured to use `TLS`. Signed-off-by: Jack Hodgkiss <jack@stackhpc.com>
1 parent ad1fead commit a757ed5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

etc/kayobe/container-engine.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ docker_registry: "{{ stackhpc_docker_registry }}"
4040
docker_registry_insecure: "{{ 'https' not in stackhpc_repo_mirror_url }}"
4141

4242
# CA of docker registry
43-
docker_registry_ca: "{{ kayobe_env_config_path ~ '/openbao/OS-TLS-INT.crt' if pulp_enable_tls | bool else none }}"
43+
docker_registry_ca: "{{ kayobe_env_config_path ~ '/openbao/OS-TLS-INT.crt' if pulp_enable_tls | bool else '' }}"
4444

4545
# List of Docker registry mirrors.
4646
#docker_registry_mirrors:

0 commit comments

Comments
 (0)