From 4708af1e6154d22bfcd4075420fd3b8a958af03d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juraci=20Paix=C3=A3o=20Kr=C3=B6hling?= Date: Thu, 20 Feb 2020 11:57:19 +0100 Subject: [PATCH] Deploy the operator from BUILD_IMAGE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Juraci Paixão Kröhling --- Makefile | 2 +- deploy/operator.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a93d32075d..17cd3963fc 100644 --- a/Makefile +++ b/Makefile @@ -302,7 +302,7 @@ deploy: crd @kubectl apply -f deploy/service_account.yaml @kubectl apply -f deploy/role.yaml @kubectl apply -f deploy/role_binding.yaml - @kubectl apply -f deploy/operator.yaml + @sed "s~image: jaegertracing\/jaeger-operator\:.*~image: $(BUILD_IMAGE)~gi" deploy/operator.yaml | kubectl apply -f - .PHONY: operatorhub operatorhub: check-operatorhub-pr-template diff --git a/deploy/operator.yaml b/deploy/operator.yaml index 877501d3ac..fcf4d4af90 100644 --- a/deploy/operator.yaml +++ b/deploy/operator.yaml @@ -15,7 +15,7 @@ spec: serviceAccountName: jaeger-operator containers: - name: jaeger-operator - image: jpkroehling/jaeger-operator:StreamlinePermissions + image: jaegertracing/jaeger-operator:1.16.0 ports: - containerPort: 8383 name: metrics