Skip to content

Commit 63a963e

Browse files
authored
Update kcl-cmp.yaml
if the target project is using kcl modules kcl prints: downloading 'kcl-lang/k8s:1.29' from 'ghcr.io/kcl-lang/k8s:1.29' to stdout making argcocd print an error
1 parent 6474e06 commit 63a963e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/gitops/install/kcl-cmp.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ data:
2121
export KCL_CACHE_PATH=$(mktemp -d /tmp/kcl_cache.XXXXXXXXXX)
2222
export KCL_PKG_PATH=$(mktemp -d /tmp/kcl_pkg.XXXXXXXXXX)
2323
tempfile=$(mktemp)
24-
kcl run -q -o $tempfile
24+
kcl run -q -o $tempfile > /dev/null 2>&1
2525
error=$?
2626
if [ $error -eq 0 ]; then
2727
cat $tempfile

0 commit comments

Comments
 (0)