UNCLASSIFIED

You need to sign in or sign up before continuing.
Commit e1e25a14 authored by Scott Stroud's avatar Scott Stroud
Browse files

jsonnet fun

parent be551d15
Pipeline #429898 failed with stages
in 3 minutes and 17 seconds
......@@ -10,7 +10,7 @@ fi
pod_name=${POD_NAME}
id=${pod_name##*-};
component_name=${POD_NAME%-*}
./buil
if [ -e "/mnt/config/pod/${component_name}/template.jsonnet" ]; then
cat < /mnt/config/pod/"${component_name}"/template.jsonnet | base64 -d > /opt/template.jsonnet
/usr/local/bin/jsonnet /opt/template.jsonnet --ext-str id="${id}" -o /opt/"${component_name}".json
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment