Skip to content

Commit d68a253

Browse files
committed
Fix for namespaces: default to emptystring
1 parent 78fea65 commit d68a253

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/preview/workflow/preview/deploy-gitpod.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ export -f diff-apply
604604
mkdir temp-installer || true
605605
pushd temp-installer
606606
# this will split the big yaml produced by the installer, so we can diff individual parts of it and run them in parallel
607-
yq4 -s '.kind + "_" + .metadata.namespace + "_" + .metadata.name' "../${INSTALLER_RENDER_PATH}"
607+
yq4 -s '.kind + "_" + .metadata.namespace // "" + "_" + .metadata.name' "../${INSTALLER_RENDER_PATH}"
608608
rm .yml || true # this one is a leftover from the split
609609
# shellcheck disable=SC2038
610610
find . | xargs -n 1 -I {} -P 5 bash -c "diff-apply ${PREVIEW_K3S_KUBE_CONTEXT} {}"

0 commit comments

Comments
 (0)