2021-03-17 16:20:26 +00:00
|
|
|
#!/bin/sh
|
|
|
|
for chart in stable/*; do
|
|
|
|
if [ -d "${chart}" ]; then
|
|
|
|
maxfolderversion=$(ls -l ${chart} | grep ^d | awk '{print $9}' | tail -n 1)
|
|
|
|
chartname=$(basename ${chart})
|
|
|
|
echo "Processing: ${chart} - folder: ${maxfolderversion} - version: ${maxchartversion}"
|
|
|
|
|
|
|
|
mv -f ${chart}/${maxfolderversion}/values.yaml ${chart}/${maxfolderversion}/ix_values.yaml
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
|
|
|
|
|
2021-03-31 20:50:04 +00:00
|
|
|
for chart in incubator/*; do
|
2021-03-05 21:31:02 +00:00
|
|
|
if [ -d "${chart}" ]; then
|
|
|
|
maxfolderversion=$(ls -l ${chart} | grep ^d | awk '{print $9}' | tail -n 1)
|
|
|
|
chartname=$(basename ${chart})
|
|
|
|
echo "Processing: ${chart} - folder: ${maxfolderversion} - version: ${maxchartversion}"
|
2021-03-06 20:32:31 +00:00
|
|
|
|
|
|
|
mv -f ${chart}/${maxfolderversion}/values.yaml ${chart}/${maxfolderversion}/ix_values.yaml
|
2021-03-05 21:31:02 +00:00
|
|
|
fi
|
|
|
|
done
|