Skip to content

Commit 7a58c39

Browse files
committed
Enable force conflict with apply server side
Signed-off-by: Manuel de Brito Fontes <[email protected]>
1 parent 2c0b2dc commit 7a58c39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/preview/workflow/lib/k8s-util.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,6 @@ function diff-apply {
9696
if kubectl --context "${context}" diff -f "${yaml}" > /dev/null; then
9797
echo "Skipping ${yaml}, as it produced no diff"
9898
else
99-
kubectl --context "${context}" apply --server-side -f "${yaml}"
99+
kubectl --context "${context}" apply --server-side --force-conflicts -f "${yaml}"
100100
fi
101101
}

0 commit comments

Comments
 (0)