#!/bin/bash
#go to git root
cd `git rev-parse --show-toplevel`
ENCODED=$(cat | base64 -w0)
sed -e "s#{{secret_data}}#${ENCODED}#g" ./cluster/setup/secret-template.yaml

#!/bin/bash
#go to git root
cd `git rev-parse --show-toplevel`
ENCODED=$(cat | sed -e '/^export/!s/^/export /g' | base64 -w0)
sed -e "s#{{secret_data}}#${ENCODED}#g" ./cluster/setup/secret-template.yaml

Add export before .env lines
Add export before .env lines
