From 538246661c9c3e6a9faf6627be861fe030a759a3 Mon Sep 17 00:00:00 2001 From: Milos Milutinovic Date: Tue, 6 Oct 2020 12:38:54 +0200 Subject: [PATCH] fix kustomize edit set image command --- .digital-ocean-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.digital-ocean-deploy.yml b/.digital-ocean-deploy.yml index 052c323..138008d 100644 --- a/.digital-ocean-deploy.yml +++ b/.digital-ocean-deploy.yml @@ -4,5 +4,5 @@ - echo $KUBERNETES_SERVER - echo $KUBERNETES_TOKEN - cd k8s/$APP/overlays/$OVERLAY/ - - kustomize --insecure-skip-tls-verify --kubeconfig="/dev/null" --server=$KUBERNETES_SERVER --token=$KUBERNETES_TOKEN edit set image $CI_REGISTRY_IMAGE=$NEW_IMAGE + - kustomize edit set image $CI_REGISTRY_IMAGE=$NEW_IMAGE - kustomize build . | kubectl --insecure-skip-tls-verify --kubeconfig="/dev/null" --server=$KUBERNETES_SERVER --token=$KUBERNETES_TOKEN apply -f - -- GitLab