Skip to content

Commit

Permalink
Fix manifest template generator
Browse files Browse the repository at this point in the history
  • Loading branch information
rmohr committed Jan 5, 2017
1 parent ac44290 commit 04965f3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hack/build-manifests.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/bash
set -e

source hack/config.sh
# Temporary hack to export everything into env
eval `cat hack/config.sh | sed -e 's/^/export /'`

if [ $# -eq 0 ]; then
args=$manifest_templates
Expand All @@ -11,5 +12,5 @@ fi

# Render kubernetes manifests
for arg in $args; do
j2 --format=env $arg hack/config.sh > ${arg%%.in}
env | j2 --format=env $arg > ${arg%%.in}
done

0 comments on commit 04965f3

Please sign in to comment.