From 68aa75abe16fb593ee02b5a37783371c3dfc24b2 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Mon, 24 Feb 2025 14:30:04 +0100 Subject: syz-cluster: make image prefix and tag configurable Accept IMAGE_PREFIX and IMAGE_TAG parameters that allow to reuse the Makefile and a lot of k8s configurations both for local and prod environments. Refactor Makefile: define build-* and push-* rules, use templates to avoid repetition. --- syz-cluster/workflow/boot-step/workflow-template.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'syz-cluster/workflow/boot-step') diff --git a/syz-cluster/workflow/boot-step/workflow-template.yaml b/syz-cluster/workflow/boot-step/workflow-template.yaml index adbe2800d..241efa85c 100644 --- a/syz-cluster/workflow/boot-step/workflow-template.yaml +++ b/syz-cluster/workflow/boot-step/workflow-template.yaml @@ -24,7 +24,7 @@ spec: - name: kernel path: /base container: - image: boot-step-local + image: ${IMAGE_PREFIX}boot-step:${IMAGE_TAG} imagePullPolicy: IfNotPresent command: ["/bin/boot-step"] args: [ -- cgit mrf-deployment