From 2581dc8eb3dc7eb55727f01c86f0c9a7296b06b6 Mon Sep 17 00:00:00 2001 From: Sayan Chowdhury Date: Thu, 28 Mar 2024 03:09:54 +0530 Subject: [PATCH] fixup! test/e2e: Add the e2e tests for flatcar-sysext Signed-off-by: Sayan Chowdhury --- config/capz/manager_image_patch.yaml | 2 +- config/capz/manager_pull_policy.yaml | 2 +- templates/cluster-template-flatcar-sysext.yaml | 2 +- templates/test/ci/cluster-template-prow-flatcar-sysext.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/capz/manager_image_patch.yaml b/config/capz/manager_image_patch.yaml index 47f8612fd1f7..c09321ca946f 100644 --- a/config/capz/manager_image_patch.yaml +++ b/config/capz/manager_image_patch.yaml @@ -8,5 +8,5 @@ spec: spec: containers: # Change the value of image field below to your controller image URL - - image: gcr.io/k8s-staging-cluster-api-azure/cluster-api-azure-controller:main + - image: localhost:5000/ci-e2e/cluster-api-azure-controller-amd64:20240328101128 name: manager diff --git a/config/capz/manager_pull_policy.yaml b/config/capz/manager_pull_policy.yaml index 74a0879c604a..cd7ae12c01ea 100644 --- a/config/capz/manager_pull_policy.yaml +++ b/config/capz/manager_pull_policy.yaml @@ -8,4 +8,4 @@ spec: spec: containers: - name: manager - imagePullPolicy: Always + imagePullPolicy: IfNotPresent diff --git a/templates/cluster-template-flatcar-sysext.yaml b/templates/cluster-template-flatcar-sysext.yaml index f5fd56d32724..36cb71d5b4a7 100644 --- a/templates/cluster-template-flatcar-sysext.yaml +++ b/templates/cluster-template-flatcar-sysext.yaml @@ -159,7 +159,7 @@ spec: apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 kind: AzureMachineTemplate name: ${CLUSTER_NAME}-control-plane - replicas: ${CONTROL_PLANE_MACHINE_COUNT} + replicas: ${CONTROL_PLANE_MACHINE_COUNT:=1} version: ${KUBERNETES_VERSION} --- apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 diff --git a/templates/test/ci/cluster-template-prow-flatcar-sysext.yaml b/templates/test/ci/cluster-template-prow-flatcar-sysext.yaml index 2278a93f7429..2dc0e49d6a14 100644 --- a/templates/test/ci/cluster-template-prow-flatcar-sysext.yaml +++ b/templates/test/ci/cluster-template-prow-flatcar-sysext.yaml @@ -167,7 +167,7 @@ spec: apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 kind: AzureMachineTemplate name: ${CLUSTER_NAME}-control-plane - replicas: ${CONTROL_PLANE_MACHINE_COUNT} + replicas: ${CONTROL_PLANE_MACHINE_COUNT:=1} version: ${KUBERNETES_VERSION} --- apiVersion: infrastructure.cluster.x-k8s.io/v1beta1