Don't describe the what here
This commit is contained in:
parent
bd7688f9e7
commit
ace854e1d7
2
abra
2
abra
|
@ -1632,7 +1632,7 @@ sub_app_secret_insert() {
|
|||
printf "$PW" | docker secret create "${STACK_NAME}_${SECRET}_${VERSION}" - > /dev/null
|
||||
|
||||
# shellcheck disable=SC2181
|
||||
if [[ $? != 0 ]]; then exit 1; fi # exit if secret wasn't created
|
||||
if [[ $? != 0 ]]; then exit 1; fi
|
||||
|
||||
if [ "$STORE_WITH_PASS" == "true" ] && type pass > /dev/null 2>&1; then
|
||||
echo "$PW" | pass insert "hosts/$DOCKER_CONTEXT/${STACK_NAME}/${SECRET}" -m > /dev/null
|
||||
|
|
Loading…
Reference in New Issue