From 8c9114cb8d63176c9fe6e1f7388439141686c5f3 Mon Sep 17 00:00:00 2001 From: azahmd <173153519+azahmd@users.noreply.github.com> Date: Mon, 26 Oct 2026 18:18:25 +0000 Subject: [PATCH 1/5] Update Build Dependencies to match upstream - 2026-10-26 --- dependencies.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies.yaml b/dependencies.yaml index 1b033dd..9566ca1 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -1,4 +1,4 @@ # https://github.com/azimuth-cloud/capi-helm-charts -cluster-chart: "0.29.2" +cluster-chart: "0.29.3" # https://github.com/k-orc/openstack-resource-controller k-orc: "2.6.0" From 60abaab61203f453fda148e2923d41dd0d87c1d3 Mon Sep 17 00:00:00 2001 From: David Fairbrother Date: Tue, 1 Dec 2026 14:20:37 +0000 Subject: [PATCH 2/5] MAINT: Bump to latest CAPI image name As 1.37 is still the latest release, bump to the latest patch instead --- user-values.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user-values.yaml b/user-values.yaml index 1417f4e..ae1afd8 100644 --- a/user-values.yaml +++ b/user-values.yaml @@ -25,9 +25,9 @@ controlPlane: # The Kubernetes version of the cluster # This should match the version of kubelet and kubeadm in the image # and will be automatically updated by us -kubernetesVersion: "1.36.4" +kubernetesVersion: "1.36.7" # The name of the image to use for cluster machines -machineImage: "capi-ubuntu-2204-kube-v1.36.4" +machineImage: "capi-ubuntu-2204-kube-v1.36.7" addons: # Monitoring sets up kube-prometheus-stack and loki-stack. From e5dddc2475c7b79341f56f311b6912e9f9ff8806 Mon Sep 17 00:00:00 2001 From: anish-mudaraddi Date: Tue, 1 Dec 2026 14:38:55 +0000 Subject: [PATCH 3/5] fix bootstrap script yq issues sometimes the app_cred id is in quotes, remove them so openstack show command works use more modern yq args for setting project id properly --- bootstrap.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index 3a21690..93bbf70 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -37,12 +37,12 @@ if [ "$(yq -r '.clouds.openstack.auth.application_credential_id' clouds.yaml)" = exit 1 fi -if [ "$(yq -r '.clouds.openstack.auth.project_id' clouds.yaml)" == "null" ]; then +if [ "$(yq '.clouds.openstack.auth.project_id' clouds.yaml)" == "null" ]; then echo "Looking up project_id for clouds.yaml..." - APP_CRED_ID=$(yq -r '.clouds.openstack.auth.application_credential_id' clouds.yaml) - PROJECT_ID="$(openstack --os-cloud openstack application credential show "${APP_CRED_ID}" -c project_id -f value)" + APP_CRED_ID=$(yq '.clouds.openstack.auth.application_credential_id' clouds.yaml | tr -d '"') + PROJECT_ID=$(openstack --os-cloud openstack application credential show "${APP_CRED_ID}" -c project_id -f value) echo "Injecting project ID: '${PROJECT_ID}' into clouds.yaml..." - injected_id=$PROJECT_ID yq e '.clouds.openstack.auth.project_id = env(injected_id)' -i clouds.yaml + yq -yi --arg injected_id "$PROJECT_ID" '.clouds.openstack.auth.project_id = $injected_id' clouds.yaml fi echo "Installing and starting microk8s..." From e31382c5a4bfb4abdd429be768c8ba106c33694e Mon Sep 17 00:00:00 2001 From: anish-mudaraddi Date: Tue, 1 Dec 2026 14:40:03 +0000 Subject: [PATCH 4/5] remove ingress nginx remove deprecated warning --- user-values.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/user-values.yaml b/user-values.yaml index 7831d94..dffa2a8 100644 --- a/user-values.yaml +++ b/user-values.yaml @@ -35,10 +35,6 @@ addons: monitoring: enabled: false - # INGRESS IS DEPRECATED - Do NOT USE - ingress: - enabled: false - # Settings for node-level registry auth if using a private registry registryAuth: {} # registry-1.docker.io: From d6ad3f268ffe7b58f1b3247a6e339cea72f882fe Mon Sep 17 00:00:00 2001 From: anish-mudaraddi Date: Tue, 1 Dec 2026 14:58:45 +0000 Subject: [PATCH 5/5] run workflow against PRs to staging --- .github/workflows/pull-request-actions.yaml | 1 + bootstrap.sh | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/pull-request-actions.yaml b/.github/workflows/pull-request-actions.yaml index d542bb0..e70cc64 100644 --- a/.github/workflows/pull-request-actions.yaml +++ b/.github/workflows/pull-request-actions.yaml @@ -7,6 +7,7 @@ on: pull_request: branches: - master + - staging jobs: shellcheck: diff --git a/bootstrap.sh b/bootstrap.sh index 93bbf70..e303f86 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -42,6 +42,9 @@ if [ "$(yq '.clouds.openstack.auth.project_id' clouds.yaml)" == "null" ]; then APP_CRED_ID=$(yq '.clouds.openstack.auth.application_credential_id' clouds.yaml | tr -d '"') PROJECT_ID=$(openstack --os-cloud openstack application credential show "${APP_CRED_ID}" -c project_id -f value) echo "Injecting project ID: '${PROJECT_ID}' into clouds.yaml..." + + # shellcheck disable=SC2016 + # needs to be single quotes for yq to work yq -yi --arg injected_id "$PROJECT_ID" '.clouds.openstack.auth.project_id = $injected_id' clouds.yaml fi