From 37b3e0bd7d70427548649c76be0d1464db252f76 Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Tue, 16 May 2023 11:04:42 +0200 Subject: [PATCH] Fix Pulp container deployment with HTTPS enabled The Pulp project has stopped maintaining separate https images and there is no pulp/pulp image tagged as 3.23-https. The PULP_HTTPS variable should be set to ``true`` instead [1]. [1] https://github.com/pulp/pulp-oci-images/pull/426 --- etc/kayobe/seed.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/kayobe/seed.yml b/etc/kayobe/seed.yml index e900a587b..a5f477dc8 100644 --- a/etc/kayobe/seed.yml +++ b/etc/kayobe/seed.yml @@ -106,7 +106,7 @@ seed_pulp_container: image: pulp/pulp pre: "{{ kayobe_config_path }}/containers/pulp/pre.yml" post: "{{ kayobe_config_path }}/containers/pulp/post.yml" - tag: "{{ '3.23-https' if pulp_enable_tls | bool else '3.23' }}" + tag: "3.23" network_mode: host # Override deploy_containers_defaults.init == true to ensure # s6-overlay-suexec starts as pid 1 @@ -114,6 +114,7 @@ seed_pulp_container: env: PULP_CONTENT_WORKERS: "{{ ansible_facts.processor_vcpus * 2 + 1 }}" PULP_API_WORKERS: "{{ ansible_facts.processor_vcpus * 2 + 1 }}" + PULP_HTTPS: "{{ 'true' if pulp_enable_tls | bool else 'false' }}" volumes: - /opt/kayobe/containers/pulp:/etc/pulp - pulp_storage:/var/lib/pulp