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/controller | |
| 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/controller')
| -rw-r--r-- | syz-cluster/controller/deployment.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syz-cluster/controller/deployment.yaml b/syz-cluster/controller/deployment.yaml index c20089eae..87977e025 100644 --- a/syz-cluster/controller/deployment.yaml +++ b/syz-cluster/controller/deployment.yaml @@ -17,7 +17,7 @@ spec: spec: containers: - name: controller-image - image: controller-image # The actual image name is set in overalys. + image: ${IMAGE_PREFIX}controller:${IMAGE_TAG} envFrom: - configMapRef: name: global-config |
