Revert back to render xxxx-conf bundles (as they can contain consul or
vault policies)
This commit is contained in:
parent
186b50aecc
commit
4a214e5a5a
5
ctctl
5
ctctl
|
@ -539,11 +539,6 @@ ctctl_render_templates(){
|
||||||
local BRANCH=$(echo ${BUNDLE} | jq -r .branch)
|
local BRANCH=$(echo ${BUNDLE} | jq -r .branch)
|
||||||
local NAME=$(basename ${URL} .git)
|
local NAME=$(basename ${URL} .git)
|
||||||
|
|
||||||
# Nothing to render for bundles ending with -conf as they only provides configuration
|
|
||||||
if echo ${NAME} | grep -qE '\-conf$'; then
|
|
||||||
continue
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "${BRANCH}" = "null" ]; then
|
if [ "${BRANCH}" = "null" ]; then
|
||||||
BRANCH=master
|
BRANCH=master
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user