Merge commit '939177be6b30bd19dd3acfc1ae85690b83803234' as 'acm-hub-bootstrap'

This commit is contained in:
2025-04-14 23:43:59 -05:00
80 changed files with 3126 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#!/bin/bash
PATTERN_DIR="$1"
if [ -z "$PATTERN_DIR" ]; then
PATTERN_DIR="."
fi
CGNAME=$(yq '.main.clusterGroupName' "$PATTERN_DIR/values-global.yaml")
if [ -z "$CGNAME" ] || [ "$CGNAME" == "null" ]; then
echo "Error - cannot detrmine clusterGroupName"
exit 1
fi
echo "$CGNAME"