Compare commits
2 Commits
d583ef8100
...
0f0dd7a91c
| Author | SHA1 | Date | |
|---|---|---|---|
|
0f0dd7a91c
|
|||
| 274ab32e2a |
@@ -38,17 +38,24 @@ jobs:
|
|||||||
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 ">> 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"
|
||||||
|
|
||||||
|
echo ">> Building helm dependency ..."
|
||||||
|
helm dependency build
|
||||||
|
|
||||||
|
echo ">> Linting helm ..."
|
||||||
|
helm lint "$chart_path" --namespace "$chart_name" --with-subcharts
|
||||||
|
|
||||||
helm template "$chart_name" "$chart_path" --namespace "$chart_name" > "$OUTPUT_FILE"
|
helm template "$chart_name" "$chart_path" --namespace "$chart_name" > "$OUTPUT_FILE"
|
||||||
|
|
||||||
echo "Manifests for $chart_name rendered to $OUTPUT_FILE"
|
echo ">> Manifests for $chart_name rendered to $OUTPUT_FILE"
|
||||||
|
echo ""
|
||||||
else
|
else
|
||||||
echo "Directory $chart_path does not contain a Chart.yaml. Skipping ..."
|
echo ">> Directory $chart_path does not contain a Chart.yaml. Skipping ..."
|
||||||
|
echo ""
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ shelly-plug:
|
|||||||
main:
|
main:
|
||||||
image:
|
image:
|
||||||
repository: php
|
repository: php
|
||||||
tag: 8.4.15-apache-bookworm
|
tag: 8.5.0-apache-bookworm
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
env:
|
env:
|
||||||
- name: SHELLY_HOSTNAME
|
- name: SHELLY_HOSTNAME
|
||||||
|
|||||||
Reference in New Issue
Block a user