Skip to content

Commit

Permalink
Merge pull request #45 from integr8ly/INTLY-2148
Browse files Browse the repository at this point in the history
replace hardcoded namespace
  • Loading branch information
pb82 committed May 21, 2019
2 parents 2950d35 + c9623f8 commit 0bf25b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image/tools/lib/component/resources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function backup_resource {
echo '---' > /tmp/${type}.yaml
for obj in $(oc get ${type} -n ${ns} | tr -s ' ' | cut -d ' ' -f 1 | tail -n +2); do
echo '-' >> /tmp/${type}.yaml
echo "$(oc get ${type}/${obj} -n enmasse -o yaml --export | sed 's/^/ /')" >> /tmp/${type}.yaml
echo "$(oc get ${type}/${obj} -n ${ns} -o yaml --export | sed 's/^/ /')" >> /tmp/${type}.yaml
cat /tmp/${type}.yaml | gzip > ${dest}/archives/${ns}-${type}.yaml.gz
rm -f /tmp/${type}.yaml
done
Expand Down

0 comments on commit 0bf25b9

Please sign in to comment.