From 93c9710478a8c9b46287a32d54269d806849a812 Mon Sep 17 00:00:00 2001 From: Jashandeep Sohi Date: Mon, 16 Dec 2024 10:53:38 -0800 Subject: [PATCH] update kpt pkgs using replace strategy --- cd.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cd.nix b/cd.nix index ae6c8d5..e48d2c3 100644 --- a/cd.nix +++ b/cd.nix @@ -50,7 +50,7 @@ pushd staging/ - kpt pkg update base@$2 + kpt pkg update --strategy force-delete-replace base@$2 if test -f "$1"; then pushd cd-set-images @@ -73,8 +73,8 @@ pushd $DEVENV_ROOT - kpt pkg update prod/base@$2 - kpt pkg update prod/cd-set-images@$2 + kpt pkg update --strategy force-delete-replace prod/base@$2 + kpt pkg update --strategy force-delete-replace prod/cd-set-images@$2 kustomize build prod/ --output output/prod/manifest.yaml popd