Compare commits
2 Commits
be94aba8fd
...
e16d98288b
| Author | SHA1 | Date | |
|---|---|---|---|
|
e16d98288b
|
|||
| 25710206d5 |
@@ -33,16 +33,16 @@ jobs:
|
|||||||
CLUSTERS: cl01tl
|
CLUSTERS: cl01tl
|
||||||
run: |
|
run: |
|
||||||
for cluster in $CLUSTERS; do
|
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")
|
chart_name=$(basename "$chart_path")
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "Rendering chart: $chart_name"
|
echo "Rendering chart: $chart_name"
|
||||||
|
|
||||||
if [ -f "$chart_path/Chart.yaml" ]; then
|
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"
|
helm template "$chart_name" "$chart" --namespace "$chart_name" > "$OUTPUT_FILE"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user