From e086b2fe9390ad1f0f4703271cfdf68baf6ee1e5 Mon Sep 17 00:00:00 2001 From: Jeremy Cline Date: Wed, 10 Apr 2024 17:09:48 -0400 Subject: [PATCH] cloud-image-uploader: azure gallery names are unique per subscription I assumed gallery names were unique per resource group, but this is not the case. They're unique per subscription, oddly, so we need to use a different name in staging. --- .../openshift-apps/cloud-image-uploader/templates/config.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/openshift-apps/cloud-image-uploader/templates/config.toml b/roles/openshift-apps/cloud-image-uploader/templates/config.toml index 30e99cf67b..a6d1cba450 100644 --- a/roles/openshift-apps/cloud-image-uploader/templates/config.toml +++ b/roles/openshift-apps/cloud-image-uploader/templates/config.toml @@ -32,11 +32,12 @@ location = "eastus" {% if env == "staging" %} resource_group_name = "fedora-cloud-staging" storage_account_name = "fedoraimagesstaging" +gallery_name = "FedoraStaging" {% else %} resource_group_name = "fedora-cloud" storage_account_name = "fedoraimages" -{% endif %} gallery_name = "Fedora" +{% endif %} gallery_description = "The Fedora compute gallery." storage_container_name = "vhds"