This commit is contained in:
@@ -33,16 +33,16 @@ jobs:
|
||||
CLUSTERS: cl01tl
|
||||
run: |
|
||||
for cluster in $CLUSTERS; do
|
||||
mkdir clusters/$CLUSTER/manifests
|
||||
mkdir clusters/$cluster/manifests
|
||||
|
||||
for chart_path in clusters/$CLUSTER/helm/*; do
|
||||
for chart_path in clusters/$cluster/helm/*; do
|
||||
chart_name=$(basename "$chart_path")
|
||||
|
||||
echo ""
|
||||
echo "Rendering chart: $chart_name"
|
||||
|
||||
if [ -f "$chart_path/Chart.yaml" ]; then
|
||||
OUTPUT_FILE="clusters/$CLUSTER/manifests/$chart_name.yaml"
|
||||
OUTPUT_FILE="clusters/$cluster/manifests/$chart_name.yaml"
|
||||
|
||||
helm template "$chart_name" "$chart" --namespace "$chart_name" > "$OUTPUT_FILE"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user