diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2025-02-24 14:30:04 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2025-02-26 15:09:27 +0000 |
| commit | 68aa75abe16fb593ee02b5a37783371c3dfc24b2 (patch) | |
| tree | 5e0880ae57b64a7ba472ca579f9f316ed264959c /syz-cluster/run-local.sh | |
| parent | d34966d146f584d390b49f213d1fccd59548dc6d (diff) | |
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.
Diffstat (limited to 'syz-cluster/run-local.sh')
| -rwxr-xr-x | syz-cluster/run-local.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syz-cluster/run-local.sh b/syz-cluster/run-local.sh index 75e7867bc..f4d311a32 100755 --- a/syz-cluster/run-local.sh +++ b/syz-cluster/run-local.sh @@ -14,7 +14,7 @@ alias kubectl="minikube kubectl --" # Clean up in case the run comand was prematurely aborted. # TODO: find out how to rely on envs from overlays/dev/global-config.yaml. kubectl delete pod run-local >/dev/null 2>&1 || true -kubectl run run-local --image="$name-local" \ +kubectl run run-local --image="local/$name" \ --image-pull-policy=Never \ --restart=Never \ --env="SPANNER_EMULATOR_HOST=cloud-spanner-emulator:9010" \ |
