From d30aeec6b99f03e3606bc7d48f7efbcfac65c10f Mon Sep 17 00:00:00 2001
From: Pierre Riteau <pierre@stackhpc.com>
Date: Mon, 13 Jan 2025 18:23:18 +0100
Subject: [PATCH] Fix download of IPA images from Ark

This requires https://review.opendev.org/c/openstack/kayobe/+/939121.
---
 etc/kayobe/ipa.yml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/etc/kayobe/ipa.yml b/etc/kayobe/ipa.yml
index 74b964536..d25461998 100644
--- a/etc/kayobe/ipa.yml
+++ b/etc/kayobe/ipa.yml
@@ -107,6 +107,13 @@ ipa_ramdisk_upstream_url: "{{ (stackhpc_ipa_image_url + '/ipa.initramfs') if sta
 # Algorithm of checksum of Ironic deployment ramdisk image.
 #ipa_ramdisk_checksum_algorithm:
 
+# IPA download parameters
+image_download_url_username: "{{ stackhpc_release_pulp_username }}"
+image_download_url_password: "{{ stackhpc_release_pulp_password }}"
+image_download_force_basic_auth: true
+image_download_unredirected_headers:
+  - Authorization
+
 ###############################################################################
 # Ironic Python Agent (IPA) deployment configuration.