We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2c9b45 commit 24aea79Copy full SHA for 24aea79
scripts/generate
@@ -2,8 +2,18 @@
2
3
set -ue
4
5
-/discover | while read -r cdk8s; do
+SCRIPT_DIR=$(readlink -f "$(dirname "$0")")
6
+
7
+"$SCRIPT_DIR/discover" | while read -r cdk8s; do
8
pushd "$(dirname "$cdk8s")" >/dev/null
- npx cdk8s --check-upgrade=false synth -p
9
+ DIR=$(mktemp -d)
10
11
+ # Right now, cdk8s-cli has an issue with `-p` option when used with multiple charts:
12
+ # https://github.com/cdk8s-team/cdk8s-cli/issues/943 We work around it by outputting files outselves.
13
+ npx cdk8s --check-upgrade=false synth -o "$DIR" > /dev/null
14
+ find "$DIR" -type f | while read -r line; do
15
+ cat "$line"
16
+ echo "---"
17
+ done
18
popd >/dev/null
19
done
0 commit comments