Skip to content

Commit

Permalink
x2
Browse files Browse the repository at this point in the history
  • Loading branch information
erickgnavar committed Dec 12, 2023
1 parent 42264e6 commit 74db6ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if [ "$EXTERNAL_SECRET" ]; then

echo "Checking if $EXTERNAL_SECRET exists..."

if [ $(kubectl -n "$NAMESPACE" get es "$EXTERNAL_SECRET") -neq 0 ]; then
if [ $(kubectl -n "$NAMESPACE" get es "$EXTERNAL_SECRET" || exit 1) -neq 0 ]; then
echo "$EXTERNAL_SECRET doesn't exist"
exit 1
fi
Expand Down

0 comments on commit 74db6ec

Please sign in to comment.