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/dashboard/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'syz-cluster/dashboard') diff --git a/syz-cluster/dashboard/deployment.yaml b/syz-cluster/dashboard/deployment.yaml index e33ce0ef6..766583738 100644 --- a/syz-cluster/dashboard/deployment.yaml +++ b/syz-cluster/dashboard/deployment.yaml @@ -17,7 +17,7 @@ spec: spec: containers: - name: web-dashboard-image - image: web-dashboard-image + image: ${IMAGE_PREFIX}web-dashboard:${IMAGE_TAG} envFrom: - configMapRef: name: global-config -- cgit mrf-deployment