From 8c598a87da0f34cf1410932549c7355264b83226 Mon Sep 17 00:00:00 2001 From: Sergey Dudoladov Date: Fri, 21 Dec 2018 14:34:31 +0100 Subject: [PATCH] Make run operator locally ignore smoke-tested image --- run_operator_locally.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_operator_locally.sh b/run_operator_locally.sh index a4cf5f45b..0ecfba958 100755 --- a/run_operator_locally.sh +++ b/run_operator_locally.sh @@ -121,7 +121,7 @@ function deploy_self_built_image() { # update the tag in the postgres operator conf # since the image with this tag already exists on the machine, # docker should not attempt to fetch it from the registry due to imagePullPolicy - sed --expression "s/\(image\:.*\:\).*$/\1$TAG/" manifests/postgres-operator.yaml > "$PATH_TO_LOCAL_OPERATOR_MANIFEST" + sed --expression "s/\(image\:.*\:\).*$/\1$TAG/; s/smoke-tested-//" manifests/postgres-operator.yaml > "$PATH_TO_LOCAL_OPERATOR_MANIFEST" retry "kubectl create -f \"$PATH_TO_LOCAL_OPERATOR_MANIFEST\"" "attempt to create $PATH_TO_LOCAL_OPERATOR_MANIFEST resource" }