From 8d0ad2efc726e5bed5ec090e73347d5af05ebebf Mon Sep 17 00:00:00 2001 From: Matt Pryor Date: Sat, 26 Aug 2023 21:41:21 +0100 Subject: [PATCH] Use focal images for Kubernetes (#175) --- roles/community_images/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/community_images/defaults/main.yml b/roles/community_images/defaults/main.yml index cd6c9280..9b1244d6 100644 --- a/roles/community_images/defaults/main.yml +++ b/roles/community_images/defaults/main.yml @@ -46,7 +46,7 @@ community_images_azimuth_images_manifest: >- community_images_azimuth_images: |- { {% for source_key, image in community_images_azimuth_images_manifest.items() %} - {% if "kubernetes_version" in image and source_key.endswith("-jammy") %} + {% if "kubernetes_version" in image and source_key.endswith("-focal") %} {% set kube_version = image.kubernetes_version.removeprefix("v") %} {% set kube_series = kube_version.split(".")[:-1] | join("_") %} {% set dest_key = "kube_" ~ kube_series %}