fixed up longhorn;

This commit is contained in:
ari committed 2023-03-14 22:23:51 +00:00
1 parent 1e7d3434b1
commit eb5a403a8d
10 files changed
+58 -49

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
#!/bin/bash
set -e
full_path=${1}
deployment=${2:-dev}
app=$(basename $full_path)
location=$(dirname $full_path)
tmp_path=$(realpath ".tmp/$location/$deployment-$app.yaml")
echo "writing $location/$app to $tmp_path"
mkdir -p $(dirname $tmp_path)
pushd $full_path
helm dependency update
helm template $app . --namespace $app \
--debug \
--values values.yaml \
--values values-$deployment.yaml \
> $tmp_path
Regular → Executable
View File
File mode changed.