fixed up longhorn;
This commit is contained in:
1 parent
1e7d3434b1
commit
eb5a403a8d
10 files changed
+58
-49
No files matched your search
Executable
+19
@@ -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
File mode changed.
Reference in new issue
Block a user